I am trying to compile the Gtk2Hs demo program GladeTest.hs

(OS: Windows7; HaskellPlatform-2012.4.0.0-setup.exe; gtk+-bundle_2.24.10-20120208_win32; glade-3-8-3-installer.exe;
I am a beginner )

The error I get is:

Prelude> :load "GladeTest.hs"

GladeTest.hs:4:8:

Could not find module `Graphics.UI.Gtk.Glade'

Perhaps you meant

Graphics.UI.Gtk.Builder (from gtk-0.12.4)

Graphics.UI.Gtk.Cairo (from gtk-0.12.4)

Graphics.UI.Gtk.Gdk.GC (from gtk-0.12.4)

Use -v to see a list of the files searched for.

Failed, modules loaded: none.

Prelude>


I did these okay:

cabal install cabal-install

cabal update

cabal install gtk2hs-buildtools

cabal install gtk

glade-3-8-3-installer.exe


and I can compile and run some other Gtk2Hs demos (that do not use Glade) okay.


Use -v to see a list of the files searched for.




Best regards Guenter