[Help]Can't find Gtk2.dll
- From: Shixin Zeng <shixinzeng gmail com>
- To: gtk-perl-list gnome org
- Subject: [Help]Can't find Gtk2.dll
- Date: Tue, 26 Apr 2005 23:52:42 +0800
I'm building gtk2-perl on MS windows, everything goes well until I
launch gtk-demo:
Can't load 'D:/Perl/site/lib/auto/Gtk2/Gtk2.dll' for module Gtk2:
load_file:Can't find the specified module. at
D:/Perl/lib/DynaLoader.pm line 229.
at F:\Gtk2-1.080\gtk-demo\main.pl line 12
Compilation failed in require at F:\Gtk2-1.080\gtk-demo\main.pl line 12.
BEGIN failed--compilation aborted at F:\Gtk2-1.080\gtk-demo\main.pl line 12.
In fact, D:/Perl/site/lib/auto/Gtk2/Gtk2.dll exists.
I've tried 1.081,1.090, nothing changes.
If I install the ppd from http://gtk2-perl.sourceforge.net/win32/ppm/,
it works fine.
But I want to build a module which require gtk2-1.081 or above, so I
have to build the neweset gtk2-perl manually.
I've compared the package I build myself and the package from official
site. The are almost the same(the prior one is build by myself):
diff -r gtk-new/arch/Gtk2/Install/Files.pm blib/arch/Gtk2/Install/Files.pm
4c4
< 'inc' => '-ID:/GTK/2.0/include/gtk-2.0
-ID:/GTK/2.0/lib/gtk-2.0/include -ID:/GTK/2.0/include/atk-1.0
-ID:/GTK/2.0/include/pango-1.0 -ID:/GTK/2.0/include/glib-2.0
-ID:/GTK/2.0/lib/glib-2.0/include -I./build ',
---
'inc' => '-Ic:/usr/include/gtk-2.0 -Ic:/usr/lib/gtk-2.0/include -Ic:/usr/include/atk-1.0
-Ic:/usr/include/pango-1.0 -Ic:/usr/include/glib-2.0 -Ic:/usr/lib/glib-2.0/include -I./build ',
14c14
< 'libs' => '-LD:/GTK/2.0/lib -lgtk-win32-2.0
-lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
D:/Perl/site/lib/auto/Glib/Glib.lib'
---
'libs' => '-Lc:/usr/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
C:/Perl/site/lib/auto/Glib/Glib.lib'
diff -r gtk-new/arch/Gtk2/Install/gtk2perl-versions.h
blib/arch/Gtk2/Install/gtk2perl-versions.h
2c2
< #define PANGO_MINOR_VERSION (8)
---
#define PANGO_MINOR_VERSION (4)
Files gtk-new/arch/auto/Gtk2/Gtk2.dll and blib/arch/auto/Gtk2/Gtk2.dll differ
Files gtk-new/arch/auto/Gtk2/Gtk2.exp and blib/arch/auto/Gtk2/Gtk2.exp differ
Files gtk-new/arch/auto/Gtk2/Gtk2.lib and blib/arch/auto/Gtk2/Gtk2.lib differ
Files gtk-new/arch/auto/Gtk2/Gtk2.pdb and blib/arch/auto/Gtk2/Gtk2.pdb differ
diff -r gtk-new/lib/Gtk2/Gdk/Keysyms.pm blib/lib/Gtk2/Gdk/Keysyms.pm
1c1
< # generated Tue Apr 26 23:03:45 2005 from
D:/GTK/2.0/include/gtk-2.0/gdk/gdkkeysyms.h
---
# generated Mon Mar 7 21:00:06 2005 from c:/usr/include/gtk-2.0/gdk/gdkkeysyms.h
230,231d229
< 'dead_hook' => 0xFE61,
< 'dead_horn' => 0xFE62,
Where I get wrong?
Thanks in advance.
--
Best regards
Shixin Zeng
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]