
Please excuse me if this is obvious, or if it's obvious how to get one of the GUI packages listed on the Haskell website to work with NHC, but the ones I've looked into all seem (to me) to be dependent on GHC. Is there a GUI package that works with nhc? Thanks, John Velman

John Velman wrote:
Please excuse me if this is obvious, or if it's obvious how to get one of the GUI packages listed on the Haskell website to work with NHC, but the ones I've looked into all seem (to me) to be dependent on GHC.
Is there a GUI package that works with nhc?
Hi John. 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. It is (or at least was) in CVS. Examples are provided and are the only documentation. Cheers Mike Thomas.

Mike Thomas
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

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
participants (3)
-
John Velman
-
Malcolm Wallace
-
Mike Thomas