protobuf-c ubuntu-16.04

Download Protobuf

git clone https://github.com/google/protobuf.git

Download Protobuf-c

git clone https://github.com/protobuf-c/protobuf-c.git

Ubuntu install

sudo apt-get install libtool automake autoreconfig

Compile Protobuf

./autogen.sh
./configure --prefix=/usr/local/protobuf --libdir=/usr/lib
make && sudo make install

Compile Protobuf-c

./autogen.sh
./configure --prefix=/usr/local/protobuf-c --libdir=/usr/lib/
make & sudo make install
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章