Hello!
I haven't been able to build PyOpenGL 20.0.44 using the headers taht come with
NVIDIA driver package (version 1.0-1541). When I change the include path order
in config/linux.cfg so that /usr/X11R6/include comes before /usr/include the
build process will finish and most examples work fine. Obviously MESA headers
associated with XFree 4.1.0 are used. However, some extensions seem to be
missing. For example Demo/NeHe/lesson6-multi.py will say: Help! No
GL_ARB_multitexture.
Any help is appreciated,
-Antti Korvenoja
Below are the error messages from running python setup.py build with NVIDIA
headers first in include path:
...
building 'GL.EXT.texture_object' extension
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -DGLX_PLATFORM -DNUMERIC
-I/usr/include -I/usr/include/tcl8.3 -I/usr/local/include -I/usr/X11R6/include
-I/usr/local/stow/python2.1/include/python2.1/Numeric -Isrc/gle/src
-I/usr/local/stow/python2.1/include/python2.1 -c
src/interface/GL.EXT.texture_object.c -o
build/temp.linux-i686-2.1/GL.EXT.texture_object.o
In file included from src/interface/GL.EXT.texture_object.c:6:
src/interface/GL.EXT.texture_object.011b.inc: In function `SWIG_ConvertPtr':
src/interface/GL.EXT.texture_object.011b.inc:362: warning: suggest explicit
braces to avoid ambiguous `else'
src/interface/GL.EXT.texture_object.011b.inc:365: warning: suggest explicit
braces to avoid ambiguous `else'
src/interface/GL.EXT.texture_object.011b.inc:381: warning: suggest explicit
braces to avoid ambiguous `else'
src/interface/GL.EXT.texture_object.011b.inc: At top level:
src/interface/GL.EXT.texture_object.011b.inc:637: warning: function
declaration isn't a prototype
src/interface/GL.EXT.texture_object.011b.inc:683: warning: function
declaration isn't a prototype
src/interface/GL.EXT.texture_object.011b.inc:732: conflicting types for
`glAreTexturesResidentEXT'
/usr/include/GL/gl.h:1929: previous declaration of `glAreTexturesResidentEXT'
src/interface/GL.EXT.texture_object.011b.inc:789: warning: function
declaration isn't a prototype
src/interface/GL.EXT.texture_object.011b.inc: In function
`_wrap_glAreTexturesResidentEXT':
src/interface/GL.EXT.texture_object.011b.inc:805: warning: `arg1' might be
used uninitialized in this function
src/interface/GL.EXT.texture_object.011b.inc: In function
`_wrap_glDeleteTexturesEXT':
src/interface/GL.EXT.texture_object.011b.inc:851: warning: `arg1' might be
used uninitialized in this function
src/interface/GL.EXT.texture_object.011b.inc: In function
`_wrap_glPrioritizeTexturesEXT':
src/interface/GL.EXT.texture_object.011b.inc:911: warning: `arg2' might be
used uninitialized in this function
src/interface/GL.EXT.texture_object.c: At top level:
src/interface/GL.EXT.texture_object.011b.inc:148: warning: `SWIG_TypeQuery'
defined but not used
src/interface/GL.EXT.texture_object.011b.inc:302: warning: `SWIG_addvarlink'
defined but not used
src/interface/GL.EXT.texture_object.011b.inc:316: warning: `SWIG_ConvertPtr'
defined but not used
|