Closed neoascetic closed 8 years ago
On my machine, resample.h file is in /usr/include/ImageMagic-6/magick directory:
resample.h
/usr/include/ImageMagic-6/magick
root@281ff7a9897e:/home/openresty# find / -name 'resample.h' /usr/include/ImageMagick-6/magick/resample.h
Here my output of command that get_flags function uses:
get_flags
root@281ff7a9897e:/home/openresty# pkg-config --cflags --libs MagickWand -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/x86_64-linux-gnu//ImageMagick-6 -I/usr/include/ImageMagick-6 -I/usr/include/x86_64-linux-gnu//ImageMagick-6 -I/usr/include/ImageMagick-6 -lMagickWand-6.Q16 -lMagickCore-6.Q16
As you can see, required directory is the second, while only first include path is used by get_filters method. So it need to be improved to search for all include path and not only the first.
get_filters
On my machine,
resample.h
file is in/usr/include/ImageMagic-6/magick
directory:Here my output of command that
get_flags
function uses:As you can see, required directory is the second, while only first include path is used by
get_filters
method. So it need to be improved to search for all include path and not only the first.