Windows 8 64-bit. Activestate Perl 5.16.3. Perl2exe 16.00. My user is an admin for Windows.
My Perl program works fine when interpreted with Perl. I can make an EXE file with Perl2EXE. But when I try to run the program, it just locks up the cmd window. There are no error messages, the cmd windows just locks up and the program produces no output. When I run my compiled/bundled program with no args, it's supposed to print some instructions but I get nothing.
I tried perl2exe with both of these options:
- perl2exe script.pl -platform=Win32-5.16.3
- perl2exe script.pl -platform-Win64-5.16.3
- I have the same problem when I try to compile and run the Perl2exe sample.pl program.
Any idea how to fix this? Also, pp won't install with cpan. I get an error with dmake. EDIT: Dmake failed because the install script couldn't find windres and has this error: 'windres' is not recognized as an internal or external command, operable program or batch file. I'll look into finding windres.exe and make sure that dir is on my path when I get home. But for this question let's focus on the EXE produced by perl2exe not working at all.
Thank you.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.