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 

在這裏插入圖片描述

發佈了238 篇原創文章 · 獲贊 19 · 訪問量 11萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章