[Haskell-beginners] Graphics.UI.Gtk.Glade

Gary Klindt gary.klindt at googlemail.com
Thu Dec 13 17:00:01 CET 2012


Probably, you need another haskell package:
http://hackage.haskell.org/package/glade

cabal install glade

On 12/13/2012 09:57 AM, Guenter wrote:
> 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
>
>
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>



More information about the Beginners mailing list