"go build command-line-arguments: open NUL: The system cannot find the file specified. "
C:\go>go run hello.go
go build command-line-arguments: open NUL: The system cannot find the file speci fied.
Can anyone help me to fix this.?
Actually, first time i gave GOPATH as my workspace(folder path in which my code is there). It also didn't work out. so later i changed to installation folder.(just for a try). It also didn't work.
Did you install binary installation or did you used source code installation? What is the directory where you installed Go? Is it possible that you have/had older version of Go on your computer? What does "echo %PATH%" command prints?
What does "go build fmt" do? I suspect nothing. Print output of "go build -x fmt" to see, if it does anything. And, if it does nothing, change some source file in fmt package (put some extra space somewhere), and try again? I think it will fail in a similar way.
@Carlos Castillo :
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
@Dave, No I'm not using cygwin or anything other than cmd.exe .
c:/go/bin/go.exe build [E:/Kishore/Go/code]
go build _/E_/Kishore/Go/code: open NUL: The system cannot find the file specified.
Error: process exited with code 1.
--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/gKymzJ8ZZQc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.