On Tuesday, November 8, 2011 11:11:19 PM UTC+3, Adam wrote: > > On 08/11/11 11:21, anatoly techtonik wrote: > > I'm trying to understand what are capabilities of my system, is it > > supported by pyglet and what is required to make it work, but.. > > > > Attempt to run tools/gl_info.py gives a traceback: > > > > *What steps will reproduce the problem?* > > 1.hg clone https://code.google.com/p/pyglet/ > > 2.cd pyglet > > 3.PYTHONPATH=. python tools/gl_info.py > > > > *Paste in the traceback or error message:* > > ... > > > > File "/home/user07/pyglet/pyglet/gl/glu_info.py", line 92, in > set_active_context > > > > asstr(cast(gluGetString(GLU_EXTENSIONS), c_char_p).value).split() > > NameError: global name 'gluGetString' is not defined > > > > > > Full info is here - http://code.google.com/p/pyglet/issues/detail?id=54 > > < > http://code.google.com/p/pyglet/issues/detail?id=541&q=gl_info&sort=-stars&colspec=ID%20Status%20Type%20Milestone%20OpSys%20Summary%20Stars > >1 > > > > > > I'd like to fix the problem, but must admit I am not an OpenGL expert, > > and without high-level overview of pyglet architecture (and enough time > > to reverse it myself) it's really hard to get started. If anyone can > > come up with a good post about ties of pyglet with OpenGL subsystems - > > it will surely be appreciated by many Python developers, who are also > > potential pyglet users (+1 if you agree). > > > You'll need to get the gl and glu header packages; in ubuntu based > distros they usually end -dev.
HTH, > Adam. > Thanks. It seems I've run some generator from tools/ and it cleaned the contents of pyglet/gl/glu.py - it would be nice if this generator warned about missing header beforehand. -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To view this discussion on the web visit https://groups.google.com/d/msg/pyglet-users/-/OQFiptvdJpoJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
