protobuf
QilongPan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Windows下google/protobuf v3.5.1--VS2017 x86 x64编译、使用
下载 protobuf 、cmake https://github.com/google/protobuf/releases https://cmake.org/download/打开cmake1.你下载的protubuf目录中的cmake目录 2.protubuf编译后的目录 然后点configure会自动检测出你的vs,一切默认就好,然后点 finish然后...转载 2018-07-21 11:49:04 · 1298 阅读 · 1 评论 -
protoc 生成C++代码
1.安装protoc 2.把protoc.exe增加到环境变量path,这样方便运行protoc 3.书写proto文件。eg:test.protosyntax = "proto2";message Book{ optional string name = 1; optional int32 pages = 2; optional float price =...转载 2018-07-21 16:33:57 · 2499 阅读 · 0 评论
分享