Re: HOpenGL fo 5.04

Sven Panne <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
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
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.

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.

Cheers,
   S.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.