Tim
Tim

Reputation: 57

Installing imagemagick perlmagick on Windows Strawberry Perl

Has anyone had any success recently installing imagemagick/perlmagick on Windows with recent versions of strawberry perl? I have read and tried many of the things suggested that I found online however none is very recent and none has worked for me. I've added all the imagemagick folders to the path as well. Seems there is a problem with finding the right files with imagemagick install. I have tried adding directories to the make file but still always errors out with

 Magick.xs:60:10: fatal error: magick/MagickCore.h: No such file or directory
 #include <magick/MagickCore.h>
          ^~~~~~~~~~~~~~~~~~~~~

Versions: perl 5.30.2x64-multi-thread, ImageMagick-7.0.10-31-Q8-x64-dll, Windows server 2019. Any help or direction here is appreciated.

Upvotes: 2

Views: 723

Answers (1)

ikegami
ikegami

Reputation: 385917

You appear to have installed ImageMagic v7, which is not backwards compatible with v6. The Image::Magick on CPAN requires ImageMagick v6.

(That said, I got test failures when trying to install Image::Magick with the latest binary of v6. I'm not the only one.)

Upvotes: 0

Related Questions