Install on Windows and Strawberry Perl

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Locked
bigfatfrog67
Posts: 1
Joined: 2020-04-01T12:02:10-07:00
Authentication code: 1152

Install on Windows and Strawberry Perl

Post by bigfatfrog67 »

I've tried multiple times installing the Perl Module via cpan using StrawberryPerl on Windows 10.

I keep getting the same error:

Code: Select all

"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e mv -- Magick.xsc Magick.c
gcc -c   -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2   -DVERSION=\"6.89\" -DXS_VERSION=\"6.89\"  "-IC:\STRAWB~1\perl\lib\CORE"  -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
Magick.xs:60:10: fatal error: magick/MagickCore.h: No such file or directory
 #include <magick/MagickCore.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake: *** [Makefile:347: Magick.o] Error 1
  JCRISTY/PerlMagick-6.89-1.tar.gz
  C:\STRAWB~1\c\bin\gmake.exe -- NOT OK

ImageMagick is succesfully installed and working
It's in the path
I've installed the development files
I've installed the Visual C++ Redistributable Package

I've searched all sorts of past posts but none of the solutions seem to help.

Any ideas please?

Thank you.

Jonathan

Locked