Cannot compile Go Error Code 216

Answered

I have just tried to set GoRoot after installing GoLand.

I have a simple piece of code and I get this error.

23:44	Error running 'go build awesomeProject': Cannot run program "C:\Users\webpu\AppData\Local\Temp\___go_build_awesomeProject.exe" (in directory "C:\Users\webpu\go\src\awesomeProject"): CreateProcess error=216, 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

My mate tells me that it's a path problem. The Path does not appear to include Go at all.

Can anyone help?

 

0
1 comment

Hi,

Could you please upload IDE logs to https://uploads.jetbrains.com/ and provide its ID? Are you using a 32-bit or 64-bit operating system?

 

0

Please sign in to leave a comment.