WIN环境 下载与安装
下载
https://github.com/protocolbuffers/protobuf/releases
官方git地址,目前最新的是3.8版本;
我是c++环境,选择cpp下载包
protobuf-cpp-3.8.0.tar.gz
安装
解压后,打开protobuf-3.8.0\README.md 文件,里边明确指出了c++的安装参考文件:
Protocol Compiler Installation
The protocol compiler is written in C++. If you are using C++, please follow the C++ Installation Instructions to install protoc along with the C++ runtime.
链到如下文件:
protobuf-3.8.0\src\README.md
区分linux和win的安装方法;win又链到了另外一个文件:
To build from source using Microsoft Visual C++, see cmake/README.m