[PyOpenGL-Devel] [ pyopengl-Bugs-2872257 ] glutInit fails on windows 64-bit
Brought to you by:
mcfletch
From: SourceForge.net <no...@so...> - 2009-10-03 15:30:00
|
Bugs item #2872257, was opened at 2009-10-03 10:29 Message generated for change (Tracker Item Submitted) made by reirrac You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2872257&group_id=5988 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: GLUT Group: v3.0.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jason G (reirrac) Assigned to: Mike C. Fletcher (mcfletch) Summary: glutInit fails on windows 64-bit Initial Comment: On a 64-bit Windows 7 machine, GLUT fails on glutInit with the following traceback: Traceback (most recent call last): File "C:\Programming\NE\HyperNEAT\HyperNEAT_Visualizer\src\HyperNEATVisualizer.py", line 287, in <module> visualizer.main() File "C:\Programming\NE\HyperNEAT\HyperNEAT_Visualizer\src\HyperNEATVisualizer.py", line 233, in main glutInit(sys.argv) File "c:\Python26\Lib\site-packages\OpenGL\GLUT\special.py", line 322, in glutInit _base_glutInit( ctypes.byref(count), holder ) TypeError: 'NoneType' object is not callable I tried copying the glut and gle dll's to my c:\windows\system32\ directory but that didn't change anything. If I comment out the glutInit function, I get this: Traceback (most recent call last): File "C:\Programming\NE\HyperNEAT\HyperNEAT_Visualizer\src\HyperNEATVisualizer.py", line 287, in <module> visualizer.main() File "C:\Programming\NE\HyperNEAT\HyperNEAT_Visualizer\src\HyperNEATVisualizer.py", line 240, in main glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_ALPHA | GLUT_DEPTH) File "c:\Python26\Lib\site-packages\OpenGL\platform\baseplatform.py", line 336, in __call__ self.__name__, self.__name__, OpenGL.error.NullFunctionError: Attempt to call an undefined function glutInitDisplayMode, check for bool(glutInitDisplayMode) before calling I get the same error with any of the NeHe opengl lesson code. It works fine on my linux machine and my windows 32-bit machine, so I think it's something to do with windows 64-bit. Are there 64-bit versions of the glut and gle DLLs? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2872257&group_id=5988 |