Undefined GLUT callback function Scroll ?

33 views
Skip to first unread message

denis

unread,
Aug 21, 2012, 8:41:39 AM8/21/12
to glumpy...@googlegroups.com
Folks,
trying simple.py gives me (complete noob on GL) the traceback --

# from: simple.py
# run: 21 Aug 2012 14:19 in /opt/local/py/glumpy/demos mac 10.4.11 ppc

Traceback (most recent call last):
File "simple.py", line 34, in <module>
fig = glumpy.figure( (512,512) )
File "/opt/local/py/lib/python2.7/site-packages/glumpy/__init__.py", line 69, in figure
return Figure(size=size, position=position, parent=None)
File "/opt/local/py/lib/python2.7/site-packages/glumpy/figure.py", line 90, in __init__
self._window = Window( size=(w,h), position=position, title='Figure')
File "/opt/local/py/lib/python2.7/site-packages/glumpy/window/backend_glut.py", line 148, in __init__
glutScrollFunc( self._scroll)
File "/opt/local/py/lib/python2.7/site-packages/OpenGL/GLUT/special.py", line 139, in __call__
self.wrappedOperation( cCallback, *args )
File "/opt/local/py/lib/python2.7/site-packages/OpenGL/GLUT/special.py", line 107, in failFunction
typeName, 'glut%sFunc'%(typeName),
OpenGL.error.NullFunctionError: Undefined GLUT callback function Scroll, check for bool(glutScrollFunc)


OpenGL is from pip install PyOpenGL-3.0.2a5/
tests/test_glutwindow.py there works.

Thanks, cheers
-- denis

Reply all
Reply to author
Forward
0 new messages