vs 2015 cocos2dx 3.10 lua protobuf
1. 下载 protobuf 源码
https://github.com/bnnswyp/protobuf/tree/master/protobuf-2.5.0
解压后的文件列表如下所示
其中 vsprojects 文件夹为 protobuf 的vs 工程
2. 打开 protobuf.sln 编译 工程视图如下
编译报错 <hash_map> is deprecated and will be REMOVED ...
解决:项目->属性->配置属性->C/C++->预处理器->编辑 添加
_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
编译报错: