安装
下载https://github.com/google/protobuf/releases ##Source code (zip)##
./autogen.sh
./configure
make
make check
make install
- 1
- 2
- 3
- 4
- 5
- 6
卸载
which protoc
rm /usr/local/bin/protoc
- 1
- 2
- 3
支持C
https://github.com/protobuf-c/protobuf-c/
https://github.com/protobuf-c/protobuf-c/wiki/Examples
本文介绍了如何从源代码安装Google的Protocol Buffers (Protobuf),包括下载源代码、配置及编译步骤,并提供了卸载指导。此外还推荐了C语言的Protobuf库及其示例。
930

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



