ktools icon indicating copy to clipboard operation
ktools copied to clipboard

mac cannot confiugre

Open Kotodian opened this issue 4 years ago • 3 comments

image

Kotodian avatar Apr 04 '21 06:04 Kotodian

image when i use old verison image

Kotodian avatar Apr 04 '21 06:04 Kotodian

You have no imagemagick installed, try:

brew install imagemagick

EVINK avatar Aug 17 '21 18:08 EVINK

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

victorpopkov avatar Aug 23 '21 12:08 victorpopkov