Macro-scripts icon indicating copy to clipboard operation
Macro-scripts copied to clipboard

Debian compile wand/MagickWand.h not found

Open sesselastronaut opened this issue 3 years ago • 2 comments

Running the compile.sh script on Debian Bullseye returns deadpixels.c:4:10: fatal error: wand/MagickWand.h: No such file or directory even though I've libmagickwand-6-headers installed in /usr/include/ImageMagick-6/wand/MagickWand.h which is the default on Debian. Any hint how to solve this much appreciated.

sesselastronaut avatar Apr 04 '21 20:04 sesselastronaut

Providing the absolute path /usr/include/ImageMagick-6/wand/MagickWand.h in deadpixels.c circumnavigates the issue but leads to the next error: /usr/include/ImageMagick-6/wand/MagickWand.h:29:12: fatal error: magick/magick-config.h: No such file or directory which sits in /usr/include/ImageMagick-6/magick/magick-config.h but not clue and not enough programming knowledge how to refer to that one.

sesselastronaut avatar Apr 05 '21 11:04 sesselastronaut

Does Wand-config work? If ImageMagick is installed correctly, Wand-config (or MagickWand-config) should provide the correct paths to the include files and libraries. Make sure your Wand-config command is part of ImageMagick 6.x package (my code is not compatible with ImageMagick 7.x).

pulsar123 avatar Sep 02 '21 18:09 pulsar123