Issue 29 in glumpy: Undefined GLUT callback function Scroll

2 views
Skip to first unread message

glu...@googlecode.com

unread,
Apr 8, 2013, 2:11:53 AM4/8/13
to Nicolas...@inria.fr
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 29 by prolo...@shortcircuit.net.au: Undefined GLUT callback
function Scroll
http://code.google.com/p/glumpy/issues/detail?id=29

What steps will reproduce the problem?
1. Rendering a ~1GB ASCII Grid dataset using numpy and glumpy

Code: http://codepad.org/ZeLJPSpo

Dataset not available (too large!)

What version of the product are you using? On what operating system?

Latest git clone (today)

Please provide any additional information below.

Traceback:

$ python -i ./tools/tiff2png data/sample_250m_ascii.tif test.png
Traceback (most recent call last):
File "./tools/tiff2png", line 23, in <module>
fig = glumpy.figure((512, 512))
File "/Users/s2092651/work/glumpy/glumpy/__init__.py", line 69, in figure
return Figure(size=size, position=position, parent=None)
File "/Users/s2092651/work/glumpy/glumpy/figure.py", line 90, in __init__
self._window = Window( size=(w,h), position=position, title='Figure')
File "/Users/s2092651/work/glumpy/glumpy/window/backend_glut.py", line
149, in __init__
OSX_glutScrollFunc( self._scroll)

File "/Users/s2092651/lib/python2.7/site-packages/OpenGL/GLUT/special.py",
line 139, in __call__
self.wrappedOperation( cCallback, *args )

File "/Users/s2092651/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) before calling


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

glu...@googlecode.com

unread,
Apr 11, 2013, 2:12:45 AM4/11/13
to Nicolas...@inria.fr
Updates:
Status: Started

Comment #1 on issue 29 by Nicolas...@gmail.com: Undefined GLUT
If you're on OSX, you need a patched version of glut:

# For OSX, see https://github.com/nanoant/osxglut
# GLUT for Mac OS X fork with Core Profile and scroll wheel support

glu...@googlecode.com

unread,
Apr 11, 2013, 3:15:40 AM4/11/13
to Nicolas...@inria.fr

Comment #2 on issue 29 by prolo...@shortcircuit.net.au: Undefined GLUT
Is there a Homebrew formula of this?

Sent from my iPad

glu...@googlecode.com

unread,
Apr 11, 2013, 3:17:52 AM4/11/13
to Nicolas...@inria.fr

Comment #3 on issue 29 by Nicolas...@gmail.com: Undefined GLUT
I don't think so.
Reply all
Reply to author
Forward
0 new messages