-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: Not compatible #64530
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
Comments
so what version of Windows is this? |
Windows 11 |
more detail please |
I simply can't run my codes in Golang anymore, because of this error fork/exec C:\Users\luizc\AppData\Local\Temp\go-build1506841787\b001\exe\start.exe: This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher. |
@ZeroRaven23 By any chance are you running a 32 bit binary? This sounds like an error that you get when running a 64bit binary in a 32 bit system. But I noticed you are using arm64, I wonder if the same error happens when you try to run a 32 bit arm binary in a aarch64 host 🤔 |
So my system is 64 bits, that's why I find it strange. How could you test it running at 32? |
Your GOARCH is arm64, but your GOHOSTARCH is amd64, you need to change GOARCH to amd64. |
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only. For questions please refer to https://github.com/golang/go/wiki/Questions |
Go version
go version go1.21.4 windows/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
Run the project
What did you expect to see?
One calculating
What did you see instead?
fork/exec C:\Users\luizc\AppData\Local\Temp\go-build1506841787\b001\exe\start.exe: This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
In this case, I've already uninstalled Go, disabled the antivirus, checked the environment variables and haven't been able to find why this is happening.
The text was updated successfully, but these errors were encountered: