| 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.
本文详细介绍了在Ubuntu系统中安装Google Protobuf的过程,包括必要的依赖包安装、从GitHub克隆Protobuf源码、更新子模块、生成配置文件、编译及检查,最后进行安装并刷新共享库缓存。
1341

被折叠的 条评论
为什么被折叠?



