Linux - Why am I getting the error: "MagickWand/MagickWand.h: No such file or directory"?

MagickWand has recently changed the paths to the headers. You may have to modify the source code to use the "alternative" path. 

If your sample contains the following lines:

# include <wand/magick-wand.h>
# include <MagickWand/MagickWand.h>

If you are using a version older than 7, you can either:

  • pass `-DSCANDIT_MAGICK_WAND_IS_OLDER_THAN_VERSION_7` to the compiler
  • add `#define SCANDIT_MAGICK_WAND_IS_OLDER_THAN_VERSION_7` just above the `#if defined(...)` line



Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request