下载安装cmake,https://cmake.org/protobuf-3.10.0解压缩\protobuf-3.1.0\cmake目录下建立子目录“vs2015”运行cmake-gui,如图 vs2015目录下生产vs工程文件,打开工程文件,进行编译