如何编译Google Assistant v1alpha2?

时间:2018-12-13 05:24:03

标签: protocol-buffers google-assistant-sdk google-assist-api protobuf-c

我正在使用https://github.com/googleapis/googleapis

中的Google助手API

我尝试按照

所述使用protobuf编译assistantapi proto。

https://developers.google.com/protocol-buffers/docs/reference/objective-c-generated

当我尝试运行protoc --proto_path = google / assistant / embedded / v1alpha2 / --objc_out = build / gen google / assistant / embedded / v1alpha2 / embedded_assistant.proto

我收到错误消息

google/api/annotations.proto: File not found.
google/type/latlng.proto: File not found.
embedded_assistant.proto: Import "google/api/annotations.proto" was not found or had errors.
embedded_assistant.proto: Import "google/type/latlng.proto" was not found or had errors.
embedded_assistant.proto:460:5: "google.type.LatLng" is not defined.

如何解决此问题并编译googleapis

0 个答案:

没有答案