参考博客原址:https://blog.csdn.net/u014023993/article/details/38015435
1、错误 : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]。
右击项目——>属性——>配置属性——>高级——>MFC的使用——>选择“在共享DLL中使用MFC”
详细的解决办法可查博客原址。