We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation fails with imagemagick 7.
gcc -O2 -Wall -D_GNU_SOURCE -D_DEFAULT_SOURCE -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -D_FORTIFY_SOURCE=2 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-7 -o img2xterm img2xterm.c -s -lMagickWand-7.Q16HDRI -lMagickCore-7.Q16HDRI -lm -lncursesw -lMagickWand-7.Q16HDRI -lMagickCore-7.Q16HDRI img2xterm.c:12:0: warning: "_GNU_SOURCE" redefined #define _GNU_SOURCE <command-line>:0:0: note: this is the location of the previous definition img2xterm.c:18:10: fatal error: wand/MagickWand.h: No such file or directory #include <wand/MagickWand.h> ^~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:46: img2xterm] Error 1 ==> ERROR: A failure occurred in build(). Aborting...
The text was updated successfully, but these errors were encountered:
following 😄
Sorry, something went wrong.
still cant run this thing even i change the #include <wand/MagickWand.h> to #include <MagickWand/MagickWand.h>
#include <wand/MagickWand.h>
#include <MagickWand/MagickWand.h>
That worked for me: #14
If you're on fedora, try installing ImageMagick-devel, that worked for me
ImageMagick-devel
No branches or pull requests
Compilation fails with imagemagick 7.
The text was updated successfully, but these errors were encountered: