当前位置 : 主页 > 大数据 > 区块链 >

protobuf-c ubuntu-16.04

来源:互联网 收集:自由互联 发布时间:2021-06-22
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

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
网友评论