Error starting Go program
I am trying to run a Go program and it always gives me this error which I tried googling but nothing can figure out what the problem is! ScreenShot
Executable file (C:/Users!/ABDELLATIF-PC/Desktop/SimpleComputerRemote/Host/bin/server.exe) doesn't exist
source to share
The installation process should be driven Host/install/windows/innosetup-x64.iss
for InnoSetup :
You need to check if the exe installation is correctly installed and why it is looking for C:/Users!/...
insteadC:/Users/...
source to share
I managed to find the problem: is it a setup issue or something else. You have to do 3 things like this:
1) Make sure the GOPATH value is different from GOROOT. 2) Make sure the GOBIN value is empty. 3) Your package name in go file in eclipse should be the main one, not the package name "hello". This should be at least for the main function file. For this File-> New go file-> Source file type should be -> Command source file-> Empty main function. Then enter your code after which you can build to see the .exe file in GOPATH / bin and run the program.
Worked for me.
source to share