raspberry pi install protobufs

raspberry pi install protobufs

protobuf github仓库地址https://github.com/protocolbuffers/protobuf/releases

没有提供armv7l 32位的版本,下载cpp的tar包,编译安装。

下载c++的tar包,protobuf-cpp-x.xx.x.tar.gz

wget https://github.com/protocolbuffers/protobuf/releases/download/v3.17.2/protobuf-cpp-3.17.2.tar.gz
tar -zxf protobuf-cpp-3.17.2.tar.gz 
cd protobuf-3.17.2/
./configure --prefix=/usr/local/protoc
sudo make && sudo make install
/usr/local/protoc/bin/protoc 
/usr/local/protoc/bin/protoc --version 
posted @ 2021-06-04 00:11  咕咚!  阅读(164)  评论(0编辑  收藏  举报