2017-05-16 2 views
1

gRPC를 사용하여 Google Assistant SDK와 통신하고 싶습니다. 나는 embedded_assistant.proto을 다운로드 CMD에서이 명령을 실행 :Protoc C# Google Assistant .proto "찾을 수 없거나 오류가 있습니다"

구글/API/annotations.proto : 파일을 찾을 수 없습니다

protoc -I=I:"\PC Folders\Downloads\proto3.3.0win32\bin" --csharp_out=$DST_DIR "I:\PC Folders\Downloads\proto3.3.0win32\bin\embedded_assistant.proto" 

그런 다음 나에게 이러한 오류를 준합니다. google/rpc/status.proto : 파일을 찾을 수 없습니다. embedded_assistant.proto : 가져 오기 "google/api/annotations.proto"을 (를) 찾을 수 없거나 오류가있었습니다. embedded_assistant.proto : 가져 오기 "google/rpc/status.proto"을 (를) 찾을 수 없거나 오류가있었습니다. embedded_assistant.proto : 270 : 5 : 'google.rpc.Status'가 정의되지 않았습니다.

어떻게 해결할 수 있습니까? 이 proto 컴파일러를 사용했습니다 : https://github.com/google/protobuf/releases 그리고 protoc-3.3.0-win32.zip이 나오는 맨 아래에 있습니다.

당신은 googleapis/googleapis 저장소에서 해당 파일을 얻을 수 있습니다

답변

관련 문제