snookmz has asked for the wisdom of the Perl Monks concerning the following question:

I am attempting to use Gtk2::GladeXML to create a user interface with Perl for a Win32 application. I have installed the various dependencies as described by Tor Lillqvist on the www.gimp.org site, and continue to be unsucessful. Here is the test code
------------ use strict 'vars'; use Gtk2 -init; use Gtk2::GladeXML; $gladexml = Gtk2::GladeXML->new('GladeTest.glade'); $gladexml->signal_autoconnect_from_package('main'); $quitbtn = $gladexml->get_widget('Quit'); Gtk2->main; -----------
When I run this I get the error message

"Can't locate loadable object for module Glib in @INC (@INC contains: "c:perl\lib c:perl\site\lib" c:\glib\lib C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/site/lib/Gtk2.pm line 30"

The executable modules for everything suggested by Tor are in c:glib/bin

Can anyone enlighten me on this ??

2006-06-10 Retitled by g0n, as per Monastery guidelines
Original title: 'GladeXML'

Replies are listed 'Best First'.
Re: GladeXML: Can't locate loadable object for module Glib
by Anonymous Monk on Jun 10, 2006 at 01:26 UTC
    search for this error "Can't locate loadable object for module "
Re: GladeXML: Can't locate loadable object for module Glib
by chromatic (Archbishop) on Jun 10, 2006 at 22:57 UTC

    How did you install the modules? (My guess is that you didn't actually compile them.)