> On Tue, 2003-01-21 at 14:59, Jack Madison wrote: > > > Actually what I had to do was remove the link to gl.h (was linked to the > > nvidia version), and re-link it to the default gl.h. I didn't do > > anything with glext.h. > > > > I put the links back after the compile. > > ok, maybe I'm just too stupid.... > but it seems to me that my links point to the standard gl-headers .... > mhhh. (btw. pyopengl works fine for me) > > mueller@Meneltarma:/usr/include/GL$ ls -l > total 280 > lrwxrwxrwx 1 root root 33 Nov 27 13:53 GLwDrawA.h -> > ./../X11R6/include/GL/GLwDrawA.h > lrwxrwxrwx 1 root root 34 Nov 27 13:53 GLwDrawAP.h -> > ./../X11R6/include/GL/GLwDrawAP.h > lrwxrwxrwx 1 root root 34 Nov 27 13:53 GLwMDrawA.h -> > ./../X11R6/include/GL/GLwMDrawA.h > lrwxrwxrwx 1 root root 35 Nov 27 13:53 GLwMDrawAP.h -> > ./../X11R6/include/GL/GLwMDrawAP.h > -rw-r--r-- 1 root root 60468 Nov 20 04:50 fgl.h > -rw-r--r-- 1 root root 7273 Nov 20 04:50 fglu.h > -rw-r--r-- 1 root root 10152 Nov 20 04:50 fglut.h > -rw-r--r-- 1 root root 124974 Feb 24 2002 gl.h <snip>Hmm... Here is the way my machine looks:
find /usr -name gl.h -ls
866077 80 -r--r--r-- 1 root root 77761 Jan 5 12:24 /usr/lib/opengl/xfree/include/gl.h
1075028 132 -rw-r--r-- 1 root root 127878 Dec 18 22:33 /usr/lib/opengl/nvidia/include/gl.h
651565 0 lrwxr-xr-x 1 root root 35 Jan 12 09:09 /usr/X11R6/include/GL/gl.h -> /usr/lib/opengl/nvidia/include/gl.h
I moved the link from the nvidia gl.h to the xfree gl.h, compiled, then moved it back.
Are you using an nvidia card? Seems to be a common problem using the nvidia gl.h... Do you have any other gl.h files on your computer?