richard on 2006/09/24 00:12
of Bouncy the Hungry Rabbit
(log in to comment)
Traceback (most recent call last):
File "game.py", line 18, in ?
from map import *
File "/data/david/Software/Games/PyWeek 3/bouncy-post-r1/map.py", line 7, in ?
import euclid, collide, objects, pyglyph, fonts, shaders
File "/data/david/Software/Games/PyWeek 3/bouncy-post-r1/objects.py", line 2, in ?
import euclid, objloader, collide, shaders
File "/data/david/Software/Games/PyWeek 3/bouncy-post-r1/shaders.py", line 26, in ?
glCreateShaderObjectARB = gl.glCreateShaderObjectARB
File "/usr/lib/python2.4/site-packages/ctypes/__init__.py", line 233, in __getattr__
func = self._CdeclFuncPtr(name, self)
AttributeError: /usr/lib/python2.4/site-packages/_ctypes.so: undefined symbol: glCreateShaderObjectARB
I've also added a note about the requirements for the shaders in the README.
Richard: These are the messages I get when I run the game with the toon code enabled.
First, I got this:
"No shaders available: No module named ctypes"
Seems you added the ctypes dependency again in bouncy-r4. Once I installed the ctypes module I get this other message:
No shaders available: global name 'GL_INFO_LOG_LENGTH' is not defined
Hurm, that error seems to imply that the shader compilation is failing but we can't view the error because of a bug ('GL_INFO_LOG_LENGTH' is not defined).