Phantoon has asked for the wisdom of the Perl Monks concerning the following question:
C:\Documents and Settings\Administrator\Desktop\testgtk\test>testgtk.e +xe GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion `g_t +ype_from_n ame (name) == 0' failed at C:/strawberry/perl/lib/DynaLoader.pm line 2 +23. cannot register alias Gtk2::Pango::Attribute for the unregistered type + (null) at C:/strawberry/perl/lib/DynaLoader.pm line 223. Compilation failed in require at script/testgtk.pl line 1. BEGIN failed--compilation aborted at script/testgtk.pl line 1.
pp -l "C:\strawberry\perl\site\lib\auto\Cairo\Cairo.dll" -l "C:\strawb +erry\perl\site\lib\auto\Pango\Pango.dll" -l "C:\strawberry\perl\site\ +lib\auto\Glib\Glib.dll" -l "C:\strawberry\perl\site\lib\auto\Gtk2\Gtk +2.dll" -o testgtk.exe testgtk.pl
use Gtk2 '-init'; $window = Gtk2::Window->new('toplevel'); $window->set_title("Hello World!"); $button = Gtk2::Button->new("Press me"); $button->signal_connect(clicked => sub { print "Hello again - the butt +on was pressed\n"; }); $window->add($button); $window->show_all; Gtk2->main; 0;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: pp + GTK2 + win32
by Khen1950fx (Canon) on Oct 22, 2010 at 06:21 UTC | |
|
Re: pp + GTK2 + win32
by Anonymous Monk on Oct 22, 2010 at 06:27 UTC | |
by orange (Beadle) on Oct 23, 2010 at 14:18 UTC | |
by Anonymous Monk on Oct 24, 2010 at 06:55 UTC | |
|
Re: pp + GTK2 + win32
by Anonymous Monk on Jan 16, 2011 at 02:29 UTC | |
by Anonymous Monk on Jan 16, 2011 at 03:08 UTC | |
by Anonymous Monk on Jan 16, 2011 at 04:40 UTC | |
by Anonymous Monk on Jan 16, 2011 at 06:30 UTC |