Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: GD and PAR/CAVA packager (depends.exe)

by AndreaN (Novice)
on Sep 13, 2013 at 11:05 UTC ( [id://1053887]=note: print w/replies, xml ) Need Help??


in reply to Re: GD and PAR/CAVA packager (depends.exe)
in thread GD and PAR/CAVA packager

Unfortunately I'm not really competent with managing DLLs or dealing with these things, as I'm not a computer scientist. Anyway, when I run Dependency Walker on GD.dll I get a list of about 30 or more other DLLs. For two of them, actually, IESHIMS.DLL and WER.DLL, I get the warning "Error opening file. The system cannot find the file specified". So, if I understood correctly, I would have to add all of these 30 or so DLLs manually in the PP command line?

Thank you

Replies are listed 'Best First'.
Re^3: GD and PAR/CAVA packager (depends.exe)
by Khen1950fx (Canon) on Sep 13, 2013 at 19:34 UTC
    You shouldn't have to manually add the dlls. pp uses Module::ScanDeps under the hood, and it'll take care of the dependencies for you. You will probably need to manually add GD to the command like this:
    /usr/bin/pp --gui -n -c -M GD -B -o out.exe script.pl
    See the documentation for the options. Give it a try and Good Luck!

      You shouldn't have to manually add the dlls.

      Blah blah blah

Re^3: GD and PAR/CAVA packager (depends.exe)
by Anonymous Monk on Sep 14, 2013 at 01:00 UTC

    So, if I understood correctly, I would have to add all of these 30 or so DLLs manually in the PP command line?

    No, not all 30, you're probably only missing libbgd.dll , should be located somewhere near where you installed perl or cygwin or mingw

    In general, you don't add the .dll's that come with the operating system , stuff under %WINDIR%, %windir%\system32, like kernel32.dll user32.dll gdi32.dll comdlg32.dll advapi32.dll shell32.dll mciole32.dll ole32.dll oleaut32.dll netapi32.dll ws2_32.dll cmprops.dll mpr.dll mprapi.dll mprddm.dll mprdim.dll mprmsg.dll mprui.dll winmm.dll version.dll odbc32.dll odbc32gt.dll odbccp32.dll comctl32.dll

    $ perl -V:libs libs=' -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -l +advapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmp +r -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 ';

    kernel32.... they all come from microsoft with windows

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1053887]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-03-28 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found