-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiling the CHAP #29
Comments
Got the same error |
Which version of Gromacs are you using? |
Same error here ! |
Got the same error. Gromacs 2021.2. Ubuntu 20.04. Any suggestions? |
Compile against Gromacs 2018. Due to some API breaks in libgromacs 2018, CHAP is not yet compatible with the newer versions of Gromacs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cmak .. run ok however when i run make i got the following error. i will appreciate any help.
[ 6%] Built target googletest
[ 7%] Building CXX object CMakeFiles/chap.dir/src/aggregation/number_density_calculator.cpp.o
In file included from /usr/local/gromacs/include/gromacs/math/vec.h:111:0,
from /home/afa32/local/chap-version_0_9_1/include/geometry/spline_curve_1D.hpp:33,
from /home/afa32/local/chap-version_0_9_1/include/aggregation/number_density_calculator.hpp:32,
from /home/afa32/local/chap-version_0_9_1/src/aggregation/number_density_calculator.cpp:29:
/usr/local/gromacs/include/gromacs/math/vectypes.h:96:41: error: ‘remove_cv_t’ is not a member of ‘std’
static_assert(!std::is_pointer<std::remove_cv_t>::value,
^~~~~~~~~~~
/usr/local/gromacs/include/gromacs/math/vectypes.h:96:41: note: suggested alternative: ‘remove_cv’
static_assert(!std::is_pointer<std::remove_cv_t>::value,
^~~~~~~~~~~
remove_cv
/usr/local/gromacs/include/gromacs/math/vectypes.h:96:41: error: ‘remove_cv_t’ is not a member of ‘std’
/usr/local/gromacs/include/gromacs/math/vectypes.h:96:41: note: suggested alternative: ‘remove_cv’
static_assert(!std::is_pointer<std::remove_cv_t>::value,
^~~~~~~~~~~
remove_cv
/usr/local/gromacs/include/gromacs/math/vectypes.h:96:53: error: template argument 1 is invalid
static_assert(!std::is_pointer<std::remove_cv_t>::value,
^~~~~~~~~
/usr/local/gromacs/include/gromacs/math/vectypes.h:96:66: error: ‘::value’ has not been declared
static_assert(!std::is_pointer<std::remove_cv_t>::value,
^~~~~
/usr/local/gromacs/include/gromacs/math/vectypes.h:96:66: note: suggested alternative: ‘valloc’
static_assert(!std::is_pointer<std::remove_cv_t>::value,
^~~~~
valloc
In file included from /home/afa32/local/chap-version_0_9_1/include/geometry/spline_curve_1D.hpp:33:0,
from /home/afa32/local/chap-version_0_9_1/include/aggregation/number_density_calculator.hpp:32,
from /home/afa32/local/chap-version_0_9_1/src/aggregation/number_density_calculator.cpp:29:
/usr/local/gromacs/include/gromacs/math/vec.h:630:6: error: ‘remove_const_t’ in namespace ‘std’ does not name a template type
std::remove_const_t norm(T* v)
^~~~~~~~~~~~~~
/usr/local/gromacs/include/gromacs/math/vec.h:635:6: error: ‘remove_const_t’ in namespace ‘std’ does not name a template type
std::remove_const_t norm2(T* v)
^~~~~~~~~~~~~~
CMakeFiles/chap.dir/build.make:107: recipe for target 'CMakeFiles/chap.dir/src/aggregation/number_density_calculator.cpp.o' failed
make[2]: *** [CMakeFiles/chap.dir/src/aggregation/number_density_calculator.cpp.o] Error 1
CMakeFiles/Makefile2:388: recipe for target 'CMakeFiles/chap.dir/all' failed
make[1]: *** [CMakeFiles/chap.dir/all] Error 2
Makefile:159: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: