Magick filter kit linking error.
Posted: 2013-04-01T03:22:47-07:00
In version 6.8.0 Magick Filter Kit seems stop working. Lots of warning for deprecated calls. And a fatal error on build.
Build problem related to the inappropriate finding IM filters/coders paths. It is because of 'MagickCore-config --filter-path' stopped working.
So how should I get filters dir?
MagickCore-config is a script. It performs pkg-config calls. The content of /opt/local/lib/pkgconfig/ImageMagick.pc (there is no link to filters dir exists):
prefix=/opt/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/ImageMagick
Name: ImageMagick
Description: ImageMagick - Convert, Edit, and Compose Images
Version: 6.8.0
Libs: -L${libdir} -lMagickCore
Cflags: -I${includedir}
I found filters dir manually on my system at /opt/local/lib/ImageMagick-6.8.0/modules-Q16/filters. But I need an automated way.
P.S.
Move to Magick kit bugs, please.
Build problem related to the inappropriate finding IM filters/coders paths. It is because of 'MagickCore-config --filter-path' stopped working.
So how should I get filters dir?
MagickCore-config is a script. It performs pkg-config calls. The content of /opt/local/lib/pkgconfig/ImageMagick.pc (there is no link to filters dir exists):
prefix=/opt/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/ImageMagick
Name: ImageMagick
Description: ImageMagick - Convert, Edit, and Compose Images
Version: 6.8.0
Libs: -L${libdir} -lMagickCore
Cflags: -I${includedir}
I found filters dir manually on my system at /opt/local/lib/ImageMagick-6.8.0/modules-Q16/filters. But I need an automated way.
P.S.
Move to Magick kit bugs, please.