[Pythonmac-SIG] PyOpenGL on OS-X ???

Jack Jansen Jack.Jansen@oratrix.com
Thu, 26 Dec 2002 21:40:17 +0100


On donderdag, dec 26, 2002, at 20:35 Europe/Amsterdam, David Wesley 
wrote:

> Hi all,
>
> Have any of you gotten PyOpenGL to work on OS-X? I've dowloaded the 
> package, and am trying to compile it with distutils (setup.py), and 
> have gotten farther along, but no success yet.

I got it working, after modifying the configuration stuff. My fixes are 
in the pyopengl.sourceforge.net bug tracker, but it seems the project 
is without active developers (I submitted the fixes a couple of months 
ago, and nothing has happened since).

If you get PyOpenGL from CVS, apply my fixes, get the exact right 
version of SWIG  (1.3.13) and fix one SWIG error (I don't remember, 
it's obvious, it complains about a syntax error, I just commented the 
thing out) then everything should build.

I also had problems with one of the OpenGL extensions which wouldn't 
build but I think that was on Linux. Just in case it was on MacOSX: the 
trick is to "touch" the .so file in the build/lib.darwin.blablabla/ 
file and then try again. This will definitely not fix the extension in 
question, but at least the build process will continue.
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma 
Goldman -