I've installed Go and was able to build the sample program successfully.
I can also build http://github.com/nats-io/gnatsd without issues.
However, I'm now trying to build a local project that uses protobuf and
When building I got the following:
cannot open file
system cannot find the pathpecified.*
I've tried running *go get golang.org/x/net/context* (and then *go get -u
golang.org/x/net/context*...) and it seemed to work, but it installed the
library under my GOPATH, whereas the message above tries to look for it
under my GOROOT (*C:\dev\tools\Go\1.6*) where I have no golang.org under
Copy the folders manually from GOPATH to GOROOT (just for the sake of the
experiment), makes things work.
You need to copy more than just the golang.org folder (also github.com &
google.golang.org in this case), but it works.
Building on OS-X also works (I'm with Windows 7).
Anyway, I ultimately solved my problem, *by removing all relative path
imports* from our go code.
So, out of curiosity:
1. Would it be true to say we should not use relative path imports in go
2. How is this error message related to such imports? A different message
would be much more helpful.
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 firstname.lastname@example.org.
For more options, visit https://groups.google.com/d/optout.