
On Fri, 6 Dec 2002, Sven Panne wrote:
Nicolas Oury wrote:
Hello, is there a version of hopengl working with ghc 5.04? [...]
I guess you mean the latest and greatest GHC 5.04.2, because earlier You guess well, as I didn't try with previous and 5.04.2 was a patchlevel release, I had generalized. Sorry...
versions work quite well with HOpenGL 1.03. Although 5.04.2 is supposed to be a patchlevel release without noticeable API changes, it isn't really: GHC's FFI has been synchronized with the FFI addendum, and there are some subtle changes, e.g. ForeignObjs can't be passed to external functions anymore.
That's the bug I have.
I'm quite aware of this and have a version which is "almost" working, including the new GLUT binding with rather extensive Haddock-generated documentation, which is already part of the fptools repository:
http://cvs.haskell.org/cgi-bin/cvsweb.cgi/fptools/libraries/GLUT/
I really hope that I can make a new release before Christmas, meanwhile you can either use GHC 5.04.1 or disable GLU quadrics, NURBS, and the tesselator by hand. I don't need these three, but I wonder : should I use the releases on your website or the CVS?
Best regards, Nicolas.
Cheers, S. _______________________________________________ HOpenGL mailing list HOpenGL@haskell.org http://www.haskell.org/mailman/listinfo/hopengl