目录
下载安装grpc
下载源码,一般使用git较为方便,源码地址:https://github.com/grpc/grpc
git clone https://github.com/grpc/grpc.git
cd grpc
git submodule update –init //这里记得一定要做,否则缺少第三方库导致编译失败
make
make install
下载安装protobuf
下载源码,下载地址:https://github.com/protocolbuffers/protobuf
git clone https://github.com/protocolbuffers/protobuf.git
cd protobuf