[PyOpenGL-Users] Problems using PyOpenGL-2.0.1.04 on Mac OS X
Brought to you by:
mcfletch
|
From: Evan J. <ej...@uw...> - 2003-05-09 03:22:31
|
Actually, to be more specific, it's a problem with the OpenGL/GLU
module. I get the following error when I try and run any of the demos
that import it. The demos in OpenGL/Demos/GLE all work flawlessly.
Traceback (most recent call last):
File "/sw/lib/python2.2/site-packages/OpenGL/Demo/NeHe/lesson1.py",
line 42, in ?
from OpenGL.GLU import *
File "/sw/lib/python2.2/site-packages/OpenGL/GLU/__init__.py", line
32, in ?
GLUerror = __init___.GLUerror
AttributeError: 'module' object has no attribute 'GLUerror'
Now, I will admit that I'm trying to build on a bizarre configuration,
although when I built the "default" configuration it still failed with
the same error (although I'll double check this tomorrow). I'm using
Fink's Python (2.2.2) and I'm trying to build Togl. If I use "nm" on
the __init___.so, it doesn't show any "GLUerror" symbol, although the
.so in OpenGL/GL DOES have that symbol defined.
Any ideas?
Thank you for your assistance,
Evan Jones
--
Evan Jones: http://www.eng.uwaterloo.ca/~ejones/
"Computers are useless. They can only give answers" - Pablo Picasso
|