[Haskell-cafe] GHC 6.6.1: Where is Graphics.SOE ?
Dmitri O.Kondratiev
dokondr at gmail.com
Wed Jul 25 08:53:16 EDT 2007
Thanks!
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
import Graphics.SOE.Gtk
main() =
runGraphics (
do w <- openWindow "Graphics Test" (300, 300)
drawInWindow w (text (100, 200) "Hello Graphics World")
k <- getKey w
closeWindow 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 :)
Thanks again!
Dima
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:
>
> http://haskell.org/gtk2hs/gtk2hs-0.9.11.3.exe
>
> 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:
>
> http://haskell.org/gtk2hs/archives/2005/06/24/building-from-source-on-windows/
>
> I've also got some semi-automated win32 build scripts:
> http://darcs.haskell.org/gtk2hs/tools/win32/
>
> and also Gtk+ SDK bundles:
> http://haskell.org/gtk2hs/win32/
>
>
> Duncan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070725/db0bfb73/attachment-0001.htm
More information about the Haskell-Cafe
mailing list