编译出错,请高手指点
我看你有戏 2010-08-15 10:23:18 ------ 已启动生成: 项目: GameBaseLib, 配置: Debug Win32 ------
GameBaseLib - 最新。
------ 已启动生成: 项目: WZQ, 配置: Debug Win32 ------
正在链接...
正在创建库 ../Demo/OutPut/bin/WZQ/WZQ_D.lib 和对象 ../Demo/OutPut/bin/WZQ/WZQ_D.exp
LINK : warning LNK4098: 默认库“MSVCRT”与其他库的使用冲突;使用 /NODEFAULTLIB:library
nafxcwd.lib(appcore.obj) : error LNK2001: 无法解析的外部符号 ___argv
nafxcwd.lib(appcore.obj) : error LNK2001: 无法解析的外部符号 ___argc
nafxcwd.lib(olelink.obj) : error LNK2001: 无法解析的外部符号 __mbctype
nafxcwd.lib(dcmeta.obj) : error LNK2001: 无法解析的外部符号 __mbctype
nafxcwd.lib(filelist.obj) : error LNK2001: 无法解析的外部符号 __mbctype
nafxcwd.lib(apphelp.obj) : error LNK2019: 无法解析的外部符号 __mbctype ,该符号在函数 "void __stdcall AfxFormatStrings(class ATL::CStringT<char,class StrTraitMFC<char,class ATL::ChTraitsCRT<char> > > &,unsigned int,char const * const *,int)" (?AfxFormatStrings@@YGXAAV?$CStringT@DV?$StrTraitMFC@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@IPBQBDH@Z) 中被引用
nafxcwd.lib(viewedit.obj) : error LNK2019: 无法解析的外部符号 __mbctype ,该符号在函数 "public: void __thiscall CEditView::ReadFromArchive(class CArchive &,unsigned int)" (?ReadFromArchive@CEditView@@QAEXAAVCArchive@@I@Z) 中被引用
nafxcwd.lib(oledlgs1.obj) : error LNK2019: 无法解析的外部符号 __mbctype ,该符号在函数 "public: int __thiscall COleInsertDialog::CreateItem(class COleClientItem *)" (?CreateItem@COleInsertDialog@@QAEHPAVCOleClientItem@@@Z) 中被引用
../Demo/OutPut/bin/WZQ/WZQ_D.exe : fatal error LNK1120: 3 个无法解析的外部命令
生成日志保存在“file://d:\webpro\game\Wzq\Debug\BuildLog.htm”中
WZQ - 9 错误,1 警告
---------------------- 完成 ---------------------
生成: 1 已成功, 1 已失败, 0 已跳过
GameBaseLib 这个是静态库,里面使用了静态的MFC 库
../Demo/OutPut/bin/WZQ/WZQ_D.exe 这个调用了GameBaseLib 也使用了MFC静态库
为啥会出现以上问题呢