kolesa-team / go-webp

Simple and fast webp library for golang
MIT License
225 stars 36 forks source link

Failed to compile from Windows too. #28

Open yuxiaobo96 opened 1 year ago

yuxiaobo96 commented 1 year ago

I get an error when compiling the program. image

Compiler Environment: Windows11 goland Go version: 1.19.8

linksquidmx commented 1 year ago

Try reading #19 , it's the same problem with the webplib files.

dadencukillia commented 1 month ago

You need to install MinGW, libwebp and specify CGO_ENABLED=1 when compiling/running the program.