in reply to Re^3: Can't get bribes.org version of Image-Magick to work
in thread Can't get bribes.org version of Image-Magick to work

Unfortunately, imagemagick.org doesn't have available binaries for v6.5.7. I attempted to compile a binary installer from source using Visual Studio 2010, but there are issues. Running everything up to executing BuildImageMagickObject.cmd is fine. I get a "This file requires _WIN32_WINNT to be #defined at..." after this point. Perhaps I should get earlier version of VS.

I tried just building the DLLs which are placed into the Release\bin directory\. I copied the contents of that directory minus any .pdb files and other intermediate files into the C:\Perl\site\lib\auto\Image\Magick directory where Bribes put its IM files. Then add it to my PATH env variable, as well as MAGICK_HOME.

It didn't work. I'm still getting this: Can't load 'C:/Perl/site/lib/auto/Image/Magick/Magick.dll' for module Image::Magick: load_file:Recursion too deep; the stack overflowed...

What other prerequisites are needed?

  • Comment on Re^4: Can't get bribes.org version of Image-Magick to work

Replies are listed 'Best First'.
Re^5: Can't get bribes.org version of Image-Magick to work
by Anonymous Monk on Jun 01, 2010 at 07:20 UTC
    Unfortunately, imagemagick.org doesn't have available binaries for v6.5.7. I attempted to compile a binary installer from source using Visual Studio 2010, but there are issues. Running everything up to executing BuildImageMagickObject.cmd is fine. I get a "This file requires _WIN32_WINNT to be #defined at..." after this point. Perhaps I should get earlier version of VS.

    Sorry I can't help, I always take the easy option

    I tried just building the DLLs which are placed into the Release\bin directory\. I copied the contents of that directory minus any .pdb files and other intermediate files into the C:\Perl\site\lib\auto\Image\Magick directory where Bribes put its IM files. Then add it to my PATH env variable, as well as MAGICK_HOME. It didn't work. I'm still getting this: Can't load 'C:/Perl/site/lib/auto/Image/Magick/Magick.dll' for module Image::Magick: load_file:Recursion too deep; the stack overflowed...

    Ouch, hard way is hard, sorry :/

    What other prerequisites are needed?

    See Re^3: Problem in creating exe using PAR module to learn how to find out. Two ways 1) use listdlls or dependencywalker 2) pp myfoo.pl, set path= && myfoo.exe, receive error message about missing file, then add missing file, repeat

      Hi, I appreciate your input. I will try to use dependency walker to ferret out any missing DLLs when I get time soon.

      I've been trying to get PP to work with latest versions of PerlMagick for many hours now, and it's been frustrating X(