Open vBlackOut opened 7 months ago
When crosscompiling, CGO is disabled by default. Try to add something like this: CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
ok thank i try that
was this issue resolved? i am facing the same issue
GOOS=windows GOARCH=amd64 go build -ldflags="-H windowsgui" main.go
but error why ?