I tried running some of the protoc commands manually on a proto file I have created, but I've only been able to get the second command to work.
$ protoc -I ../../protos --grpc_out=. --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` ../../protos/route_guide.proto
$ protoc -I ../../protos --cpp_out=. ../../protos/route_guide.proto
The second command works as expected, but the first command spits out the following:
route_guide.pb.h: Tried to insert into file that doesn't exist.
route_guide.pb.h: Tried to insert into file that doesn't exist.
In order to see if this was user error, I cloned the example code and attempted to run the makefile, but I get similar results:
$ make
protoc -I ../../protos --cpp_out=. ../../protos/route_guide.proto
g++ -std=c++11 -I/home/me/ws/var/release/install/include -I/usr/local/include -pthread -c -o route_guide.pb.o
route_guide.pb.ccprotoc -I ../../protos --grpc_out=. --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` ../../protos/route_guide.proto
route_guide.pb.h: Tried to insert into file that doesn't exist.
route_guide.pb.h: Tried to insert into file that doesn't exist.
Any guidance?