2018-12-03-google-protobuf-install
title | category | layout | tags | date | |
---|---|---|---|---|---|
ubuntu中安装google protobuf
|
other
|
post
|
|
2018-12-03 18:00:24
|
安装
$ sudo apt-get install autoconf automake libtool curl make g++ unzip
$ git clone https://github.com/protocolbuffers/protobuf.git
$ cd protobuf
$ git submodule update --init --recursive
$ ./autogen.sh
$ ./configure
$ make
$ make check
$ sudo make install
$ sudo ldconfig # refresh shared library cache.