googlesamples / assistant-sdk-cpp

Example of Google Assistant gRPC in C++
Apache License 2.0
96 stars 44 forks source link

make LANGUAGE=cpp error #77

Open Abhishek-Mohapatra23 opened 3 years ago

Abhishek-Mohapatra23 commented 3 years ago

Hi, I am getting the following error when i run make LANGUAGE=cpp. Can you tell me where I am going wrong?

pi@raspberrypi:~/assistant-sdk-cpp/googleapis $ make LANGUAGE=cpp mkdir -p ./gens protoc --proto_path=.:/usr/local/include --cpp_out=./gens --grpc_out=./gens --plugin=protoc-gen-grpc=/usr/local/bin/grpc_cpp_plugin google/rpc/code.proto /usr/local/bin/grpc_cpp_plugin: program not found or is not executable Please specify a program using absolute path or make sure the program is available in your PATH system variable --grpc_out: protoc-gen-grpc: Plugin failed with status code 1. Makefile:44: recipe for target 'google/rpc/code.pb.cc' failed make: *** [google/rpc/code.pb.cc] Error 1

Fleker commented 3 years ago

Looks like you don't have the gRPC plugin for protoc.

Abhishek-Mohapatra23 commented 3 years ago

Looks like you don't have the gRPC plugin for protoc.

So what do I need to do ?

Fleker commented 3 years ago

You may need to install gRPC.