Paul L wrote: > But again, why stuck with GLUT? Now there is at least one alternative, > GLFW (http://glfw.sourceforge.net) a cross-platform framework for > OpenGL applications, for which I recently wrote a Haskell interface, > downloadable at http://www.haskell.org/soe/software1.htm. It's > certainly experimental though. The GLFW C library itself is well > documented, but the Haskell module still isn't. The only example so > far is the soe.hs in the SOE package.
Good news: I abandoned GLUT and looked at GLFW. I had similar problems getting GLFW to work with GHC and GHCi. After a bunch of hacking, I got GLFW to work for me. I have to invoke GHCi with the command line [1] and I have to invoke the compiler like [2], but hey, it works :) [1] "ghci <myfile.hs> glfw_hack.o -lopengl32 -lglu32" [2] "ghc --make <myfile.hs> glfw_hack.o -lopengl32 -lglu32" -- Ron _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe