tiff: GL/gl.h: No such file or directory (was: Re: Install Lablgtk 2.1 using MacPorts)

Ryan Schmidt ryandesign at macports.org
Fri Feb 15 21:57:03 PST 2008


On Feb 15, 2008, at 23:27, AngelaZhu wrote:

> Thanks!
> It helps with the previous problem, however, then it find "gdk-pixbuf"
> is out of date, so I try to upgrade it and got the following new  
> error msg
> in the bottom. Do you have any idea?

[snip]

> --->  Building tiff with target all

[snip]

> In file included from tiffgt.c:36:
> /opt/local/include/GLUT/glut.h:58:19: error: GL/gl.h: No such file or
> directory
> /opt/local/include/GLUT/glut.h:59:20: error: GL/glu.h: No such file or
> directory

[snip]

So tiff can't find the OpenGL headers. I do have /usr/X11R6/include/ 
GL/gl.h on my system. Do you? That would have been provided by either  
X11User (part of Mac OS X) or X11SDK (part of Xcode). Do you have  
both installed? See:

http://guide.macports.org/#installing.x11

and

http://guide.macports.org/#installing.xcode




More information about the macports-users mailing list