From: Rich M. <jp...@gm...> - 2010-06-18 18:31:48
|
It looks like you're trying to link gazebo to a static library. If you're building fltk from source, you probably need to add -enable-shared to the configure options. Alternately, you can install a pre-compiled version of Gazebo from here: https://launchpad.net/~thjc/+archive/ppa?field.series_filter=lucid Rich From: Jenny Treanor [mailto:jen...@gm...] Sent: Friday, June 18, 2010 1:19 PM To: pla...@li... Subject: [Playerstage-users] Compilation of Gazebo on 32-bit Ubuntu 10.04 Hi all, I am trying to install Gazebo 0.10.0 on Ubuntu 10.04. I have installed fltk 1.1.10, bullet 2.76 (with double precision), libxml2 2.7.2, ode 0.11.1 (also tried 0.8 as suggested in another thread) without double precision (as also suggested elsewhere), OGRE 1.7.1 and OIS 1.2.0. I do have libz-dev installed and it is in the correct location (another suggestion). I have Player 3.0.1 and Stage 3.2.2 installed and working (as far as I have tested). I am running into trouble installing Gazebo, if I do not include Bullet (using ccmake) I get the following error from make: Linking CXX shared library libgazebo_gui.so /usr/bin/ld: /usr/local/lib/libfltk_gl.a(Fl_Gl_Window.o): relocation R_X86_64_32S against `vtable for Fl_Gl_Window' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libfltk_gl.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [server/gui/libgazebo_gui.so.0.10.0] Error 1 make[1]: *** [server/gui/CMakeFiles/gazebo_gui.dir/all] Error 2 make: *** [all] Error 2 I had thought that I had reinstalled fltk with -fPIC but perhaps that is not the issue. If anyone can help at all I would greatly appreciate it, or if I need to post further information I would be more than happy to. Thanks in advance |