
Thanks. I have a (probably irrational) dislike for Java, but when I finish my current "project" (using gtk2hs ) I'll look into this. I'd like to try NHC, but the things I want to do right now all seem to involve some kind of pictures. Best, John Velman On Tue, Mar 01, 2005 at 10:37:39AM +0000, Malcolm Wallace wrote:
Mike Thomas
writes: Is there a GUI package that works with nhc?
A year or so I made sure that the JAPI library binding worked on both GHC and NHC98 - JAPI being an external third party C wrapper around a Java GUI. It ain't the fastest, nor the best tested, nor supported (by far on all counts), but hopefully you won't need to work hard to get it running. I only tested on Windows, but I would expect it to work on Linux.
Note: The JAPI binding is not built by default when you build nhc98, but it is pretty easy to insert it as an extra step.
$ cvs -d :pserver:anoncvs@glass.cse.ogi.edu:/cvs login Password: cvs $ cvs -d :pserver:anoncvs@glass.cse.ogi.edu:/cvs checkout nhc98 $ cd nhc98 --> $ edit Makefile $ add "Japi" to definition of PACKAGEBUILD $ ./configure $ make basic $ make install
You then need to add "-package Japi" to your normal program compile commands, along with "-ljapi" (or whatever) to link in the original C japi library.
Regards, Malcolm _______________________________________________ Nhc-users mailing list Nhc-users@haskell.org http://www.haskell.org/mailman/listinfo/nhc-users