VC\atlmfc\include\afx.h(24): 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]

在查阅相关资料后发现:静态链接mfc库的话,那么运行库也得设置成静态链接。

posted on 2021-01-09 07:48  okgogo2000  阅读(245)  评论(0编辑  收藏  举报