Thanks for the info, but it doesn't solve my problem; I adjusted the path,
reinstalled GLFW and recompiled the program, but it still does not
terminate.
Henk-Jan
On Mon, 24 Mar 2008 08:58:05 +0100, Peter Verswyvelen <[EMAIL PROTECTED]>
wrote:
Hi,
I had a similar (unsolved) problem with GLUT but on my system (Windows
XP + GHC 6.8.2) GLFW works fine, exiting is no problem at all.
But when building GLFW, make sure that the GHC gcc-lib directory comes
*before* the MinGW/Cygwin directory in your PATH environment variable,
since when linking, the LD.EXE bundled with GHC *must* be used.
Cheers,
Peter
[EMAIL PROTECTED] wrote:
L.S.,
I am trying GLUT and GLFW (on Windows XP, with GHC 6.8.2); the sample
programs do not terminate when I close the window by clicking on the
cross in the upper right corner of the window.
The sample program for GLUT is at
http://blog.mikael.johanssons.org/archive/2006/09/opengl-programming-in-haskell-a-tutorial-part-1/
the GLFW program:
http://haskell.org/haskellwiki/GLFW
I tried in the GLUT program:
close = exitWith ExitSuccess
closeCallback $= Just close -- => User error (unknown GLUT call
getCloseFunc, check for freeglut)
this needs freeglut (not documented); I downloaded freeglut.dll and
placed it in the windows\system32 directory. The error message remained.
What is needed to let these programs terminate properly?
--
http://functor.bamikanarie.com
http://Van.Tuyl.eu/
--
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe