• 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
Re: This is driving me crazy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: This is driving me crazy


  • Subject: Re: This is driving me crazy
  • From: Nicolas Holzschuch <email@hidden>
  • Date: Wed, 19 Feb 2003 14:34:17 +0100
  • Resent-date: Wed, 19 Feb 2003 14:35:51 +0100
  • Resent-from: Nicolas Holzschuch <email@hidden>
  • Resent-message-id: <email@hidden>
  • Resent-to: email@hidden

Hi, and thanks for the help,
Le mercredi, 19 fiv 2003, ` 11:45 Europe/Paris, Martin Costabel a icrit :
Nicolas Holzschuch wrote:
So here is the setup :
- I installed Apple X11, version 0.2 I think.
- I am trying to compile the Open Inventor library. Compiling goes OK, but using any of the compiled binaries gives me:
[ordinateur-de-nicolas-holzschuch:Packages/inventor/lib] holzschu% /usr/local/bin/ivview
dyld: /usr/local/bin/ivview Undefined symbols:
/usr/local/lib/libInventor.dylib undefined reference to _glBegin expected to be defined in /usr/X11R6/lib/libGL.1.dylib
[]
What am I doing wrong? How can glBegin not be defined in libGL.dylib ???

It is, but not in the one living in /usr/X11R6/lib. It is in /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ libGL.dylib
Are you sure you compiled ivview while the Apple X11 libs were installed, not another version of /usr/X11R6/lib? If you are, then maybe you should compile with the '-framework OpenGL' flag.

About the first question: yes, I'm sure. I did a "sudo rm -rf /usr/X11R6 ; sudo rm -rf /etc/X11" before I installed Apple X11 (the first version). I did not do it between the first and second version, though.


Are you saying I should compile with -lGL -framework OpenGL, or just -framework OpenGL?
(and what about GLUT, then ? -lglut -framework GLUT, or (probably) just -lglut ? )


[]
dyld: /usr/local/bin/qthello Undefined symbols:
OpenGL undefined reference to _gll_noop expected to be defined in /usr/X11R6/lib/libGL.dylib

Although this looks similar, it could be a different problem. gll_noop is not referenced in bin/qthello itself. You could setenv DYLD_PRINT_LIBRARIES in order to see which library is calling on libGL for this symbol here. Maybe it has to do with the fact that the opendarwin guys did not recompile their packages for X11 beta 0.2?

DYLD_LIBRARY_PATH=/usr/local/lib:/Users/holzschu/src/Candela/src/lib/ Darwin:/usr/X11R6/lib


[ordinateur-de-nicolas-holzschuch:~] holzschu% /usr/local/bin/qthello | & grep -i gl
(skipping libraries for grep)
loading library: /usr/X11R6/lib/libGL.1.2.dylib
loading libraries for image: /usr/X11R6/lib/libGL.1.2.dylib
loading library: /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
loading libraries for image: /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
loading library: /usr/X11R6/lib/libGLU.dylib
loading library: /usr/X11R6/lib/libGL.dylib
loading libraries for image: /usr/X11R6/lib/libGLU.dylib
loading library: /usr/X11R6/lib/libGL.1.dylib
loading libraries for image: /usr/X11R6/lib/libGL.dylib
loading libraries for image: /usr/X11R6/lib/libGL.1.dylib
OpenGL undefined reference to _gll_noop expected to be defined in /usr/X11R6/lib/libGL.dylib
OpenGL undefined reference to _gll_pkey expected to be defined in /usr/X11R6/lib/libGL.dylib


--
Greetings,
Nicolas Holzschuch
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: No-click-to-focus option
  • Next by Date: Re: No-click-to-focus option
  • Previous by thread: Re: This is (still) driving me crazy
  • Next by thread: Re: This is driving me crazy
  • Index(es):
    • Date
    • Thread