Open paulmenzel opened 3 years ago
I forget the logs:
$ Magick++-config --version
7.1.0 Q16 HDRI
-- Looking for ImageMagick
CMake Error at CMakeLists.txt:514 (message):
ImageMagick is required but was not found.
Use -DMAGICKDIR=DIR to specify the ImageMagick directory.
Use -DMAGICK=OFF to not use it.
(suitable Debian/Ubuntu package: libmagick++-dev)
(suitable Fedora/CentOS package: ImageMagick-c++-devel)
-- Configuring incomplete, errors occurred!
Hello @paulmenzel do you know if imageMagick provides a proper FindImageMagick.cmake? In which cas it would be a relief not to have to maintain ours.
It is built into CMake itself: https://cmake.org/cmake/help/latest/module/FindImageMagick.html (https://github.com/gnudatalanguage/gdl/issues/417)
New in version 3.9: Added support for ImageMagick 7.
I don't think GDL has been built for ver 7, there is at least one issue with the source code to acomodate it https://github.com/gnudatalanguage/gdl/issues/521 was a short stab at using ver.7; I didn't go much beyond that.
The current official ImageMagick release is 7.1.0-4. Unfortunately, it’s not detected, as version 6 is hardcoded into the CMake module:
https://github.com/gnudatalanguage/gdl/blob/9dd65f44bf387836a6f9d661a383874d545a0c47/CMakeModules/FindImageMagick.cmake#L162-L197
A porting guide exists.
It’d be great if ImageMagick 7 was supported.