Re: GUI ?

John Velman <[email protected]> Tue, 1 Mar 2005 11:11:01 -0800
Newsgroups gmane.comp.lang.haskell.nhc.user
Message-ID <[email protected]>
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 <[email protected]> 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:[email protected]:/cvs login
>     Password: cvs
>     $ cvs -d :pserver:[email protected]:/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
> [email protected]
> http://www.haskell.org/mailman/listinfo/nhc-users
>