#226: Ancient glut32.dll bundled with the Haskell platform -----------------------+---------------------------------------------------- Reporter: svenpanne | Owner: dagit Type: defect | Status: new Priority: major | Milestone: Component: GLUT | Keywords: -----------------------+---------------------------------------------------- If I see things correctly, https://github.com/23Skidoo/haskell-platform-windows/tree/master/etc contains the glut32.dll which is installed via the Haskell platform installer when no other GLUT DLL can be found. The problem is that this DLL seems to contain an ancient GLUT version from 2001, which misses a lot of new features:
{{{ glutBitmapHeight glutBitmapString glutCloseFunc glutExit glutFullScreenToggle glutGetMenuData glutGetModeValues glutGetProcAddress glutGetWindowData glutInitContextFlags glutInitContextProfile glutInitContextVersion glutInitErrorFunc glutInitWarningFunc glutLeaveFullScreen glutLeaveMainLoop glutMainLoopEvent glutMenuDestroyFunc glutMouseWheelFunc glutMultiButtonFunc glutMultiEntryFunc glutMultiMotionFunc glutMultiPassiveFunc glutSetMenuData glutSetOption glutSetWindowData glutSolidCylinder glutSolidRhombicDodecahedron glutSolidSierpinskiSponge glutStrokeHeight glutStrokeString glutWMCloseFunc glutWireCylinder glutWireRhombicDodecahedron glutWireSierpinskiSponge }}} As one can see, a few really crucial features are missing, like the ability to cleanly exit the GLUT main loop, and much more importantly: The ability to create specific OpenGL contexts via glutInitContext*. The latter is extensively used in e.g. the current Red Book. A better DLL is e.g. in the MSVC package in http://www.transmissionzero.co.uk/software /freeglut-devel/ (linked from the freeglut SF page). As it is, the bundled glut32.dll is almost useless for modern OpenGL. :-( -- Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/226> haskell-platform <http://trac.haskell.org/haskell-platform> The Haskell Platform: a comprehensive and robust collection of Haskell libraries _______________________________________________ Haskell-platform mailing list Haskell-platform@projects.haskell.org http://projects.haskell.org/cgi-bin/mailman/listinfo/haskell-platform