Hi Paul, Paul Martz schrieb: > Hi folks -- I'm struggling with building OSG on a new Mac OS X 10.5 system. > I'm using a command-line build, not XCode, so using ccmake and make to > build, > > My current roadblock is the FreeType library, with the following error: > > ld: cycle in dylib re-exports with /usr/X11/lib/libGL.dylib > collect2: ld returned 1 exit status > > After reading about this on the wiki, I went into ccmake and changed any > paths that used "X11R6" to use "X11" instead. (I've already changed > CMAKE_OSX_SYSROOT to the 10.5 SDK.) However, the same error persists. > > How are others building the FreeType plugin on 10.5? Is anyone using > -dylib_file, and if so, with what params, and how are you configuring it in > ccmake?
I discovered this issue short before 2.4 was released and I was unable to fix the problem. In theory the issue is fixed by adding -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib" to the linker flags. I tried some cmake-options to add these params to the linker flags with no result. But my cmake-knowledge is rather limited. cheers, Stephan _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org