[Haskell-beginners] Gtk2Hs and Cairo on Windows

Philippe D.-P. shinka.suugaku at gmail.com
Fri Jun 26 21:51:53 EDT 2009


Hello,
I would like to use Haskell with Gtk2Hs/Cairo for a project, but I have
trouble making it work on Windows. I've installed the lastest GHC + Gtk2Hs
and I tried to copy/paste the code from examples on this tutorial
http://darcs.haskell.org/gtk2hs/docs/tutorial/Tutorial_Port/app1.xhtml.

On linux; no problem.

But for some reason I get a "not in scope: `eventSent`" error on Windows and
I can't compile.

How can I solve the problem and, more importantly, is it possible to write
portable code with Gtk2Hs/Cairo ?

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20090626/198c8880/attachment.html


More information about the Beginners mailing list