- 错误1
错误1error MSB8031: Building an MFC project for a non-Unicode character set is deprecated. You must change the project property to Unicode or download an additional library. See http://go.microsoft.com/fwlink/p/?LinkId=286820 for more information.C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets3765BridgeDetection
解决办法:安装vc_mbcsmfc即可—>下载地址
下载后点击该程序,进行安装即可。
- 错误2
C:\ProgramFiles(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets(64,5): error MSB8020: The build tools for v140 (Platform Toolset = ‘v140’) cannot be found. To build using the v140 build tools, please install v140 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting “Upgrade Solution…”.
本文解决MFC项目编译中遇到的两个典型错误:一是针对非Unicode字符集的弃用警告,解决方法为安装vc_mbcsmfc库;二是找不到v140构建工具的错误提示,解决途径为更改项目属性中的平台工具集。
1043

被折叠的 条评论
为什么被折叠?



