编译 protobuf 3.6.1

GitHub:下载地址:https://github.com/google/protobuf

编译 protobuf

下载protobuf 3.6.1:https://github.com/protocolbuffers/protobuf/releases/tag/v3.6.1
并解压到英文目录下

在这里插入图片描述
下载 cmake:https://cmake.org 我用的是 https://cmake.org/files/v3.11/cmake-3.11.0-rc2-win64-x64.msi
在这里插入图片描述
用vs2015打开 D:/CmakeApps/protobuf-cpp-3.6.1/protobuf-3.6.1/release/x642015中的 protobuf.sln
在这里插入图片描述
在这里插入图片描述
目录中就是生成的库

使用 protobuf

protobuf 使用请参考:https://blog.csdn.net/u012020854/article/details/54890507

发布了52 篇原创文章 · 获赞 6 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/u012020854/article/details/104514865