One way to avoid the problem is to change:
use base(Wx::Frame); =3D=3D=3D> use vars qw(@ISA); @ISA =3D =
Do not use 'use base' for a XS module when compiling via Perl2exe.
----- Original Message -----=20
From: Ulisses Gomes=20
Sent: Tuesday, June 10, 2003 7:11 PM
Subject: Problem compiling WxPerl on a Win XP machine with Perl2exe
A PPM ActivePerl/Win32 binary package =
(Wx-0.15wxmsw2.4.1-win32-5.6.1.zip) is working fine thru perl itself on =
my WinXP machine.
But, when I used Perl2exe to 'compile' the demo.pl sample, the =
following error arises:
"Can't locate Wx/Frame.pm in @INC (@INC contains:.........".
I tried to insert 'use Wx::Frame' in the demo.pl, but there is no .pm =
file for Frame in the distribuition.
The Wx/Frame comes from a Frame.XS file, not a .PM one.
Is there a workaround for that? How can I tell to Perl2exe that de =
Frame module is not a .pm file.
Thanks in advance.
Get latest updates about Open Source Projects, Conferences and News.