-
Notifications
You must be signed in to change notification settings - Fork 182
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
Windows installation #87
Comments
Are these working instructions? I'm happy to add them if they are. I don't On Sat, 14 May 2016 3:46 AM Dampfnudeln notifications@github.com wrote:
|
ImageMagick canot load any images because of |
As far as I can tell, this wouldn't be related to the imagick bindings. It looks like your install of ImageMagick is missing plugin support for various image formats (jpg in this particular case). |
Actually I saw that you said |
I have only one installation. The first command downloads ImageMagick and at the same place you can find the binaries. The convert tool I used was in that folder. My test program also failed to load a PNG image. Here is the source code:
I don't know anything about building c-projects but maybe cgo is missing some flags that tell it to include all the other third-party libraries? |
Did you ever figure this out? |
I could get Imagick to build, using the following procedure:
Alternative 1:
Alternative 2:
Now, while both alternative appear to work, building code that uses imagick go package makes the go command eventually die with error 0xC0000135, so I must be doing something wrong. |
When using gcc from msys, everything works fine, so the full procedure is:
|
Thanks for this info. I can add it to the main README |
Just one problem, that MSYS2 is now giving version 7 of imagemagick, so this becomes completely broken. Instead, one now needs to download v6 packages from msys2 repo manually, and then install it:
|
Well thats a shame. Would you be able to submit a PR with the corrected README for windows instructions? |
That is unfortunate, the instructions worked for me a few days ago, but possibly I had older msys. |
Could you add installation instructions for Windows?
I'm new to this and tried installing it like go-sdl2 but I always get
ERROR_MISSING_DELEGATE: NoDecodeDelegateForThisImageFormat 'JPEG'
when opening images. Here is how I installed it:pacman -S mingw-w64-x86_64-imagemagick
using MSYS2 Shellgo get gopkg.in/gographics/imagick.v2/imagick
using CMDGetVersion()
showsImageMagick 6.9.3-7 Q16 x86_64 2016-04-05 http://www.imagemagick.org
and using ImageMagick via CMD like this works perfect:convert test.png test.jpg
The text was updated successfully, but these errors were encountered: