Thread: [PyOpenGL-Users] unable to build PyOpenGL on RedHat 8.0
Brought to you by:
mcfletch
From: Scott N. <scu...@ho...> - 2003-02-09 04:06:41
|
I am unable to install PyOpenGL on RedHat 8.0. Below is a portion of the install log that shows the error. I think it may be very similar to some of the problems other people asked about earlier. Christoph Lehmann posted a message about a changed linux.cnf file but his attachment was not accessible from sourceforge. Any help would be greatly appreciated. Thanks, Scott Nichols gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DGLX_PLATFORM -DNUMERIC -I/usr/include -I/usr/local/include -I/usr/X11/ include -I/usr/X11R6/include -I/usr/local/include/python2.2/Numeric -I/usr/local/include/python2.2 -c src/interface/GL.ARB.p oint_parameters.c -o build/temp.linux-i686-2.2/GL.ARB.point_parameters.o gcc -shared build/temp.linux-i686-2.2/GL.ARB.point_parameters.o -L/usr/lib -L/usr/local/lib -L/usr/X11/lib -L/usr/X11R6/lib -Lbuild/temp.linux-i686-2.2 -lGL -lX11 -lXext -lGLU -linterface_util -o build/lib.linux-i686-2.2/OpenGL/GL/ARB/point_paramet ers.so building 'GL.ARB.texture_compression' extension cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory cc1: warning: changing search order for system directory "/usr/include" cc1: warning: as it has already been specified as a non-system directory In file included from src/interface/GL.ARB.texture_compression.c:8: src/interface/GL.ARB.texture_compression.0103.inc:750: warning: function declaration isn't a prototype src/interface/GL.ARB.texture_compression.0103.inc:798: warning: function declaration isn't a prototype src/interface/GL.ARB.texture_compression.0103.inc:929: warning: function declaration isn't a prototype src/interface/GL.ARB.texture_compression.0103.inc: In function `_wrap_glCompressedTexSubImage3DARB': src/interface/GL.ARB.texture_compression.0103.inc:1127: warning: passing arg 11 of `glCompressedTexSubImage3DARB' makes poin ter from integer without a cast src/interface/GL.ARB.texture_compression.0103.inc:1127: too many arguments to function `glCompressedTexSubImage3DARB' src/interface/GL.ARB.texture_compression.0103.inc: In function `_wrap_glCompressedTexSubImage2DARB': src/interface/GL.ARB.texture_compression.0103.inc:1176: warning: passing arg 9 of `glCompressedTexSubImage2DARB' makes point er from integer without a cast src/interface/GL.ARB.texture_compression.0103.inc:1176: too many arguments to function `glCompressedTexSubImage2DARB' src/interface/GL.ARB.texture_compression.0103.inc: In function `_wrap_glCompressedTexSubImage1DARB': src/interface/GL.ARB.texture_compression.0103.inc:1223: warning: passing arg 7 of `glCompressedTexSubImage1DARB' makes point er from integer without a cast src/interface/GL.ARB.texture_compression.0103.inc:1223: too many arguments to function `glCompressedTexSubImage1DARB' src/interface/GL.ARB.texture_compression.0103.inc: At top level: src/interface/GL.ARB.texture_compression.0103.inc:875: warning: `_doc_glCompressedTexImage3DARB' defined but not used src/interface/GL.ARB.texture_compression.0103.inc:876: warning: `_doc_glCompressedTexImage2DARB' defined but not used src/interface/GL.ARB.texture_compression.0103.inc:877: warning: `_doc_glCompressedTexImage1DARB' defined but not used src/interface/GL.ARB.texture_compression.0103.inc:878: warning: `_doc_glCompressedTexSubImage3DARB' defined but not used src/interface/GL.ARB.texture_compression.0103.inc:879: warning: `_doc_glCompressedTexSubImage2DARB' defined but not used src/interface/GL.ARB.texture_compression.0103.inc:880: warning: `_doc_glCompressedTexSubImage1DARB' defined but not used src/interface/GL.ARB.texture_compression.0103.inc:907: warning: `_doc_glGetCompressedTexImageARB' defined but not used src/interface/GL.ARB.texture_compression.0103.inc:925: warning: `_doc_glInitTextureCompressionARB' defined but not used src/interface/GL.ARB.texture_compression.0103.inc:926: warning: `_doc_glInitTexCompressionARB' defined but not used gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DGLX_PLATFORM -DNUMERIC -I/usr/include -I/usr/local/include -I/usr/X11/ include -I/usr/X11R6/include -I/usr/local/include/python2.2/Numeric -I/usr/local/include/python2.2 -c src/interface/GL.ARB.t exture_compression.c -o build/temp.linux-i686-2.2/GL.ARB.texture_compression.o error: command 'gcc' failed with exit status 1 _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail |
From: <il...@ya...> - 2003-02-09 07:23:06
|
What version of pyopengl are you using? 2.0.1.02 should work for you. If not, arg!!! Maybe there are different definitions for these functions? Could someone give me their ones if they differ from the definitions below? from GL/glext.h: #ifndef GL_ARB_texture_compression #define GL_ARB_texture_compression 1 #ifdef GL_GLEXT_PROTOTYPES extern void APIENTRY glCompressedTexImage3DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); extern void APIENTRY glCompressedTexImage2DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); extern void APIENTRY glCompressedTexImage1DARB (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *); extern void APIENTRY glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); extern void APIENTRY glCompressedTexSubImage2DARB (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); extern void APIENTRY glCompressedTexSubImage1DARB (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *); extern void APIENTRY glGetCompressedTexImageARB (GLenum, GLint, void *); #endif /* GL_GLEXT_PROTOTYPES */ typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); typedef void (APIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img); #endif --- Scott Nichols <scu...@ho...> wrote: > I am unable to install PyOpenGL on RedHat 8.0. > Below is a portion of the > install log that shows the error. I think it may be > very similar to some of > the problems other people asked about earlier. > Christoph Lehmann posted a > message about a changed linux.cnf file but his > attachment was not accessible > from sourceforge. Any help would be greatly > appreciated. > > Thanks, > > Scott Nichols > > > gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC > -DGLX_PLATFORM -DNUMERIC > -I/usr/include -I/usr/local/include -I/usr/X11/ > include -I/usr/X11R6/include > -I/usr/local/include/python2.2/Numeric > -I/usr/local/include/python2.2 -c > src/interface/GL.ARB.p > oint_parameters.c -o > build/temp.linux-i686-2.2/GL.ARB.point_parameters.o > gcc -shared > build/temp.linux-i686-2.2/GL.ARB.point_parameters.o > -L/usr/lib > -L/usr/local/lib -L/usr/X11/lib -L/usr/X11R6/lib > -Lbuild/temp.linux-i686-2.2 -lGL -lX11 -lXext -lGLU > -linterface_util -o > build/lib.linux-i686-2.2/OpenGL/GL/ARB/point_paramet > ers.so > building 'GL.ARB.texture_compression' extension > cc1: warning: changing search order for system > directory > "/usr/local/include" > cc1: warning: as it has already been specified as > a non-system directory > cc1: warning: changing search order for system > directory "/usr/include" > cc1: warning: as it has already been specified as > a non-system directory > In file included from > src/interface/GL.ARB.texture_compression.c:8: > src/interface/GL.ARB.texture_compression.0103.inc:750: > warning: function > declaration isn't a prototype > src/interface/GL.ARB.texture_compression.0103.inc:798: > warning: function > declaration isn't a prototype > src/interface/GL.ARB.texture_compression.0103.inc:929: > warning: function > declaration isn't a prototype > src/interface/GL.ARB.texture_compression.0103.inc: > In function > `_wrap_glCompressedTexSubImage3DARB': > src/interface/GL.ARB.texture_compression.0103.inc:1127: > warning: passing arg > 11 of `glCompressedTexSubImage3DARB' makes poin > ter from integer without a cast > src/interface/GL.ARB.texture_compression.0103.inc:1127: > too many arguments > to function `glCompressedTexSubImage3DARB' > src/interface/GL.ARB.texture_compression.0103.inc: > In function > `_wrap_glCompressedTexSubImage2DARB': > src/interface/GL.ARB.texture_compression.0103.inc:1176: > warning: passing arg > 9 of `glCompressedTexSubImage2DARB' makes point > er from integer without a cast > src/interface/GL.ARB.texture_compression.0103.inc:1176: > too many arguments > to function `glCompressedTexSubImage2DARB' > src/interface/GL.ARB.texture_compression.0103.inc: > In function > `_wrap_glCompressedTexSubImage1DARB': > src/interface/GL.ARB.texture_compression.0103.inc:1223: > warning: passing arg > 7 of `glCompressedTexSubImage1DARB' makes point > er from integer without a cast > src/interface/GL.ARB.texture_compression.0103.inc:1223: > too many arguments > to function `glCompressedTexSubImage1DARB' > src/interface/GL.ARB.texture_compression.0103.inc: > At top level: > src/interface/GL.ARB.texture_compression.0103.inc:875: > warning: > `_doc_glCompressedTexImage3DARB' defined but not > used > src/interface/GL.ARB.texture_compression.0103.inc:876: > warning: > `_doc_glCompressedTexImage2DARB' defined but not > used > src/interface/GL.ARB.texture_compression.0103.inc:877: > warning: > `_doc_glCompressedTexImage1DARB' defined but not > used > src/interface/GL.ARB.texture_compression.0103.inc:878: > warning: > `_doc_glCompressedTexSubImage3DARB' defined but not > used > src/interface/GL.ARB.texture_compression.0103.inc:879: > warning: > `_doc_glCompressedTexSubImage2DARB' defined but not > used > src/interface/GL.ARB.texture_compression.0103.inc:880: > warning: > `_doc_glCompressedTexSubImage1DARB' defined but not > used > src/interface/GL.ARB.texture_compression.0103.inc:907: > warning: > `_doc_glGetCompressedTexImageARB' defined but not > used > src/interface/GL.ARB.texture_compression.0103.inc:925: > warning: > `_doc_glInitTextureCompressionARB' defined but not > used > src/interface/GL.ARB.texture_compression.0103.inc:926: > warning: > `_doc_glInitTexCompressionARB' defined but not used > gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC > -DGLX_PLATFORM -DNUMERIC > -I/usr/include -I/usr/local/include -I/usr/X11/ > include -I/usr/X11R6/include > -I/usr/local/include/python2.2/Numeric > -I/usr/local/include/python2.2 -c > src/interface/GL.ARB.t > exture_compression.c -o > build/temp.linux-i686-2.2/GL.ARB.texture_compression.o > error: command 'gcc' failed with exit status 1 > > > __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |
From: Jack J. <Jac...@or...> - 2003-02-09 20:34:32
|
I've had similar problems with GL.ARB.texture_compression on MacOSX (using PyOpenGL from CVS). As I don't need the extension (and don't even know what it's supposed to do, let alone how I should debug it:-) I simply did a "touch build/lib.blablabla/GL/ARB/texture_compression.so" after the build failed and restarted the build. I didn't bother to enter a sourceforge bugreport, because the response to my earlier bug reports hasn't exactly been overwhelming. But maybe I should post them anyway, so other people can benefit from at least knowning they're not alone in experiencing problems... -- - Jack Jansen <Jac...@or...> http://www.cwi.nl/~jack - - If I can't dance I don't want to be part of your revolution -- Emma Goldman - |
From: Thomas W. <th...@xs...> - 2003-02-09 22:59:49
|
On Sun, Feb 09, 2003 at 07:23:05AM +0000, Rene Dudfield wrote: > What version of pyopengl are you using? 2.0.1.02 > should work for you. > If not, arg!!! Yes, 'arg!!!'. > extern void APIENTRY glCompressedTexSubImage3DARB > (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, > GLsizei, GLenum, GLsizei, const GLvoid *); extern void APIENTRY glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); Matches. Note how it's 11 arguments. However, from the actual wrapper template: DECLARE_VOID_EXT(glCompressedTexSubImage3DARB, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data), (target, level, xoffset, yoffset, zoffset, internalformat, width, height, depth, border, imageSize, data)) Notice how there's 12 arguments. The 'internalformat' GLenum is made up; it doesn't exist for the SubImage API. You should have just accepted the patch I uploaded, it was correct and tested on a platform that was actually broken :-) But that's why it's an alpha release, right ? :-) -- Thomas Wouters <th...@xs...> Hi! I'm a .signature virus! copy me into your .signature file to help me spread! |
From: <il...@ya...> - 2003-02-10 22:09:11
|
This is very weird. I could swear I applied that patch. But looking at the cvs log, it appears it's not in there. I probably forgot to commit or something :(. Appologies all round. Mike; could you do another release? __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |
From: Mike C. F. <mcf...@ro...> - 2003-02-10 22:25:39
|
Will put it on the agenda, though this would be the _only_ change AFAIK (2 releases for a single bug ;) ). At the moment I'm thinking it'll happen after I get a chance to work on the glu tessellator bug, which hopefully will be today (I'm in the middle of CV rewriting, so no promises (I hate job-hunting)). BTW: Has one of the people running into the problem done a CVS build to confirm it works? Have fun, Mike Rene Dudfield wrote: >This is very weird. I could swear I applied that >patch. But looking at the cvs log, it appears it's >not in there. I probably forgot to commit or >something :(. > >Appologies all round. > > >Mike; could you do another release? > >__________________________________________________ >Do You Yahoo!? >Everything you'll ever need on one web page >from News and Sport to Email and Music Charts >http://uk.my.yahoo.com > > >------------------------------------------------------- >This SF.NET email is sponsored by: >SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! >http://www.vasoftware.com >_______________________________________________ >PyOpenGL Homepage >http://pyopengl.sourceforge.net >_______________________________________________ >PyOpenGL-Users mailing list >PyO...@li... >https://lists.sourceforge.net/lists/listinfo/pyopengl-users > > > -- _______________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://members.rogers.com/mcfletch/ |