• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ld: cycle in dylib re-exports with /Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libGL.dylib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ld: cycle in dylib re-exports with /Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libGL.dylib


  • Subject: ld: cycle in dylib re-exports with /Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libGL.dylib
  • From: Eric Sokolowsky <email@hidden>
  • Date: Mon, 30 Jun 2008 14:37:09 -0400

I am trying to create an application that uses glx and x11 on Leopard with the latest XQuartz 2.2.3 installed. It appears that the framework version of the OpenGL library (inside /System/Library/Frameworks/OpenGL.framework) does not have any of the glx stuff (nor would I expect it to), but rather that stuff is in the /usr/X11/lib/libGL.dylib version. However, I'm continually getting the error in the subject line when trying to use the /usr/X11 version instead of the Framework version. I have seen many references (such as http://developer.apple.com/qa/qa2007/qa1567.html) that indicate that the -dylib_file option should be used, but it doesn't seem to work for me. Here are some command lines and results. I am using Xcode to build the project. Any ideas?


------------ Example ------------
Ld /Users/esok/dist/OpenSceneGraph-svn/build.cmake-xcode-x13/lib/OpenSceneGraph.build/Debug/libosgViewer.dylib.build/Objects-normal/ppc/libosgViewerd.dylib normal ppc
cd /Users/esok/dist/OpenSceneGraph-svn/build.cmake-xcode-x11
/Developer/usr/bin/g++-4.0 -o /Users/esok/dist/OpenSceneGraph-svn/build.cmake-xcode-x11/lib/OpenSceneGraph.build/Debug/libosgViewer.dylib.build/Objects-normal/ppc/libosgViewerd.dylib -L/Users/esok/dist/OpenSceneGraph-svn/build.cmake-xcode-x11/lib/Debug -F/Users/esok/dist/OpenSceneGraph-svn/build.cmake-xcode-x11/lib/Debug -filelist /Users/esok/dist/OpenSceneGraph-svn/build.cmake-xcode-x11/lib/OpenSceneGraph.build/Debug/libosgViewer.dylib.build/Objects-normal/ppc/osgViewerd.LinkFileList -arch ppc -Wl,-single_module -compatibility_version 1 -current_version 1 -install_name /Users/esok/dist/OpenSceneGraph-svn/build.cmake-xcode-x11/lib/Debug/libosgViewerd.dylib -dynamiclib -mmacosx-version-min=10.5 -dynamiclib -headerpad_max_install_names /Users/esok/dist/OpenSceneGraph-svn/build.cmake-xcode-x11/lib/Debug/libosgGAd.dylib /Users/esok/dist/OpenSceneGraph-svn/build.cmake-xcode-x11/lib/Debug/libosgTextd.dylib /Users/esok/dist/OpenSceneGraph-svn/build.cmake-xcode-x11/lib/Debug/libosgDBd.dylib /Users/esok/dist/OpenSceneGraph-svn/build.cmake-xcode-x11/lib/Debug/libosgUtild.dylib /Users/esok/dist/OpenSceneGraph-svn/build.cmake-xcode-x11/lib/Debug/libosgd.dylib /Users/esok/dist/OpenSceneGraph-svn/build.cmake-xcode-x11/lib/Debug/libOpenThreadsd.dylib -framework Carbon /usr/lib/libm.dylib -framework AGL -L/usr/X11/lib -lGL -lpthread -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/usr/X11/lib/libGL.dylib -isysroot /Developer/SDKs/MacOSX10.5.sdk
ld: cycle in dylib re-exports with /Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libGL.dylib
collect2: ld returned 1 exit status
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)

This email sent to email@hidden
  • Follow-Ups:
    • Re: ld: cycle in dylib re-exports with /Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libGL.dylib
      • From: Jonas Maebe <email@hidden>
  • Prev by Date: The yellow cursor problem on tiger
  • Next by Date: Re: ld: cycle in dylib re-exports with /Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libGL.dylib
  • Previous by thread: Re: Missing 3D Thread
  • Next by thread: Re: ld: cycle in dylib re-exports with /Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libGL.dylib
  • Index(es):
    • Date
    • Thread