Re: Cannot find GL lib
Re: Cannot find GL lib
- Subject: Re: Cannot find GL lib
- From: Martin Costabel <email@hidden>
- Date: Mon, 17 Dec 2007 16:33:11 +0100
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