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 
来啊,造作啊
原文地址:https://www.cnblogs.com/linga/p/14847747.html