[Haskell-cafe] Freeglut

Henk-Jan van Tuyl hjgtuyl at chello.nl
Tue Jan 4 10:24:00 CET 2011


On Tue, 04 Jan 2011 00:21:11 +0100, Eric <eric at mathmeth.com> wrote:

>   Hi all,
>
> I would like to use freeglut instead of GLUT for my Haskell OpenGL  
> program, but when I place the freeglut dll in the program's directory  
> and try to run the program on Windows XP, I get the following error  
> message:
>
> user error (unknown GLUT call glutSetOption, check for freeglut)
>
>
> Can anyone help?
>
>
> Eric M.
>

I searched for the error message and found the solution at page:
   http://netsuperbrain.com/blog/posts/freeglut-windows-hopengl-hglut/

Before this blog was written, I had the same problem; I received the  
following answer from Peter Verswyvelen:
> But when building GLFW, make sure that the GHC gcc-libdirectory comes  
> *before* the MinGW/Cygwin directory inyour PATH environment variable,  
> since when linking,the LD.EXE bundled with GHC *must* be used.


Regards,
Henk-Jan van Tuyl


-- 
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
--



More information about the Haskell-Cafe mailing list