fatal error C1189: #error : Building MFC application with /MD[d]

fatal error C1189: #error :  Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]

解决办法:

项目点击右键,属性->配置属性->常规->项目默认值,选择“在共享 DLL 中使用 MFC”


你可能感兴趣的:(fatal error C1189: #error : Building MFC application with /MD[d])