Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > pyOpenGL Error unable to detect undefined names

Thread Tools

pyOpenGL Error unable to detect undefined names

Posts: n/a

I am trying to use pyOpenGL and I keep getting the following errors:

Traceback (most recent call last):
File "C:\Temp\Python\", line 10, in <module>
from OpenGL.GLU import *
File "C:\Python26\lib\site-packages\OpenGL\GLU\", line 4,
in <module>
from OpenGL.raw.GLU import *
File "C:\Python26\lib\site-packages\OpenGL\raw\GLU\",
line 6, in <module>
from OpenGL.raw.GLU.constants import *
File "C:\Python26\lib\site-packages\OpenGL\raw\GLU\",
line 7, in <module>
from OpenGL import platform, arrays
File "C:\Python26\lib\site-packages\OpenGL\arrays\", line
22, in <module>
File "C:\Python26\lib\site-packages\OpenGL\arrays\",
line 37, in loadAll
cls.loadPlugin( entrypoint )
File "C:\Python26\lib\site-packages\OpenGL\arrays\",
line 44, in loadPlugin
plugin_class = entrypoint.load()
File "C:\Python26\lib\site-packages\OpenGL\", line 14, in
return importByName( self.import_path )
File "C:\Python26\lib\site-packages\OpenGL\", line 28, in
module = __import__( ".".join(moduleName), {}, {}, moduleName)
File "C:\Python26\lib\site-packages\OpenGL\arrays\",
line 25, in <module>
from OpenGL_accelerate.numpy_formathandler import NumpyHandler
File "numpy.pxd", line 30, in OpenGL_accelerate.numpy_formathandler
ValueError: numpy.dtype does not appear to be the correct type object

The code is very simple all I have is two import statements:
from OpenGL.GLU import *
from OpenGL.GL import *

The code analysis says that it is "unable to detect undefined names".
What does that mean and how do I fix it? Is it an installation error?

Thanks for the help,
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Detect Use of Unassigned(Undefined) Variable(Function) ++imanshu Python 3 11-28-2009 04:15 AM
pyopengl glShaderSourceARB error joroy Python 1 12-10-2006 02:21 AM
B::Lint does not detect undefined subs Alexander Frink Perl Misc 5 08-07-2006 10:21 PM
Help on Error - Unable to detect the web server!!!! sikkavarun ASP .Net 2 03-01-2005 07:45 PM
How to detect an undefined SV* value in XS? J. Romano Perl Misc 21 12-14-2004 05:07 AM