robotn / gohook

GoHook, Go global keyboard and mouse listener hook
MIT License
314 stars 44 forks source link

Cross-compiling: `zlib1.dll was not found.` #43

Open jibstack64 opened 1 year ago

jibstack64 commented 1 year ago

image

This is my build script: env CGO_ENABLED=1 GOOS=windows GOARCH=386 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ go build -a -installsuffix cgo -ldflags '-s' .

I've done a lot of searching and I'm genuinely puzzled.