[Haskell-cafe] GHC 6.6.1: Where is Graphics.SOE ?
dokondr at gmail.com
Wed Jul 25 08:53:16 EDT 2007
I just tried a new pre-built version (http://haskell.org/gtk2hs
> /gtk2hs-0.9.11.3.exe) and at least this simple prog. works in GHCi:
module GWindow where
do w <- openWindow "Graphics Test" (300, 300)
drawInWindow w (text (100, 200) "Hello Graphics World")
k <- getKey w
(With gtk2hs-0.9.11.exe in GHCi this trivial program hangs.)
I am happy now and hope that more complex programs will work in new version
as well :)
On 7/23/07, Duncan Coutts <duncan.coutts at worc.ox.ac.uk> wrote:
> On Fri, 2007-07-20 at 13:47 +0400, Dmitri O.Kondratiev wrote:
> > Oliver, thanks!
> > I tried that, yet have some problems.
> > Questions:
> > 1) Should I ignore autoreconf errors?
> I've never managed to get autoconf working on windows. I always generate
> a tarball under linux and build that on Windows.
> > 2) I thought that building Gtk2hs is done with GHC only. Is it right
> > that build requires C compiler?
> Yes, it does need a C compiler, but mingw has one so that's ok.
> > 3) Any other ideas what is wrong with this build?
> Almost certainly the autoconf problem messed things up.
> It's sadly not all that easy to build from source on Windows, much
> easier to use a pre-built version:
> The final 0.9.12 will be announced soon and of course that final version
> will be announced and linked from the Gtk2Hs website.
> If you really want to build from source on Windows I can give you more
> detailed instructions, and I should probably update the FAQ on this
> issue too:
> I've also got some semi-automated win32 build scripts:
> and also Gtk+ SDK bundles:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe