1.在github上克隆protobuf源码:
git clone https://github.com/google/protobuf
2.解压压缩包:
unzip protobuf-master.zip
3.安装所需要的工具:
4.自动生成configure配置文件
5.配置环境:
6.编译源代码:make
7.安装:
1.在github上克隆protobuf源码:
git clone https://github.com/google/protobuf
2.解压压缩包:
unzip protobuf-master.zip
3.安装所需要的工具:
4.自动生成configure配置文件
5.配置环境:
6.编译源代码:make
7.安装: