Closed aghanbar closed 6 years ago
I think I know what's happening. GCC 5.1 introduced a new ABI that broke compatibility with any function that uses a std::string
or std::list
. The OpenMM libraries are compiled with the old ABI, so you need to tell GCC to use that as well. You can do that by telling CMake to include an extra command line argument. I think the argument you want is -D_GLIBCXX_USE_CXX11_ABI=0
, though I haven't actually tested it. Add that to CMAKE_CXX_FLAGS
. For details on this issue, see https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html.
Thanks! I confirm the solution works.
Hi, When I try to build the plugin, I get these:
This is the screen shot of the configure settings:
Any idea what I'm doing wrong?