I have tried to create a stand-alone executable of a Perl-GTK2 based
application but when running the executable I get a pop-up error telling
about not finding Glib.dll.
I used the following command:
pp -o a.exe --verbose -M Glib simple.pl
simple.pl is
#!/usr/bin/perl
use Gtk2 '-init';
my $window = Gtk2::Window->new;
$window->signal_connect (destroy => sub { Gtk2->main_quit; });
$window->show_all();
Gtk2->main;
I am using ActivePerl 5.8.6 and
C:\users\gabor\mygtk>pp --version
Perl Packager, version 0.12 (PAR version 0.87)
I have not tried in on Linux yet.
I'd appreciate your help
Gabor