-
Notifications
You must be signed in to change notification settings - Fork 337
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
Is it possible to use bimg on Windows? #435
Comments
install https://www.msys2.org/ On the MSYS2 terminal, you want to install pkg-config: Install libvips, but you need exactly this version: Then, run on cmd: Confirm that it worked by running: Now you should be able to use bimg. |
@margen2 OH MY GOD THANK YOU I GOT THIS WORKING Also... This is unrelated, but I don't think it worth creating another topic: while I was trying to solve this problem, I've tried to run everything inside of a docker container and the problem there was that I had to disable cgo for some reason (ENV CGO_ENABLED=0). If I disable it, errors was in bimg:
But if I didn't I will get this error, even though the container build successfully: |
You need cgo enabled to use bimg, you won't be able to run it with CGO_ENABLED=0. |
@margen2 After all of that I'm still getting |
@etareduction I have just tried following those steps on a fresh win10 computer and it worked as expected. I remember seeing this error while trying to use a different version of libvips, I used this version: https://github.com/libvips/build-win64-mxe/releases/download/v8.12.0/vips-dev-w64-all-8.12.0.zip and make sure to uninstall any other version you may have left. |
@margen2 Yeah, I've installed only version 8.12.0 and i'm sure cgo is enabled. |
@etareduction I would at least try again with the |
I'm not sure if i could find time for that right now, pretty busy at my project. For the time being, I've workaround this issue by using WSL and installing libvips from apt. |
OK, this is how I fix it. I use WSL and try to run it I get the same thing. then I install pkg-config I get another error something like pkg-config vips vips vips |
Bimg looks like a great package and exactly what I was looking for, but installation looks a littble bit tricky, especially on Windows. I don't understand how to provide necessary dependencies, which are libvips and C compiler :( Is there any manual for it?
The text was updated successfully, but these errors were encountered: