ubuntu 16.04安装protobuf

下载源码

$git clone https://github.com/protocolbuffers/protobuf.git
$cd protobuf/
$git submodule update --init --recursive

编译步骤

$sudo apt-get install autoconf automake libtool curl make g++ unzip
$./autogen.sh 
$./configure 
$make
$make check
$sudo make install
$sudo ldconfig
protoc  --version 

在这里插入图片描述

发布了263 篇原创文章 · 获赞 23 · 访问量 12万+

猜你喜欢

转载自blog.csdn.net/luteresa/article/details/104370555
今日推荐