Created attachment 122405 [details] digikambuild-magick6.txt Can't build digikam git master with Imagemagick 6.9.10.62-1 (called 'libmagick6' in Archlinux) Imagemagick 6 version here: https://www.archlinux.org/packages/extra/x86_64/libmagick6/ Full compilation process in attachment 'digikambuild-magick6.txt'
Have you previously deleted and recreated your "build" directory? The right libraries installed? As you can see, digiKam still finds version 7.0.8. -- Found ImageMagick: /usr/lib/libMagick++-6.Q16HDRI.so (found version "7.0.8-62") -- ImageMagick_FOUND: TRUE -- ImageMagick_VERSION_STRING: 7.0.8-62 Maik
This is not a compilation problem, but a linking problem with your IM shared libraries installed on your system. Remember that current AppImage compile and link with IM 6.9 without problem. It also the case about Windows version... Gilles Caulier
It the same about MacOS package which use also IM 6.9. Gilles Caulier
It happens because there's a "confusion" between the two IM versions installed, 6 and 7. I solved issue with this modification in PKBUILD script before CMAKE: PKG_CONFIG_PATH="/usr/lib/imagemagick6/pkgconfig"