Thanks, that hit's the nail right on the head. For Mac OSX builds
(Leopard) then, the following needs to be added to the command line:
-dylib_file \
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
libGL.dylib:\
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
libGL.dylib
Robert... shouldn't this go in the make system then?
Richard
On Dec 21, 2007, at 12:25 PM, Jean-Sébastien Guay wrote:
Hello Richard,
ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib
collect2: ld returned 1 exit status
make[2]: *** [lib/osgPlugins-2.3.0/osgdb_freetype.so] Error 1
make[1]: *** [src/osgPlugins/freetype/CMakeFiles/
osgdb_freetype.dir/
all]
Error 2
make: *** [all] Error 2
What could be causing this? I'm sorry if this is obvious to everyone
else... I'm still cutting my teeth on 'nix style building.
I remember reading about this on the MacOS X Platform Specifics pages
on the OSG wiki. I don't have a Mac myself, mind you :-) The page in
question is:
http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/MacOSX10.5
See the section "X11 Link problems:" (or search for "cycle" on the
page).
Hope this helps,
J-S
--
______________________________________________________
Jean-Sebastien Guay [EMAIL PROTECTED]
http://whitestar02.webhop.org/
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org