近来在折腾Windows,因为要考虑跨平台编译的问题问题,所以选用了CMake+git-bash 依赖环境 VisualStudio: https://visualstudio.microsoft.com/zh-hans/?rr=https%3A%2F%2Fcn.bing.com%2Fvisualstudio.microsoft.com CMake: CMakecmake.org git-windows: Git for Windowsgitforwindows.org 编译步骤 Step1: 打开VS的交叉编译命令行工具