[PyOpenGL-Users] Problem compiling on Linux: GL.ARB._shader_objects
Brought to you by:
mcfletch
From: Ben J. <ben...@im...> - 2005-03-16 20:25:21
|
Sorry for the lame newbie question. I hope I can be of more use in the future. I'm compiling PyOpenGL in the usual manner on Linux (RedHat distrib, not that I think it matters). I get the error at the end of this email, a long way into the compilation. I seem to have fulfilled all the dependency requirements stated on the PyOpenGL web page. I'm not big on the detail of OpenGL, and I've never had use for the ARB extension stuff. Any help greatly appreciated. If you can't suggest a solution to this problem, then a way of stopping this extension being built would be a useful backup solution! Many thanks in advance, Ben. Error follows: building 'GL.ARB._shader_objects' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DGLX_PLATFORM -I/usr/include -I/usr/local/include -I/usr/X11/include -I/usr/X11R6/include -I/bmm/scratch/user/Python-2.3.4/Include -I/bmm/scratch/user/Python-2.3.4 -c src/interface/GL.ARB._shader_objects.c -o build/temp.linux-i686-2.3/GL.ARB._shader_objects.o In file included from src/interface/GL.ARB._shader_objects.c:8: src/interface/GL.ARB._shader_objects.0001.inc:703: warning: function declaration isn't a prototype In file included from src/interface/GL.ARB._shader_objects.c:8: src/interface/GL.ARB._shader_objects.0001.inc:885: warning: function declaration isn't a prototype In file included from src/interface/GL.ARB._shader_objects.c:8: src/interface/GL.ARB._shader_objects.0001.inc:1288: warning: function declaration isn't a prototype src/interface/GL.ARB._shader_objects.0001.inc:1310: warning: function declaration isn't a prototype src/interface/GL.ARB._shader_objects.0001.inc:1533: warning: function declaration isn't a prototype src/interface/GL.ARB._shader_objects.0001.inc:1581: warning: function declaration isn't a prototype src/interface/GL.ARB._shader_objects.0001.inc:1655: parse error before "obj" src/interface/GL.ARB._shader_objects.0001.inc:1655: warning: function declaration isn't a prototype src/interface/GL.ARB._shader_objects.0001.inc: In function `glDeleteObjectARB': src/interface/GL.ARB._shader_objects.0001.inc:1655: parse error before "obj" src/interface/GL.ARB._shader_objects.0001.inc:1655: warning: function declaration isn't a prototype src/interface/GL.ARB._shader_objects.0001.inc:1655: `obj' undeclared (first use in this function) src/interface/GL.ARB._shader_objects.0001.inc:1655: (Each undeclared identifier is reported only once src/interface/GL.ARB._shader_objects.0001.inc:1655: for each function it appears in.) src/interface/GL.ARB._shader_objects.0001.inc: At top level: src/interface/GL.ARB._shader_objects.0001.inc:1656: parse error before "glGetHandleARB" src/interface/GL.ARB._shader_objects.0001.inc:1656: warning: return type defaults to `int' src/interface/GL.ARB._shader_objects.0001.inc: In function `glGetHandleARB': src/interface/GL.ARB._shader_objects.0001.inc:1656: parse error before '*' token src/interface/GL.ARB._shader_objects.0001.inc:1656: warning: type defaults to `int' in declaration of `GLhandleARB' src/interface/GL.ARB._shader_objects.0001.inc:1656: `GLhandleARB' declared as function returning a function src/interface/GL.ARB._shader_objects.0001.inc:1656: warning: function declaration isn't a prototype src/interface/GL.ARB._shader_objects.0001.inc:1656: `proc_glGetHandleARB' undeclared (first use in this function) src/interface/GL.ARB._shader_objects.0001.inc:1656: parse error before "proc" .... continues in this vein until compilation fails. |