ktools
ktools copied to clipboard
mac cannot confiugre

when i use old verison

You have no imagemagick installed, try:
brew install imagemagick
You should install the legacy version of ImageMagick 6. If you have Homebrew installed:
$ brew install imagemagick@6
Otherwise, you'll have to download and compile it on your own.
If there is still an issue in finding ImageMagick, even though you've installed it, you can try manually pointing CMake to it:
$ brew install pkg-config
$ cmake \
-DImageMagick_Magick++_LIBRARY="$(pkg-config --variable=libdir Magick++)/lib$(pkg-config --variable=libname Magick++).dylib" \
-DImageMagick_MagickCore_INCLUDE_DIR="$(pkg-config --cflags-only-I MagickCore | tail -c+3)" \
-DImageMagick_MagickCore_LIBRARY="$(pkg-config --variable=libdir MagickCore)/lib$(pkg-config --variable=libname MagickCore).dylib" \
-DImageMagick_MagickWand_INCLUDE_DIR="$(pkg-config --cflags-only-I MagickWand | tail -c+3)" \
-DImageMagick_MagickWand_LIBRARY="$(pkg-config --variable=libdir MagickWand)/lib$(pkg-config --variable=libname MagickWand).dylib" \
.
I've extended the "INSTALLATION FROM SOURCE" section in my fork with a more detailed instruction for both Linux and macOS: https://github.com/victorpopkov/ktools/tree/v4.4.1#installation-from-source