gdl icon indicating copy to clipboard operation
gdl copied to clipboard

ImageMagick 7 unsupported

Open paulmenzel opened this issue 4 years ago • 5 comments

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.

paulmenzel avatar Aug 05 '21 08:08 paulmenzel

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!

paulmenzel avatar Aug 05 '21 08:08 paulmenzel

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.

GillesDuvert avatar Aug 05 '21 09:08 GillesDuvert

It is built into CMake itself: https://cmake.org/cmake/help/latest/module/FindImageMagick.html (https://github.com/gnudatalanguage/gdl/issues/417)

slayoo avatar Aug 05 '21 12:08 slayoo

New in version 3.9: Added support for ImageMagick 7.

slayoo avatar Aug 05 '21 12:08 slayoo

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.

maynardGK avatar Aug 10 '21 18:08 maynardGK