google protobuf-3.6.1是现在最新版本,添加了新的特性,看说明

下载地址 https://github.com/protocolbuffers/protobuf/releases

我下载的是protobuf-all-3.6.1.tar.gz 包

新版本不需要执行autogen.sh脚本,直接./configure就行

tar zvxf protobuf-all-3.6.1.tar.gz
cd protobuf-3.6.1
 
./configure --prefix=/usr/local/
 
sudo make  #要编译很久
sudo make check
sudo make install

protoc --version #查看版本

相关文章:

  • 2021-07-16
  • 2021-12-20
  • 2021-11-14
  • 2021-12-31
  • 2021-09-30
  • 2021-05-22
猜你喜欢
  • 2021-11-10
  • 2021-11-25
  • 2022-01-05
  • 2022-12-23
  • 2022-12-23
  • 2021-06-01
  • 2021-12-28
相关资源
相似解决方案