Daniel Macks wrote:
>
>
> 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
>
> Daniel Macks wrote:
>
> >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.
>
>
>
>
Checking /System/Library/Frameworks/OpenGL.framework on my system, cd
doesn't produce a Headers subdirectory (it may be hidden but ls -la isn't
showing it?) -
just three symbolic links: Libraries; OpenGL; Resources; and also a Versions
subdirectory. (Versions has two subdirectories, A and Current, which each
divide into a file OpenGL and subdirectories Libraries and Resources.
drwxr-xr-x 5 root wheel 170 Oct 11 16:28 .
drwxr-xr-x 4 root wheel 136 Nov 7 2007 ..
drwxr-xr-x 6 root wheel 204 Oct 11 16:28 Libraries
-rwxr-xr-x 1 root wheel 178352 Oct 11 16:28 OpenGL
drwxr-xr-x 8 root wheel 272 Nov 4 2007 Resources
A search reveals four files called gl.h (are they all the same, and is this
relevant, should one of them be placed in a newly created Headers subfolder
with properly set permissions) in folders
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/GL/ ,
/Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/include/GL/ ,
/Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/
,
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/
on my system and that it would seem is it (or that's all the system's find
command finds... hrm. That in itself- 10.3.9, 10.4u - does not look good "on
its face". What to do about it, I am not sure.
Thanks again.
Eric Schissel
------------------------------------------------------------------------------
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