编译
protobuf
备注:如果需要grpc可以不用特意安装protobuf
教程
https://developers.google.cn/protocol-buffers/docs/tutorials
$ git clone https://github.com/protocolbuffers/protobuf.git
$ cd protobuf
$ ./configure --prefix=$PWD/output
$ make
$ sudo make install
$ sudo ln -s /home/wilson/net/protobuf-master/output/bin/protoc /usr/local/bin/protoc
grpc
$ git clone --recurse-submodules -b v1.33.1 https://github.com/grpc/grpc
$ git submodule update --init
$ cmake ..
$ make