Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Cannot find GL lib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot find GL lib



Mike wrote:
While using macports to install gtkglext on Leopard I ran into this error:

...
checking for GL/glu.h... yes
checking for glVertex3d in -lGLcore... no
checking for glVertex3d in -lGL... no
checking for glVertex3f in -lGL... no
checking for glVertex3i in -lGL... no
checking for glVertex3s in -lGL... no
checking for glVertex3d in -lMesaGL... no
configure: error: Cannot find GL library

Error: Status 1 encountered during processing.

This would build with Tiger's X11 no problems. So can anyone give me a hint about where to look for the cause of this error?

Where to look: In the file "config.log" that sits beside the configure script.


Probable cause of the error: An infamous bug (or "improvement" according to Apple) in /usr/bin/ld that prevents linking to /usr/X11/lib/libGL.dylib without extra contortions. See
<http://developer.apple.com/qa/qa2007/qa1567.html>


--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
This email sent to email@hidden


References: 
 >Cannot find GL lib (From: Mike <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.