From: "Mark Dootson" <[EMAIL PROTECTED]>
Hi,
It 'works' for me - and as far as I'm aware, for several others too.
It is absolutely impossible for me to help in any way from the information
you provide.
May I suggest that if it 'doesn't work' for you, you don't use it.
Hi Mark,
I am sorry if I said something wrong that made you angry.
You tried to be helpful in the past in solving this strange issue, but
unfortunately, I couldn't solve it, and I don't know if there is another way
of creating an executable with PDK and WxPerl.
I hope I will provide enough information in this message for making some
light. I will show what I've done:
1. I've uninstalled perl, and installed again
ActivePerl-5.8.8.820-MSWin32-x86-274739.msi.
I've installed it with the default options, but in a different location
(E:\usr\) and without associating the file extensions with perl.
2. WxPerl ppm repository was already in the ppm database, so I've just
searched for Wx and Wx-Perl-Packager.
ppm s Wx
ppm instal 1
It installed Wx version 0.81.
(which also installed Alien::wxWidgets version 0.32)
ppm s Wx-Perl-Packager
ppm i 1
It installed Wx::Perl::Packager version 0.11.
3. I've made a short test program that uses WxPerl, named test.pl, and I've
tried to create an executable from it, using:
wxpdk
Then I've chosen the test.pl file and I've chosen the output file
test.perlapp.
After the perlapp GUI appeared, I pressed Control+R in order to create the
executable and it created a file named test.exe that has 5.80 MB.
Well, the program doesn't run and it doesn't give any error to STDERR or in
a window.
Here is the test.pl file I've used:
use Wx;
package MyApp;
use base 'Wx::App';
sub OnInit {
my $self = shift;
my $frame = MyFrame->new();
$self->SetTopWindow($frame);
$frame->Show(1);
1;
}
1;
package MyFrame;
use base 'Wx::Frame';
sub new {
my $class = shift;
my $self = $class->SUPER::new(undef, -1, "Test app", [-1, -1], [-1, -1]);
return $self;
}
1;
package main;
my $app = MyApp->new();
$app->MainLoop();
And here is the content of test.perlapp file:
#!C:\Program Files\ActiveState Perl Dev Kit 7.0\bin\lib\pai.exe
PAP-Version: 1.0
Packer: C:\Program Files\ActiveState Perl Dev Kit 7.0\bin\lib\perlapp.exe
Script: test.pl
Cwd: E:\lucru\Maestro DEX\test1
Bind:
wxcore/mingwm10.dll[file=E:/usr/site/lib/Alien/wxWidgets/msw_2_8_7_uni_mslu_gcc_3_4/lib/mingwm10.dll,extract,mode=444]
Bind:
wxcore/wxbase28u_gcc_cava.dll[file=E:/usr/site/lib/Alien/wxWidgets/msw_2_8_7_uni_mslu_gcc_3_4/lib/wxbase28u_gcc_cava.dll,extract,mode=444]
Bind:
wxbase28u_net_gcc_cava.dll[file=E:/usr/site/lib/Alien/wxWidgets/msw_2_8_7_uni_mslu_gcc_3_4/lib/wxbase28u_net_gcc_cava.dll,extract,mode=444]
Bind:
wxbase28u_xml_gcc_cava.dll[file=E:/usr/site/lib/Alien/wxWidgets/msw_2_8_7_uni_mslu_gcc_3_4/lib/wxbase28u_xml_gcc_cava.dll,extract,mode=444]
Bind:
wxcore/wxmsw28u_adv_gcc_cava.dll[file=E:/usr/site/lib/Alien/wxWidgets/msw_2_8_7_uni_mslu_gcc_3_4/lib/wxmsw28u_adv_gcc_cava.dll,extract,mode=444]
Bind:
wxmsw28u_aui_gcc_cava.dll[file=E:/usr/site/lib/Alien/wxWidgets/msw_2_8_7_uni_mslu_gcc_3_4/lib/wxmsw28u_aui_gcc_cava.dll,extract,mode=444]
Bind:
wxcore/wxmsw28u_core_gcc_cava.dll[file=E:/usr/site/lib/Alien/wxWidgets/msw_2_8_7_uni_mslu_gcc_3_4/lib/wxmsw28u_core_gcc_cava.dll,extract,mode=444]
Bind:
wxmsw28u_gl_gcc_cava.dll[file=E:/usr/site/lib/Alien/wxWidgets/msw_2_8_7_uni_mslu_gcc_3_4/lib/wxmsw28u_gl_gcc_cava.dll,extract,mode=444]
Bind:
wxmsw28u_html_gcc_cava.dll[file=E:/usr/site/lib/Alien/wxWidgets/msw_2_8_7_uni_mslu_gcc_3_4/lib/wxmsw28u_html_gcc_cava.dll,extract,mode=444]
Bind:
wxmsw28u_media_gcc_cava.dll[file=E:/usr/site/lib/Alien/wxWidgets/msw_2_8_7_uni_mslu_gcc_3_4/lib/wxmsw28u_media_gcc_cava.dll,extract,mode=444]
Bind:
wxmsw28u_qa_gcc_cava.dll[file=E:/usr/site/lib/Alien/wxWidgets/msw_2_8_7_uni_mslu_gcc_3_4/lib/wxmsw28u_qa_gcc_cava.dll,extract,mode=444]
Bind:
wxmsw28u_richtext_gcc_cava.dll[file=E:/usr/site/lib/Alien/wxWidgets/msw_2_8_7_uni_mslu_gcc_3_4/lib/wxmsw28u_richtext_gcc_cava.dll,extract,mode=444]
Bind:
wxmsw28u_stc_gcc_cava.dll[file=E:/usr/site/lib/Alien/wxWidgets/msw_2_8_7_uni_mslu_gcc_3_4/lib/wxmsw28u_stc_gcc_cava.dll,extract,mode=444]
Bind:
wxmsw28u_xrc_gcc_cava.dll[file=E:/usr/site/lib/Alien/wxWidgets/msw_2_8_7_uni_mslu_gcc_3_4/lib/wxmsw28u_xrc_gcc_cava.dll,extract,mode=444]
Bind:
gdilib/gdiplus.dll[file=E:/usr/site/lib/Alien/wxWidgets/msw_2_8_7_uni_mslu_gcc_3_4/os/gdiplus.dl_,mode=444]
Clean: 0
Date: 2008-02-02 20:23:21
Debug:
Dependent: 0
Dyndll: 1
Exe: test.exe
Force: 0
Gui: 1
Hostname: teddy
No-Compress: 0
No-Logo: 0
Runlib:
Shared: none
Tmpdir:
Verbose: 0
Version-Comments:
Version-CompanyName:
Version-FileDescription:
Version-FileVersion:
Version-InternalName:
Version-LegalCopyright:
Version-LegalTrademarks:
Version-OriginalFilename:
Version-ProductName:
Version-ProductVersion:
Xclude: 0
I have MS VS.net 2005 and VS 6 installed, but I don't think this is
important, because I've installed all the modules using PPM.
Can you please tell me what versions of perl, PDK, Wx and Wx::Perl::Packager
are you using?
Maybe some versions of them are not compatible...
I am using Win XP Pro under Intel Pentium Core 2 Duo.
Thank you very much for your help.
Octavian