I am trying to install the Imagick package for Go. I run the command:
go get gopkg.in/gographics/imagick.v3/imagick
As per the documentation but I always get this error:
# gopkg.in/gographics/imagick.v3/imagick
src/gopkg.in/gographics/imagick.v3/imagick/affine_matrix.go:8:35: fatal error: MagickWand/MagickWand.h: No such file or directory
#include <MagickWand/MagickWand.h>
^
compilation terminated.
I've looked online but have yet to find a solution that works. I have tried using apt-get libmagickwand-dev
and that did not resolve the issue. I am currently running Ubuntu 14.04 LTS.
Also as per the documentation, imagick.v3
supports ImageMagick version 7 and up. You have ImageMagick version 6.7.7-10. This is too old for imagick v3, and also too old for imagick v2, but v1 may work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With