
26 Jun
2009
26 Jun
'09
9:51 p.m.
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