What version of Go are you using (go version)?
$ go version
1.16 windows/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
PS C:\Users\E plus> go env
set GO111MODULE=auto
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\E plus\AppData\Local\go-build
set GOENV=C:\Users\E plus\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=F:\gopath\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=F:\gopath
set GOPRIVATE=
set GOPROXY=https://goproxy.cn,direct
set GOROOT=F:\go
set GOSUMDB=off
set GOTMPDIR=
set GOTOOLDIR=F:\go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.16
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\EPLUS~1\AppData\Local\Temp\go-build4057894103=/tmp/go-build -gno-record-gcc-switches
What did you do?
I had just wanted to compile my vgo project by using go run main.go, but something went wrong. A minute later, i tried it by the simple println('hello, world'), but the same mistake happened. Finally, i rebooted the computer and it returned to normal
What did you expect to see?
normally running
What did you see instead?
fork/exec C:\Users\EPLUS~1\AppData\Local\Temp\go-build657859145\b001\exe\main.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.
What version of Go are you using (
go version)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env)?go envOutputWhat did you do?
I had just wanted to compile my vgo project by using
go run main.go, but something went wrong. A minute later, i tried it by the simpleprintln('hello, world'), but the same mistake happened. Finally, i rebooted the computer and it returned to normalWhat did you expect to see?
normally running
What did you see instead?
fork/exec C:\Users\EPLUS~1\AppData\Local\Temp\go-build657859145\b001\exe\main.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.