I'm trying to build a windows version (.exe) for my project on linux using CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ GOOS=windows GOARCH=amd64 go build -ldflags -H=windowsgui -o ./builds/jacp-windows-raw.exe but it shows this error:
../../go/pkg/mod/github.com/jpillora/overseer@v1.1.6/proc_slave_windows.go:12:2: missing go.sum entry for module providing package github.com/StackExchange/wmi (imported by github.com/jpillora/overseer); to add:
@jpillora
I'm trying to build a windows version (.exe) for my project on linux using
CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ GOOS=windows GOARCH=amd64 go build -ldflags -H=windowsgui -o ./builds/jacp-windows-raw.exebut it shows this error:@jpillora