如题。
编译器报错如下:
错误 1 error MSB8020: The builds tools for v140 (Platform Toolset = ‘v140’) cannot be found. To build using the v140 build tools, either click the Project menu or right-click the solution, and then select “Update VC++ Projects…”. Install v140 to build using the v140 build tools. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets 44
解决方案:
打开项目属性->配置属性->常规->平台工具集 。选择适合自己的版本。