Closed weiHelloWorld closed 6 years ago
I'm reopening this, since we need to fix this correctly once OpenMM 7.2 is released (hopefully next week). The correct fix is to add the line
SET (CMAKE_CXX_STANDARD 11)
to CMakeLists.txt.
This is now fixed.
Hi Peter,
I am trying to install openmm-plumed with OpenMM 7.2, but I got following errror:
This error does not appear in OpenMM 7.0 as I just tested it, do you have any clue what the problem is?
I just check CMakeCache.txt, seems that it is using
CUDA_HOST_COMPILER:FILEPATH=/usr/bin/gcc-4.8
as compiler, would that be an issue here?Updated: yes, for gcc version older than 6.0, I need to explicitly turn on
-std=c++11
switch in CMake, that solved the problem.Thanks!