Hi,
I successfully installed Simbody 3.6 and OpenSim 4.0 on Centos Linux and all tests passed for both. I installed Simbody in /usr/local/ and OpenSim in /opt/opensim-core/ (with Simbody copied to /opensim-core directory). When I tried to build an example problem, it always fails with an error of form: "fatal error: SimTKcommon/internal/Xml.h". I see the header files for simbody are all there in /opt/opensim-core/include/simbody. Do I need to add something specific to the CMakeLists.txt file to ensure that these headers are 'seen' by the compiler?
Thanks.
Musa
Linking Error in Centos:
Re: Linking Error in Centos:
I found the solution. The sample Simbody CMake file says to add "include_directories(${Simbody_INCLUDE_DIR})"; and says this is "...only necessary if Simbody was built using CMake older than 3.0.2". I am using CMake version 3.12.1 and I only got the thing to work by adding that line! Thanks.
Musa
Musa