IB2017 has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks
I am here again with another question (I am still working on a solution for the last one I posted) which has to do with packing my .pl in an .exe file using PerlApp (ActiveState). No help from ActiveState as I am out of their programm by now. I am trying to pack in an exe a script containing Win32::Unicode. This module apparently relies on Unicode.ddl. And this library is not loaded in my exe. I get the following error:
Can't load 'auto/Win32/Unicode/Unicode.dll' for module Win32::Unicode: + load_file:module not found at at /<C:\Users\IB\myprogram.exe>DynaLoa +der.pm line 222. at /<C:\Users\IB\myprogram.exe>Win32/Unicode/XS.pm line 8. BEGIN failed--compilation aborted at /<C:\Users\IB\myprogram.exe>Win32 +/Unicode/Error.pm line 12. BEGIN failed--compilation aborted at /<C:\Users\IB\myprogram.exe>Win32 +/Unicode/File.pm line 15. BEGIN failed--compilation aborted at myprogram.pl line 1.
My dummy simple script is nothing but the following
use Win32::Unicode::File; print "Hello"
My dummy script (and also my real, long script) works pretty well when started from the comand line. I checked and Unicode.dll is in here 'auto/Win32/Unicode/Unicode.dll'. Anyone knows a solution? PS: I read dozens of posts, but couldn't find a single solution. I wouldn't like to a) abandon the module which I discovered a few days ago in another post here b) abandon PerlApp which is still working fine for me. Of course I read the PerlApp manual, tryed every possibile configuration it came in my mind, but guess: I still get this error. Thank you in advance.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: PerlApp and Win32::Unicode
by Marshall (Canon) on Nov 13, 2017 at 20:21 UTC | |
by IB2017 (Pilgrim) on Nov 13, 2017 at 20:36 UTC | |
by AnomalousMonk (Archbishop) on Nov 13, 2017 at 20:45 UTC | |
by Marshall (Canon) on Nov 14, 2017 at 07:01 UTC | |
Re: PerlApp and Win32::Unicode
by salva (Canon) on Nov 14, 2017 at 07:44 UTC | |
Re: PerlApp and Win32::Unicode
by marto (Cardinal) on Nov 13, 2017 at 20:32 UTC |