Dear Monks,

I am currently trying to produce a standalone Win32 .exe version of my program, and I am running into problems. As my program uses wx, I am using wxpar, and as it is also using some routines from the GD module, I do manually include the path to the GD library:

wxpar -M GD -l C:\strawberry\perl\vendor\lib\auto\GD\GD.dll -o interface.exe interface.pl

When I then try to execute interface.exe on a computer which doesn't have Strawberry installed, errors like the following do occur:

"Can't load 'C:\Users\...\cache-cc91cb 3fa6f7178c7bec78a885cc1360e60cb937\5ae839b7.dll' for module GD: load_file:Das an gegebene Modul wurde nicht gefunden at C:/strawberry/perl/lib/DynaLoader.pm line 200. at C:/strawberry/perl/site/lib/PAR/Heavy.pm line 128 Compilation failed in require at script/interface.pl line 23. BEGIN failed--compilation aborted at script/interface.pl line 23."

"Das angegebene Modul wurde nicht gefunden" is German and means that a module couldn't be found - which is quite interesting in itself, as I am not using a German distribution of Strawberry Perl.

Could you give me any advice?

Best wishes,

Alexander

In reply to pp and GD under Strawberry Perl by ArgusM

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.