美文网首页
Ubuntu Protobuf compile

Ubuntu Protobuf compile

作者: XBruce | 来源:发表于2021-08-24 22:08 被阅读0次

See https://github.com/protocolbuffers/protobuf/blob/master/src/README.md:

Prerequesites

$ sudo apt-get install autoconf automake libtool curl make g++ unzip

Installation

  1. From this page, download the protobuf-all-[VERSION].tar.gz.
  2. Extract the contents and change in the directory
  3. ./configure
  4. make
  5. make check
  6. sudo make install
  7. sudo ldconfig # refresh shared library cache.

Check if it works

$ protoc --version
libprotoc 3.6.1

相关文章

网友评论

      本文标题:Ubuntu Protobuf compile

      本文链接:https://www.haomeiwen.com/subject/mcujiltx.html