[Haskell-beginners] GLUT bindings on Mac OS X 10.11

C Gosch ch.gosch at googlemail.com
Mon Feb 15 08:26:50 UTC 2016

Hello Haskellers,

I have used Haskell for a bit on Linux and Windows, and now started using OS X 10.11.
I wanted to run a program using the GLUT bindings, and it complains about "user error (unknown GLUT entry glutSetOption)”
when I set certain options with ($=), for example actionOnWindowClose.
A bit of googling did not gain me much other than that glutSetOption is available in freeGlut, which is not the standard GLUT on Mac OS X, it seems.
Does anyone have an idea how to get around this? Can I replace OS X’s GLUT with FreeGLUT?

Thanks a bundle,

More information about the Beginners mailing list