ubuntu安装protobuf

protobuf在ubuntu 下安装 【版本16.04】
官方地址:https://github.com/google/protobuf/blob/master/src/README.md

# sudo apt-get install autoconf automake libtool curl make g++ unzip
# git clone https://github.com/google/protobuf.git
# cd protobuf
# git submodule update --init --recursive

# ./autogen.sh
# ./configure
# make
# make check
# sudo make install
# sudo ldconfig  #refresh shared library cache.
 

猜你喜欢

转载自blog.csdn.net/halazi100/article/details/85846858
今日推荐