grpc / grpc.io

Repository for the gRPC website and documentation

Home Page:https://grpc.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: 'google/protobuf/compiler/code_generator.h' file not foundrt

baihe5910 opened this issue · comments

commented

sudo make install-plugin

then error :

fatal error: 'google/protobuf/compiler/code_generator.h' file not found

This seems to be about grpc-web. Can you help @sampajano?

@dfawley thanks for the CC!


@baihe5910 Hi! I think the problem is that you have not checked out the submodules, which is our build dependency.

Run the following command and it should fix things for you:

./scripts/init_submodules.sh

Hope it works!


Btw could you give a pointer to see where you got the instruction to run the command on grpc.io? Maybe we can update the documentations.

If it's grpc-web specific issues, please file them directly at at https://github.com/grpc/grpc-web directly next time — it would help save some triaging time.

Thanks! :)