[ playerstage-Patches-3399691 ] Problems with installing gazebo together with player

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ playerstage-Patches-3399691 ] Problems with installing gazebo together with player

SourceForge.net
Patches item #3399691, was opened at 2011-08-28 12:24
Message generated for change (Tracker Item Submitted) made by newchief
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=433166&aid=3399691&group_id=42445

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Gazebo
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Paul Osmialowski (newchief)
Assigned to: Nathan Koenig (natepak)
Summary: Problems with installing gazebo together with player

Initial Comment:
I've found it really hard to install latest SVN snapshot of Gazebo with Player. First of all, I had to work out attached patch - this makes whole thing able to compile. Second is problem with TBB - I had it installed on both Gentoo Linux and MacOSX and cmake scripts for gazebo couldn't fint it! It turned out that on Debian (which I personally don't use) TBB is provided in much older version than on Gentoo and MacOSX - older version offered pkgconfig specfile (tbb.pc) on which gazebo cmake scripts relies. Copying this file to /usr/lib/pkgconfig was sufficient for a workaround. Another source of problems is the ogre library: on Gentoo it is too old even if ACCEPT_KEYWORDS variable is set (1.6.5 while Gazebo requires 1.7.1 or later - this is not checked by cmake scripts, you can learn it from compiler error messages!). I had to install ogre 1.7.3 from sources. On MacOSX from the other hand there is a port in macports for ogre 1.7.3 that cannot be build unless one change in portfile is done (see https://trac.macports.org/ticket/30688 ). Finally, installation on MacOSX turned out to be impossible due to link time issues - seems like linking should be done different way on MacOSX than on Linux - I'm fresh MacOSX user so I've got not enough experience with that to make it work.
assimp library required by gazebo is not present in Gentoo portage tree, it must be installed from sources.
This leads to another problem: I have installed Player (and Stage), assimp and ogre 1.7.3 from sources in users home directory. Setting PATH, LD_LIBRARY_PATH and PKG_CONFIG_PATH seem not to be enough - cmake scripts for gazebo seem not to be prepared for this (I must say, I had no problem with that while compiling Stage!). Some hints are:
- although assimp library provides assimp.pc file, cmake scripts look for headers in /usr/include only, a symlink /usr/include/assimp => <your_install_path>/include/assimp is a workaround for this
- although player provides *.pc files, linker can't find player libs, following environment variables need to be set for cmake: LIBS=-L<your_install_path>/lib LDFLAGS=-L<your_install_path>/lib
- FLTK comat headers are required during compilation, they can't be found in standard installation directory (compile time error, cmake didn't find this issue), following environment variables need to be set for cmake: CFLAGS=-I/usr/include/fltk/compat CXXFLAGS=-I/usr/include/fltk/compat


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=433166&aid=3399691&group_id=42445

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Playerstage-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-developers