My setup worked:

   - Windows XP.
   - ghc-6.11.20081024
   - freeglut 2.4.0
   - darcs version of GLUT (with patched glutGetProcAddress [attached])
   - darcs version of OpenGL

Getting freeglut going with ghc on windows is a bit involved. I could write
a walkthrough if there's enough interest.

David

2008/10/25 Conal Elliott <[EMAIL PROTECTED]>

> I'm getting crashes from ghc-6.10.0.20081007 and ghc-6.11.20081024 when
> doing a very simple GLUT program (below) with OpenGL-2.2.1.1 and
> GLUT-2.1.1.2 (the latest from Hackage), running on WinXP.  It works fine on
> ghc-6.9.20080622 .
>
> I'd appreciate hearing about other attempts with these versions on Windows
> systems.
>
> Thanks,  - Conal
>
>
> import Graphics.UI.GLUT
>
> main :: IO ()
> main = do putStrLn "Initializing"
>           getArgsAndInitialize
>           return ()
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>

Attachment: glutWin32.patch
Description: Binary data

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to