Hi, I tried running it in verbose mode. I'm not fully understanding what is written below but because there is nothing after -lode it makes me suspect that it does not know where ode is. Also, because there is nothing after -lboost_thread and -lboost_signals, and there is a referencing error to both of these, I suspect that it also does not know where these reside. Any suggestions?<br>
<br><br>Linking CXX executable gazebo<br>cd /home/timchan/gazebo-0.9.0/build/server && /usr/bin/cmake -E cmake_link_scrip<br>t CMakeFiles/gazebo-exec.dir/link.txt --verbose=1<br>/usr/bin/c++ -O3 -DNDEBUG -fPIC CMakeFiles/gazebo-exec.dir/main.o -o gazebo<br>
-rdynamic -L/home/timchan/gazebo-0.9.0/build/libgazebo -L/home/timchan/gazebo-0.<br>9.0/build/server/gui -L/home10/timchan/ogreroot/lib -L/usr/X11R6/lib -lltdl -L/u<br>sr/local/lib -lode -lOgreMain -L/home10/timchan/ogreroot/lib -lOgreMain -lxml2 -<br>
lpthread -lz -lm -lXft -lX11 -lfreetype -lXrender -lfontconfig -lopenal -lavform<br>at -lavcodec -lboost_thread -lboost_signals -lfreeimage libgazebo_server.so.0.9.<br>0 audio_video/libgazebo_av.so.0.9.0 gui/libgazebo_gui.so.0.9.0 -lgazebo -lltdl -<br>
lgazebo -lopenal -lfltk_images -lfltk_forms -lfltk_gl -lGL -lfltk /usr/X11R6/lib<br>/libSM.so /usr/X11R6/lib/libICE.so /usr/X11R6/lib/libX11.so /usr/X11R6/lib/libXe<br>xt.so -lm<br>libgazebo_server.so.0.9.0: undefined reference to `dBodySetMass'<br>
libgazebo_server.so.0.9.0: undefined reference to `dJointGetHinge2Param'<br>libgazebo_server.so.0.9.0: undefined reference to `dWorldQuickStep'<br>libgazebo_server.so.0.9.0: undefined reference to `dCreateSphere'<br>
libgazebo_server.so.0.9.0: undefined reference to `dBodyEnable'<br>libgazebo_server.so.0.9.0: undefined reference to `dBodyCreate'<br>libgazebo_server.so.0.9.0: undefined reference to `dJointSetHinge2Axis1'<br>
libgazebo_server.so.0.9.0: undefined reference to `boost::signals::detail::signa<br>l_base_impl::connect_slot(boost::any const&, boost::signals::detail::stored_grou<br>p const&, boost::shared_ptr<boost::signals::detail::slot_base::data_t>, boost::s<br>
ignals::connect_position)'<br><br><div class="gmail_quote">On Wed, Oct 7, 2009 at 7:48 AM, Hendrik Sattler <span dir="ltr"><<a href="mailto:post@hendrik-sattler.de">post@hendrik-sattler.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Zitat von Timothy Chan <<a href="mailto:timothychanmailinglists@gmail.com" target="_blank">timothychanmailinglists@gmail.com</a>>:<div class="im">
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-- 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<br>
implies that it has been found.<br>
</blockquote>
<br></div>
The first two line probably search for a pkg-config file and since that is not found, the program "ode-config" is found and used.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ultimately cmake completes without errors<br>
and generates the makefile. There are however two warnings, and I am not<br>
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>
</blockquote>
<br></div>
You can ignore this (one is a link to the other) and you can disable this with the cmake option -Wno-dev<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
When I run make on the makefile that cmake has generated, make will get to<br>
98% at which point it performs "Linking CXX executable gazebo" and gives me<br>
many error messages such as:<br>
<br>
libgazebo_server.so.0.9.0: undefined reference to `dBodySetMass'<br>
</blockquote>
<br></div>
Maybe ode-0.11.1 is not fully backward-compatible to ode-0.10?<br>
You can make the full link line visible with "make VERBOSE=1".<br><font color="#888888">
<br>
HS<br>
<br>
<br>
</font></blockquote></div><br>