我是靠谱客的博主 发嗲毛巾,这篇文章主要介绍ProtoBuffer-C++环境搭建,现在分享给大家,希望可以做个参考。

参考:https://github.com/google/protobuf/blob/master/src/README.md

代码Git: https://github.com/google/protobuf

To build protobuf from source, the following tools are needed:

  • autoconf
  • automake
  • libtool
  • curl (used to download gmock)
  • make
  • g++
  • unzip

 

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

 

tips: 可以根据autogen.sh手动下载gmock与gtest

 

转载于:https://www.cnblogs.com/yanghangjunHobot/p/8504835.html

最后

以上就是发嗲毛巾最近收集整理的关于ProtoBuffer-C++环境搭建的全部内容,更多相关ProtoBuffer-C++环境搭建内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(141)

评论列表共有 0 条评论

立即
投稿
返回
顶部