|Do you know where your variables are?|
Re: pp with guiby golux (Friar)
|on Apr 04, 2013 at 16:33 UTC||Need Help??|
I've been in the habit of using ASP's perlapp, but it unfortunately requires a paid license that not everyone wants to spend money for. (I'm lucky that I need it for work, and my company generously paid for the license).
So this seemed a good chance to learn an alternative approach.
I tried many of the same steps that you did, and got mostly the same results. Then I noticed you had modified your pp command to:
and I realized there was a typo in "tkki. dll" -- beside the extra space, it should be "tkkit.dll".
Once I changed that:
the executable "gui1.exe" works as it should have.
You later said:
I tried that as well, both with and without the -x; both worked ("gui1.exe" ran as expected). The only difference seemed to be that -x caused the gui to appear during compilation. Is it possible you *thought* you've corrected the "tkkit.dll" typo, but still have it (maybe in your "build" script?)
A few notes -- the app does startup kind of slowly, though (at least compared to apps I've built with "perlapp"). But when I run it a few more times, it seems to start quicker after the initial run.
It was fairly difficult to installing PAR::Packer (this was on a Windows 7 machine), at least for my ActiveState Perl environment. The thing that finally worked for me was:
Update: added the prerequisite "ppm install MinGW"
Update 2: After installing on a different Windows 7 machine, I see that the tests fail for "ppm install MinGW":
It didn't seem to matter; answering 'y' to:
was ultimately successful at installing "PAR::Packer" and "pp".