[ playerstage-Bugs-3067710 ] Stage3-git: missing GLU libraries on linking

"SourceForge.net" <[email protected]>
Newsgroups gmane.science.robotics.playerstage
Message-ID <[email protected]>
Bugs item #3067710, was opened at 2010-09-16 18:55
Message generated for change (Tracker Item Submitted) made by f0k
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=433164&aid=3067710&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: stage
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jan Schlüter (f0k)
Assigned to: Richard Vaughan (rtv)
Summary: Stage3-git: missing GLU libraries on linking

Initial Comment:
In my setup (Ubuntu 10.04) the linker commands in the make files generated by cmake for the git version of Stage do not include -lglu, causing errors when linking libstage.so (of the kind: "undefined reference to 'gluSphere'").
To fix, I had to uncomment the line "# ${OPENGL_LIBRARIES} # is it safe to remove permanently?" in libstage/CMakeLists.txt.

The problem seems to be that most versions of fltk-config automatically include -lglu, but the ones of Debian/Ubuntu do not - the same problem was described here for Ubuntu 7.10 three years ago: http://www.geuz.org/pipermail/gmsh/2007/002835.html

My setup:
$ dpkg -l | fltk
ii  libfltk1.1    1.1.10-2    Fast Light Toolkit - shared libraries
ii  libfltk1.1-dev    1.1.10-2    Fast Light Toolkit - development files
$ fltk-config --version
1.1.10
$ fltk-config --use-gl --use-graphics --ldflags
-Wl,-Bsymbolic-functions -lfltk_images -lfltk_gl -lfltk

Please tell me if you need any further information about my system configuration.

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

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

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Playerstage-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.