VS2017编译错误:#error: Building MFC application with /MD[d] (CRT

时间:2021-11-29 05:17:03

VS2017编译错误:#error: Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version

先选择“解决方案管理器”,

然后按如下路径:

项目-》属性-》C/C -》代码生成-》运行库,

将“多线程调试DLL(/MDd)”改成“多线程(/MT)”或“多线程调试(/MTd)”。