Entri point not found Gtk2-perl under win2k



Hi, i am a windows 2K user, i try to learn Gtk2-Perl.

I've allready install GTK+RE 2.2.4-3, ActiveState ActivePerl 5.8.6 Build 811, then via ppm i install ExtUlitls-Depend, ExtUtils-PkgConfig, Glib and Gtk2 from http://gtk2-perl.sourceforge.net/win32/ppm/. Everything is going well, no error reported.

Then i follow the tutorial (http://gtk2-perl.sourceforge.net/doc/gtk2-perl-tut/ch-GettingStarted.html)
base.pl  here is the code:
use Gtk2;
Gtk2->init;

$window = Gtk2::Window->new('toplevel');
$window->show;

Gtk2->main;
0;

when i run the program i get a pop up error message:
"The procedure entry point g_type_default__interface_unref could not be located in the dynamic link library libgobject-2.0-0.dll"

In the command line i get error:

Can't load 'C:/..../Perl/site/lib/auto/Glib/Glib.dll' for module Glib:load_file:
The specified procedure could not be found at C:/apache/Perl/lib/DynaLoader.pm line 230.
at C:/...../Perl/site/lib/Gtk2.pm line 30

Compilation failed in require at C:/..../Perl/site/lib/Gtk2.pm line 30.
BEGIN failed--compilation aborted at C:/...../Perl/site/lib/Gtk2.pm line 30.
Compilation failed in require at base.pl line 1.
BEGIN failed--compilation aborted at base.pl line 1.

Can anyone help me? please.

Thanks,

Pujo


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]