Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac cannot confiugre #16

Open
Kotodian opened this issue Apr 4, 2021 · 3 comments
Open

mac cannot confiugre #16

Kotodian opened this issue Apr 4, 2021 · 3 comments

Comments

@Kotodian
Copy link

Kotodian commented Apr 4, 2021

image

@Kotodian
Copy link
Author

Kotodian commented Apr 4, 2021

image
when i use old verison
image

@EVINK
Copy link

EVINK commented Aug 17, 2021

You have no imagemagick installed, try:

brew install imagemagick

@victorpopkov
Copy link

victorpopkov commented Aug 23, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants