[Haskell-cafe] GHC, GLUT and OS X
Paul L
ninegua at gmail.com
Wed Aug 1 20:55:41 EDT 2007
I'm trying to get cross platform GLUT/OpenGL program to run, but even
the simplest code hang on OS X with GHC 6.6 or GHC 6.6.1
import Graphics.UI.GLUT
import Graphics.Rendering.OpenGL
main = do
getArgsAndInitialize
createAWindow "Hello window"
mainLoop
createAWindow windowName = do
createWindow windowName
displayCallback $= clear [ColorBuffer]
Has anyone been successful at getting GLUT to work on OS X?
Regards,
Paul L
More information about the Haskell-Cafe
mailing list