[Haskell-cafe] GHC, GLUT and OS X

Alan Mock docmach at gmail.com
Wed Aug 1 21:15:20 EDT 2007


This works fine for me on PPC and x86 10.4.10.  Which GLUT  
implementation are you using?  Does the code hang or does it crash?

Alan Mock

On Aug 1, 2007, at 7:55 PM, Paul L wrote:

> 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
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list