Haskell Platform 2009.2.0.1 and GLUT32.DLL on Windows: which version?

I know GLUT32.DLL is not bundled with the Haskell Platform installer, but which GLUT32.DLL should I use? Every DLL I tried (even building FreeGLUT myselfhttp://netsuperbrain.com/blog/posts/freeglut-windows-hopengl-hglut/#more-136) gives the error: *"The procedure entry point glutAddMenuEntry could not be located in the dynamic library glut32.dll"* Any hints as to which glut32 version to use would be highly appreciated. Thanks, Peter

Hi Peter,
Peter Verswyvelen
I know GLUT32.DLL is not bundled with the Haskell Platform installer, but which GLUT32.DLL should I use?
I compiled a basic example [1] successfully using the DLL downloaded from [2]. But since that's the first hit in Google, you've probably already tried it. Did you put the DLL where GHC can find it? Use $WINDIR\System32 or $WINDIR\SysWOW64 if you're on 64 bit. [1] http://netsuperbrain.com/blog/wp-content/uploads/2008/11/teapots.hs [2] http://www.xmission.com/~nate/glut.html

Okay, thanks for this feedback. I tried [2] but that failed. Since it works on your system I'll double check again tomorrow, it must be picking an incorrect GLUT32.dll I guess On Mon, Jul 6, 2009 at 5:11 PM, Mikhail Glushenkov < the.dead.shall.rise@gmail.com> wrote:
Hi Peter,
Peter Verswyvelen
writes: I know GLUT32.DLL is not bundled with the Haskell Platform installer, but which GLUT32.DLL should I use?
I compiled a basic example [1] successfully using the DLL downloaded from [2]. But since that's the first hit in Google, you've probably already tried it.
Did you put the DLL where GHC can find it? Use $WINDIR\System32 or $WINDIR\SysWOW64 if you're on 64 bit.
[1] http://netsuperbrain.com/blog/wp-content/uploads/2008/11/teapots.hs [2] http://www.xmission.com/~nate/glut.html
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (2)
-
Mikhail Glushenkov
-
Peter Verswyvelen