ANN: hs-fltk - a binding to the FLTK GUI toolkit

Sven Panne Sven.Panne at aedion.de
Sun Dec 19 12:44:10 EST 2004


Einar Karttunen wrote:
> I am pleased to announce a Haskell binding to the FLTK (http://www.fltk.org) 
> GUI toolkit available from http://www.cs.helsinki.fi/u/ekarttun/hs-fltk/ [...]

Hmmm, it doesn't work with the GHC from HEAD:

--------------------------------------------------------------------------
panne at jeanluc:~/hs-fltk-0.2.5> make examples
make -C example build
make[1]: Entering directory `/home/panne/hs-fltk-0.2.5/example'
ghc -package FLTK -o test test.hs

test.hs:3:39:
     Failed to load interface for `FLTK.Widget':
	Could not import `FLTK.Widget':
	it is hidden (in package FLTK-0.2.5)
make[1]: *** [test] Fehler 1
make[1]: Leaving directory `/home/panne/hs-fltk-0.2.5/example'
make: *** [examples] Fehler 2
--------------------------------------------------------------------------


I've changed the Makefile a bit to use

    ./setup configure --prefix=/tmp/fltk

and

    ./setup install --user

This avoids being root at install time and should probably be available
more conveniently.

Cheers,
    S.


More information about the Libraries mailing list