[PyOpenGL-Users] PyOpenGL 2.0.x, Python 2.3 and Red Hat 9.0
Brought to you by:
mcfletch
From: Matt P. <mp...@ya...> - 2003-10-27 15:26:11
|
Hi, I'm a new user of PyOpenGL (and OpenGL in general) and I'm wanting to use Python in a few 3D projects I am working on. However, I am stymied by the fact I cannot get PyOpenGL to build or work successfully on my system. I have a stock Red Hat 9.0 Personal installation on an AMD Athlon with an nVidia GeForce 4 video card. I am using the nVidia drivers for hardware acceleration (and it is fast judging by the OpenGL screen savers). I have installed glut 3.7 from RPM. I have, however, replaced Python 2.2 with a build of Python 2.3 from source. I've had no problems with Python 2.3 with the exception of PyOpenGL. I have SWIG 1.1 (comes with RH9), Numeric 23.0 (from source), the Python Imaging Library (latest stable release built from source). I also have OpenGLContext 2.x installed from RPM. However, when I try to build PyOpenGL (either the beta release or the RC2 release), I either get build failures (headers not found) or segmentation faults. Once I got glut installed, the major build failures disappeared. I disabled the build of Togl since it kept causing seg faults. With Togl builds disabled, PyOpenGL compiles but fails to install fully. I can import the OpenGL module but I can get nothing to run. Half of the time, it reports failure to locate module GL.__init__. The rest of the time, I get a good import and then Python seg faults. FYI, I have Mesa 3.x installed (which ever version ships with RH9). I have managed to compile Mesa 5.x but haven't installed it for fear of throwing one more variable into the unknown. So my question is: has anyone had any success getting PyOpenGL up and running using Python 2.3 under Red Hat 9? RH9 is largely an incremental upgrade to RH8 (which I upgraded from) so I don't see any major library differences. Could GCC 3.2.2 be the problem? I desperately would like to use PyOpenGL and I need it since it is the low-level rendering API the other APIs I want to use depend on (PyGame and PyUI). I am open to any suggestions short of rebuilding my box. :) I also have a SuSe 8.2 Pro machine with a Voodoo3 I can experiment on. It is a new install and hasn't been touched yet. Any help appreciated. Matt Pickering __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ |