On Sat, Dec 06, 2008 at 10:10:49PM -0500, Alexander Hansen wrote: > > On Dec 6, 2008, at 7:58 PM, Eric Schissel wrote: > > > Making all in agl > > /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H - > > I. -I. -I../.. -I../../src -I../../src -I/usr/X11R6/include -I/sw/ > > include -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing- > > prototypes -Wmissing-declarations -Wnested-externs -fno-strict- > > aliasing -c -o glitz_agl_drawable.lo glitz_agl_drawable.c > > mkdir .libs > > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src -I/usr/ > > X11R6/include -I/sw/include -g -O2 -Wall -Wpointer-arith -Wstrict- > > prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested- > > externs -fno-strict-aliasing -c glitz_agl_drawable.c -fno-common - > > DPIC -o .libs/glitz_agl_drawable.o > > In file included from glitz_agl_drawable.c:30: > > glitz_aglint.h:34:23: error: OpenGL/gl.h: No such file or directory > > Ah. That'd be the problem. > > The suspicious part is that this missing header doesn't appear > anywhere on my 10.4 setup: I've got /usr/X11R6/include/GL/gl.h, / > System/Library/Frameworks/AGL.framework/Versions/A/Headers/gl.h, > and > /System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/gl.h
My 10.4 box is the same, and yet glitz build for me: that .c source, which includes that glitz .h, which includes <OpenGL/gl.h>, compiles successfully. Tracing further (--enable-dependency-tracking is useful for *something*!), it's coming from /System/Library/Frameworks/OpenGL.framework/Headers/gl.h which (in hindsight, and to the annoyance of greppers everywhere:) is in accord with the gcc manpage documentation for the -F flag: An example include looks like "#include <Framework/header.h>", where Framework denotes the name of the framework and header.h is found in the "PrivateHeaders" or "Headers" directory. Eric, check that you have this gl.h file. dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
