Ubuntu安装Protocol Buffer

https://github.com/google/protobuf/releases/下载Source code

安装 Protocol Buffer 依赖

sudo apt install autoconf automake libtool curl

解压,进入解压后的文件夹,运行 autogen.sh 脚本

./autogen.sh

运行 configure.sh 脚本

./configure

编译未编译的依赖包

make

检查依赖包是否完整

make check

安装

sudo make install

配置动态链接库

sudo ldconfig

检查 Protocol Buffer 是否安装成功

protoc --version

相关文章

文章浏览阅读2.3k次,点赞4次,收藏22次。最近安装了CARLA预...
文章浏览阅读6.3k次,点赞5次,收藏15次。在清华镜像中下载U...
文章浏览阅读5k次。linux环境, python3.7.问题描述: 安装...
文章浏览阅读4.2k次,点赞4次,收藏17次。要安装这个 standa...
文章浏览阅读894次,点赞51次,收藏31次。在安卓使用vscode主...