Hi Paul, To get rid of the recursive_mutex problem remove the "threads" use flag from ogre and reemerge ( apparently I hit this a long time ago and forgot a about, but its in my notes ). You have to do an emerge -aC ogre before emerging again, during my reemerge it sometimes tries to link to the previous ogre install. Since this ebuild uses DeViL and not Freeimage, some of my textures do not load correctly. I typically use an overlay of ogre 1.7 with freeimage for gazebo stuff.
I did have a missing include path for FLTK. Commenting out line 27 in cmake/SearchForStuff.cmake ( set( FLTK_INCLUDE_DIR ... ) fixed that since FindFLTK.cmake does not set the include directory it is already set - even to a null value. But you are right the rest of the FLTK_CXXFLAGS are not used. Good luck, -Scott 2010/4/27 Paul Osmialowski <[email protected]>: > > > On Tue, 27 Apr 2010, Scott Biddlestone wrote: > >> What version of CMake are you using? > > [ebuild R ] dev-util/cmake-2.6.4-r3 USE="emacs qt4 -vim-syntax" 0 kB > >> >> Gazebo uses the FindFLTK.cmake module provided by cmake. >> >> Gentoo had some issues with this: >> http://public.kitware.com/mantis/bug_view_page.php?bug_id=7809&history=1 >> > > As I can see, it should be fixed since cmake 2.6.3! > >> >> On my Gentoo box I have cmake-2.6.4-r3 and fltk-1.1.9-r1 ( and 2.0 >> slotted ) and gazebo configures and compiles without manually setting >> the CXXFLAGS. > > I have the same: > [ebuild R ] x11-libs/fltk-2.0_pre6786-r1 USE="cairo jpeg opengl png > xft xinerama zlib -debug -doc" 0 kB > [ebuild R ] x11-libs/fltk-1.1.9-r1 USE="games opengl threads xft > xinerama -doc -examples" 0 kB > >> I do remember having problems with fltk awhile back, so you may just >> need to sync and update cmake. > > I'm syncing my Gentoo every week. > >> >> Hope that helps, >> Scott >> > If you're Gentoo user too, maybe you can give me a clue why can't I use > Gazebo on my Gentoo box? It fails at the start due to assertions caused by > boost functions: > gazebo: /usr/include/boost/thread/pthread/recursive_mutex.hpp:72: void > boost::recursive_mutex::unlock(): Assertion `!pthread_mutex_unlock(&m)' > failed. > > I have three slotted versions of boost installed: > [ebuild R ] dev-libs/boost-1.35.0-r5 USE="eselect expat icu python > tools -doc -mpi -test" 0 kB > [ebuild R ] dev-libs/boost-1.39.0 USE="eselect expat icu python tools > -debug -doc -mpi -test" 0 kB > [ebuild R ] dev-libs/boost-1.41.0-r3 USE="eselect expat icu python > tools -debug -doc -mpi -test" 0 kB > > Although ccmake picks 1.35.0 by default, I tried to manually change it to > other versions too, result was always the same... > > The strangest thing is I can use Gazebo on quite old Fedora 8 (with cmake, > ogre3d, freeimage and bullet built from sources), so why can't I do that on > a frequently updated system (with revdep-rebuild started after each update)? > > Paul > >> >> 2010/4/27 Paul Osmialowski <[email protected]>: >>> >>> I have the same and I know the workaround. >>> >>> Before running cmake (ccmake) set CXXFLAGS to: >>> export CXXFLAGS=`fltk-config --cflags` >>> >>> on my system fltk-config --cflags returns: >>> -I/usr/include/fltk-1.1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE >>> -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT >>> >>> This should be done by cmake scripts for Gazebo, unfortunately it is not. >>> >>> Paul >>> >>> On Mon, 19 Apr 2010, domvito55 wrote: >>> >>>> >>>> Someone knows how to solve this: >>>> >>>> ################################################### >>>> >>>> [ 88%] Building CXX object >>>> server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o >>>> In file included from /usr/local/include/FL/fl_utf8.h:75, >>>> from /usr/local/include/FL/Fl.H:39, >>>> from >>>> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.hh:35, >>>> from >>>> /home/ckoike/gazebo-0.10.0/server/gui/GLWindow.cc:54: >>>> /usr/local/include/FL/Xutf8.h:148: error: ˙˙Status˙˙ has not been >>>> declared >>>> make[2]: ** [server/gui/CMakeFiles/gazebo_gui.dir/GLWindow.o] Erro 1 >>>> make[1]: ** [server/gui/CMakeFiles/gazebo_gui.dir/all] Erro 2 >>>> make: ** [all] Erro 2 >>>> >>>> ################################################### >>>> >>>> Help-me please, I need this with urgency! >>>> Thanks >>>> -- >>>> View this message in context: >>>> >>>> http://old.nabble.com/Problem-installing-gazebo-%28make%29-tp28287759p28287759.html >>>> Sent from the playerstage-gazebo mailing list archive at Nabble.com. >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Playerstage-gazebo mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Playerstage-gazebo mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo >>> >>> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Playerstage-gazebo mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > > ------------------------------------------------------------------------------ > > _______________________________________________ > Playerstage-gazebo mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > > ------------------------------------------------------------------------------ _______________________________________________ Playerstage-gazebo mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
