Open encendre opened 3 years ago
Hi, i'm on linux and when i run the following command GOOS=windows go test -c in this repository i go these errors:
GOOS=windows go test -c
# github.com/robotn/gohook [github.com/robotn/gohook.test] ./hook_test.go:13:7: undefined: Start ./hook_test.go:18:7: undefined: RawcodetoKeychar ./hook_test.go:21:7: undefined: KeychartoRawcode
Same when i try to crosscompile my project with depend on gohook
gohook
This is gcc environment's error. Install mingw-w64-gcc, and run CGO_ENABLED=1 GOOS=windows GOARCH=386 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ go build
CGO_ENABLED=1 GOOS=windows GOARCH=386 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ go build
thx,it do work
Hi, i'm on linux and when i run the following command
GOOS=windows go test -c
in this repository i go these errors:Same when i try to crosscompile my project with depend on
gohook