Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Compiling wxperl with pp?

by arya6000 (Novice)
on Oct 20, 2009 at 23:54 UTC ( #802345=perlquestion: print w/replies, xml ) Need Help??

arya6000 has asked for the wisdom of the Perl Monks concerning the following question:

Hello Is it possible to package a wxperl program into a .exe? I tried the following and the .exe file is created pp -M Wx -g -o listctrl.exe but when I run the .exe I get the following error "The application has failed to start because wxbase28u_gcc_wxperl.dll was not found. Re-installing the application may fix the problem." I tried this without making it into an .exe and it works. Please let me know if there is a way to fix it. Best Regards

Replies are listed 'Best First'.
Re: Compiling wxperl with pp?
by dirving (Friar) on Oct 21, 2009 at 02:01 UTC
Re: Compiling wxperl with pp?
by pobocks (Chaplain) on Oct 21, 2009 at 07:32 UTC
    Out of curiousity - why do Perl/Tk programs work without special effort being put in, but wxperl programs don't?
    for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";
      If you compile Wx statically (like Tk), it would take the same exact amount of effort. PAR doesn't scan for external dlls well (or at all?). Wx::Perl::Packager compensates for this, saves you from manually -adding dlls like
      pp -c -v -a wxbase28u_gcc_custom.dll -a wxmsw28u_adv_gcc_custom.dll -a + wxmsw28u_core_gcc_custom.dll -e " use Wx; print Wx::wxVERSION_STRING +,qq!\n!"

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://802345]
Approved by GrandFather
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2023-01-27 21:43 GMT
Find Nodes?
    Voting Booth?

    No recent polls found