Error while configuring jmagick on macOS

225 Views Asked by At

I am trying to configure jmagick for image comparison. On running the below command:

./configure --with-java-home=/System/Library/Frameworks/JavaVM.framework/Versions/Current --with-magick-home=/usr/local/Cellar/imagemagick/7.0.8-6/ --with-magick-inc-dir=/usr/local/Cellar/imagemagick/6.8.0-10/include/ImageMagick/ --with-magick-inc-dir=/usr/local/Cellar/imagemagick/7.0.8-6/include/ImageMagick-7 --with-magick-lib-dir=/usr/local/Cellar/imagemagick/7.0.8-6/lib/

I am getting the below error:

checking for MagickCore-config... /usr/local/bin/MagickCore-config
checking magick/api.h usability... no
checking magick/api.h presence... no
checking for magick/api.h... no
configure: error: 'Unable to find ImageMagick header files'
0

There are 0 best solutions below