VS2010中Debug正确但release错误,要求MFC调试或者定义_AFXDLL?
Debug正确,但release出现错误1>d:\software\VS2010\VC\atlmfc\include\afx.h(24):fatalerrorC1189:...
Debug正确,但release出现错误1>d:\software\VS2010\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 shared dll ,就会导致有些“cannot convert from 'char [270]' to 'LPWSTR'”的错误,请问如何解决?多谢啦! 展开
如果按他要求使用了MFC shared dll ,就会导致有些“cannot convert from 'char [270]' to 'LPWSTR'”的错误,请问如何解决?多谢啦! 展开
1个回答
展开全部
追问
啊,谢谢您!这个问题解决了!但是又出现
glui32.lib(glui_listbox.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Final Mesh Viewer.obj
1>glui32.lib(glui.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Final Mesh Viewer.obj
等错误,是包含库的问题么?怎么处理呢?
追答
你是不是选择了/MDd, 试试/MD或者/MT?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询