tiff: GL/gl.h: No such file or directory (was: Re: Install Lablgtk 2.10 using MacPorts)
AngelaZhu
angela22.zhu at gmail.com
Sat Feb 16 06:33:40 PST 2008
> 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?
Yes, I do have /usr/X11R6/include/GL/gl.h on my system.
And I fixed this error by change the
/opt/local/include/GLUT/glut.h:58:19 from
#include <GL/gl.h> to
#include </usr/X11R6/include/GL/gl.h>
However, when I retried upgrade, I got:
/usr/X11R6/include/GL/glu.h:35:19: error: GL/gl.h: No such file or directory
Now I cannot do the same thing to fix it because this folder
gives no permission for modifying or adding files.
What should I do?
Thanks really a lot!
--
Regards,
Angela Zhu
------------------------------------------
Dept. of CS, Rice University
http://www.cs.rice.edu/~yz2/
------------------------------------------
--
View this message in context: http://www.nabble.com/Install-Lablgtk-2.10-using-MacPorts-tp15513214p15518579.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.
More information about the macports-users
mailing list