Closed ad-si closed 4 years ago
Why not humbly suggest conda install imagemagick
? I think you will have a hard time bundling imagemagick for all platforms
@haydenflinner As far as I can tell, all Python bindings of ImageMagick also depend on a global installation and don't include a binary. 😞
I played around some more and in the end it was easier as expected. I just had to set 2 environment variables 😅.
setEnv "MAGICK_HOME" (currentDir ++ "/imagemagick")
setEnv "DYLD_LIBRARY_PATH" (currentDir ++ "/imagemagick/lib")
Fixed in 4df8c84.
Sorry, didn't realize you were targeting a mac app and not just a general library, hell I thought the project was in Python lol. But btw, you forgot to check the box on your README todo :-)
Possible solutions:
Set
convertBin = "./convert"
in app/Main.hs and build the core binary with stack install.