problem with glutKeyboardUpFunc and glutFullScreen in pyOpenGL

soul soulkiller at teleline.es
Sun Nov 7 17:05:04 EST 2004


I have a problem in pyOpenGL.I'm programing in Linux Fedora Core 2 and I
have installed the following
packets:

python 2.3.3-6
glut-3.7-12
glut-devel-3.7-12
PyOpenGL-2.0.1.09
OpenGLContext-2.0.0b1-1


If I use the functions  glutKeyboardUpFunc , I retrieve this error:


> Traceback (most recent call last):
>   File "plantilla.py", line 340, in ?
>     main()
>   File "plantilla.py", line 320, in main
>     glutKeyboardUpFunc(keyReleased)
> NameError: global name 'glutKeyboardUpFunc' is not definedç


Anybody can help me? 

Thanks

Soul




More information about the Python-list mailing list