When attempting to import OpenGL.GL, I recieve the
Traceback (most recent call last):
File "geodesic.py", line 4, in ?
from OpenGL.GL import *
line 21, in ?
undefined symbol: glPolygonOffsetEXT
Inspecting the opengl include files, and in particular,
<GL/glext.h> seemed to indicate (mind you, I have
little or no experience with OpenGL extensions) that
GL_GLEXT_PROTOTYPES needed to be #define'd. So, in the
setup.py script, I added -DGL_GLEXT_PROTOTYPES to
enable extensions. When that failed, I explictly #def'd
it in _openglmodule.c. Again, this did not alleviate
the problem. What, then, needs to be done to rectify this?
Useful tidbits: Linux Mandrake 8.0, Kernel 2.4.3 (plus
Mandrake's patches) XFree86 4.0.3, Mesa 3.4.1 (with
NVIDIA_GLX 0.9-769), Python 2.0
Log in to post a comment.