I'm executing the following command in a dir that has a single proto file, which previously compiled fine until i added the gogoproto import in.
protoc --gogo_out=. *.proto
The error output:
/path-to/go/src/github.com/gogo/protobuf/gogoproto/gogo.proto: File not found.
term.proto: Import "/path-to/go/src/github.com/gogo/protobuf/gogoproto/gogo.proto" was not found or had errors.
Notes:
1. That file definitely exists, i can use the exact path displayed in the error message to get to it. Permissions are fine.
2. I thought it might be something silly i was doing, so i used the example proto schema file instead of mine and the same thing happens.
3. I saw in the install instructions you may need to use the following, but this didn't help either:
protoc --gogo_out=. -I=.:github.com/gogo/protobuf/protobuf *.proto
I'm on OSX Yosemite, the protoc version is 2.6.0. Any ideas? Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "gogoprotobuf" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gogoprotobuf...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web, visit https://groups.google.com/d/msgid/gogoprotobuf/c9079de4-bbce-40b7-a9ba-f014ca1d0182n%40googlegroups.com.