Unable to generate gRPC pbs in Go - missing files

474 views
Skip to first unread message

alex

unread,
Aug 7, 2015, 5:49:47 AM8/7/15
to Google APIs
$ make LANGUAGE=go
mkdir -p ./gens
protoc --proto_path=.:/usr/local/include --go_out=plugins=grpc:./gens google/api/*.proto
google/protobuf/descriptor.proto: File not found.
google/api/annotations.proto: Import "google/protobuf/descriptor.proto" was not found or had errors.
google/api/annotations.proto:26:8: "google.protobuf.MethodOptions" is not defined.
[libprotobuf WARNING google/protobuf/descriptor.cc:6117] Warning: Unused import: "google/api/annotations.proto" imports "google/api/http.proto" which is not used.
make: *** [google/api/annotations.pb.go] Error 1

alex

unread,
Aug 7, 2015, 9:43:20 AM8/7/15
to Google APIs
Sorry, forgot to mention. I was referring to https://github.com/google/googleapis
Reply all
Reply to author
Forward
0 new messages