I am attempting to build a software called gazebo and am running into errors when make attempts to perform linking. I've posted a message on the gazebo mailing list but did not get a response, so perhaps I can explain the situation here.<br>
<br>CMake is used by gazebo as the build system. There are several prerequisites, one of the being ode which is not installed locally (but in /usr/local/include/ode/). All the linking issues have to do with references to ode not being found. The other two prereqs are boost which is installed as root, and ogre which is installed locally in my home folder. <br>
<br>When CMake is run it is not clear whether or not ode is found. I get the following two conflicting messages:<br><br>-- checking for module 'ode>=0.10.1'<br>-- package 'ode>=0.10.1' not found<br>
-- ode-config reports version 0.11.1<br><br>It first says that it was not able to find the required ode, but then implies that it has been found. Ultimately cmake completes without errors and generates the makefile. There are however two warnings, and I am not sure that this is related to the problems that I am experiencing:<br>
<br>CMake Warning at server/CMakeLists.txt:102 (ADD_EXECUTABLE):<br> Cannot generate a safe linker search path for target gazebo-exec because<br> files in some directories may conflict with libraries in implicit<br> directories:<br>
<br> link library [libGL.so] in /usr/lib may be hidden by files in:<br> /usr/X11R6/lib<br><br> Some of these libraries may not be found correctly.<br><br>When I run make on the makefile that cmake has generated, make will get to 98% at which point it performs "Linking CXX executable gazebo" and gives me many error messages such as:<br>
<br>libgazebo_server.so.0.9.0: undefined reference to `dBodySetMass'<br><br>all of which refer to ode functions.<br><br>Any help would be appreciated!<br>