There is a change in the ImageMagick library and header naming convention for Linux as of ImageMagick 6.8.3. The change was made to permit multiple versions, quantums, and HDRI / non-HDRI to coexist on the same system. Now MagickCore, MagickWand, and Magick++ are decorated with the version, quantum depth, and optionally HDRI of the build (e.g. libMagickCore-6.Q16.so, libMagickCore-7.Q16HDRI.so). The header files now reside in an include path that is decorated with the version (e.g. /usr/include/ImageMagick-6).
Developers can select quantums and / or HDRI with these compiler flags: MAGICKCORE_QUANTUM_DEPTH and MAGICKCORE_HDRI_ENABLE (e.g. -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16). If you already use the recommended *-config (e.g. MagickCore-config) and pkg-config (e.g. pkg-config MagickCore) scripts for ImageMagick development, your code should continue to build and execute without any problems.
Thanks to Bastien Roucaries for the initial jumbo patches to bootstrap these changes.
ImageMagick Library Name Change
Re: ImageMagick Library Name Change
The pkgconfig files don't point to the correct headers directory. The include dir is set to /include/ImageMagick-6 in the pkgconfig files but the headers are being installed in /usr/include/ImageMagick-6.8
This is with ImageMagick-6.8.3-6. Let me know if you need more information.
This is with ImageMagick-6.8.3-6. Let me know if you need more information.
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: ImageMagick Library Name Change
Whereas I understand to decorate the path with imagemagick major version, decorating with minor version is really a pain for distribution (it took between one or two month on the debian side to do transition)
Could you please only decorate with major version.
Could you please only decorate with major version.