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?*
> *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.