Macro-scripts
Macro-scripts copied to clipboard
Debian compile wand/MagickWand.h not found
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.
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.
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).