Total Pageviews

Friday 13 April 2018

编译protobuf

git clone https://github.com/google/protobuf
cd protobuf
chmod 755 autogen.sh
./autogen.sh
./configure
make
make install
ldconfig

root@ar:~/protobuf# which protoc
/usr/local/bin/protoc
root@ar:~/protobuf#
root@ar:~/protobuf# protoc --version
libprotoc 3.5.1
root@ar:~/protobuf#

项目地址:https://github.com/google/protobuf
https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.bz2

No comments:

Post a Comment