Most optional dependencies for basic support of common use cases should be already installed
libimagequant gets available with Ubuntu 20.04
Go to your project path f.e. cd /mnt/c/delve/cool-project/
Exec go get -u
Exec go build
Exec your binary
If you are using Goland, you can just set C:\Windows\System32\bash.exe as Shell path in your terminal settings. For debug sessions, you will have to use Go remote configuration.
You can try out MSYS2 but it will be tricky. I spent hours without success. Using WSL is a very clean and convenient solution. Another solution would be using a normal virtual machine. You can use X2go to open your IDE like a windows application which is actually running in your virtual machine.
This is no issue, just information for users who want to use this package in a project while developing in a windows environment:
apt install build-essential pkg-config glib2.0-dev libexpat1-dev libtiff5-dev libjpeg-turbo8-dev libgsf-1-dev libexif-dev giflib-tools librsvg2-dev libpoppler-glib-dev libgsf-1-dev libtiff-dev libfftw3-dev liblcms2-dev libpng-dev imagemagick libwebp-dev libgif-dev
apt install build-essential pkg-config libexpat1-dev libvips-dev
libimagequant
gets available with Ubuntu 20.04cd /mnt/c/delve/cool-project/
go get -u
go build
If you are using Goland, you can just set
C:\Windows\System32\bash.exe
asShell path
in your terminal settings. For debug sessions, you will have to useGo remote
configuration.