16,473
社区成员
发帖
与我相关
我的任务
分享
1>xpcomglue.lib(nsMemory.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(nsSample.obj 中)
1>xpcomglue.lib(nsXPCOMGlue.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(nsSample.obj 中)
1>xpcomglue.lib(nsStringAPI.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(nsSample.obj 中)
1>xpcomglue.lib(FileUtils.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(nsSample.obj 中)
1>xpcomglue.lib(nsCRTGlue.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(nsSample.obj 中)
1>xpcomglue.lib(nsTArray.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(nsSample.obj 中)
1>nsSample.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum tag_nsresult __thiscall GenericClassInfo::QueryInterface(struct nsID const &,void * *)" (?QueryInterface@GenericClassInfo@@UAE?AW4tag_nsresult@@ABUnsID@@PAPAX@Z)
1>nsSample.obj : error LNK2001: 无法解析的外部符号 "public: virtual unsigned int __thiscall GenericClassInfo::AddRef(void)" (?AddRef@GenericClassInfo@@UAEIXZ)
1>nsSample.obj : error LNK2001: 无法解析的外部符号 "public: virtual unsigned int __thiscall GenericClassInfo::Release(void)" (?Release@GenericClassInfo@@UAEIXZ)
(... 略)
(我的感觉是 XPCOM 变化如此之快,试了好几个版本我都没有编译成功,即使编译成功也没应用成功过。。
目前网上的教程都不适用当前的源码版本……头大啊)