l'd love to put GLFW on the hackage site, but the Cabal packaging is puzzling me.
The GLFW C library is small and meant to be statically linked, which means the Cabal installation has to put all *.o files from under glfw/<platform>/ into the libHSGLFW-0.1.a (or whatever it's called). I don't know how to do this in Cabal in a truely cross-platform manner, so I'm using a custom script to finish the installation step. Any help is greatly appreciated! BTW: Not having to deal with all the GLUT wierdness is such a relief for writing OpenGL programs. Regards Paul Liu On 8/30/07, Simon Peyton-Jones <[EMAIL PROTECTED]> wrote: > Great! Put it on the Hackage site? > http://hackage.haskell.org/packages/hackage.html > > Simon > > | -----Original Message----- > | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul L > | Sent: 29 August 2007 20:50 > | To: haskell > | Subject: [Haskell] new SOE package and the annoucement of GLFW > | > | Hi all, > | > | After much struggle to bring the SOE source to be compatible with the > | latest GHC, I'm pleased to announce that it's available at > | > | http://www.haskell.org/soe > | > | It's has been tested on Windows (both XP and Vista), Linux and Mac OS > | X under GHC 6.6.1. The code now requires a Haskell package GLFW, an > | interface to the GLFW OpenGL Framework (http://glfw.sourceforge.net), > | which is an alternative to GLUT for OpenGL based programs. > | > | Most SOE code examples are not affected by this change except that > | they now make use of the included SOE.hs instead of the previous > | SOEGraphics module. The SOE.hs now handles all window and drawing > | activities through GLFW and OpenGL. The music part of SOE code has > | also been brought up to date. > | > | Please help to report bugs or suggestions if you have any. Help is > | also needed to make the GLFW Haskell package fully compatible with > | cross-platform Cabal installation steps. > | > | Regards, > | Paul Liu > | _______________________________________________ > | Haskell mailing list > | Haskell@haskell.org > | http://www.haskell.org/mailman/listinfo/haskell > _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell