[Haskell-cafe] Re: [Haskell] ANN: GLFW-0.3 released

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Wed Jan 16 04:49:49 EST 2008

On Tue, 2008-01-15 at 23:32 -0500, Paul L wrote:
> GLFW is a Haskell module for GLFW OpenGL framework. It provides an
> alternative to GLUT for OpenGL based Haskell programs.
> The current 0.3 version is for download from hackageDB at:
> http://hackage.haskell.org/cgi-bin/hackage-scripts/package/GLFW-0.3

Well done on getting another release out. It's available in the Gentoo's
Haskell overlay already :-)

> Same as the previous 0.2 version it requires Cabal 1.2 or later for
> installation (which comes as default in GHC 6.8 or later). The
> installation is now conforming to the standard Cabal steps.
> New addition is the Haddock documentation for all interface functions.
> There is also a sample program to demonstrate its usage on the Haskell
> wiki site for GLFW:
> http://haskell.org/haskellwiki/GLFW
> Any feedbacks is welcome! I've only tested it on a limited number of
> platforms + GHC combinations, so if you have installation issue,
> please let me know. Thank you!

You bundle all the GLFW source code. Some systems have the C library
already available as a dynamic library. For gentoo for example we would
prefer to use the existing glfw package than statically linking in
another copy. This would be a good application of configurations,
something like:

flag system-glfw
  description: Use the the system GLFW C library.
               Otherwise use the bundled copy.
  default: False


 if flag(system-glfw)
   extra-libraries: glfw


More information about the Haskell-Cafe mailing list