ANN: OpenGL, GLU, and GLUT for Python

gb at cs.unc.edu gb at cs.unc.edu
Sat Aug 3 04:08:43 CEST 2002


Erik Max Francis <max at alcyone.com> writes:

> I installed SWIG 1.1p5 and get a variety of syntax errors on
> arraymaps.i.  Either package gets the same results; the tarball "with
> SWIG output" has the .c files but I don't see any way to build them
> without going through the swig step.

As noted in the comments at the top of the .i files you need SWIG
1.3.11 or greater. You can download it from at

http://www.swig.org/download.html

To make distutils build from the .c files, just change GL.i to GL.c in
setup.py

gb



More information about the Python-list mailing list