Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with windows build #69

Open
hackermondev opened this issue Apr 21, 2021 · 3 comments
Open

Error with windows build #69

hackermondev opened this issue Apr 21, 2021 · 3 comments

Comments

@hackermondev
Copy link

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

@hackermondev
Copy link
Author

It looks like it is because this -> https://github.com/StackExchange/wmi doesn't have a go.sum file

@hackermondev
Copy link
Author

@jpillora
Copy link
Owner

Ah interesting, can you run go mod tidy and send a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants