-
Notifications
You must be signed in to change notification settings - Fork 10
Description
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