vs2005 添加 tinyxml编译出现一堆连接异常
发布时间:2011-06-23 14:25:43 文章来源:www.iduyao.cn 采编人员:星星草
vs2005 添加 tinyxml编译出现一堆连接错误
首先 ,我将所有的tinyxml h cpp文件加入工程,然后添加了 vs2010编译的 lib库 ! 编译运行出现如下提示:
不经常逛坛子 ,分不多 见谅 各位~
>tinyxml.obj : error LNK2005: "struct _iobuf * __cdecl TiXmlFOpen(char const *,char const *)" (?TiXmlFOpen@@YAPAU_iobuf@@PBD0@Z) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: virtual __thiscall TiXmlNode::~TiXmlNode(void)" (??1TiXmlNode@@UAE@XZ) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "protected: void __thiscall TiXmlNode::CopyTo(class TiXmlNode *)const " (?CopyTo@TiXmlNode@@IBEXPAV1@@Z) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: void __thiscall TiXmlNode::Clear(void)" (?Clear@TiXmlNode@@QAEXXZ) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: class TiXmlNode * __thiscall TiXmlNode::ReplaceChild(class TiXmlNode *,class TiXmlNode const &)" (?ReplaceChild@TiXmlNode@@QAEPAV1@PAV1@ABV1@@Z) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: bool __thiscall TiXmlNode::RemoveChild(class TiXmlNode *)" (?RemoveChild@TiXmlNode@@QAE_NPAV1@@Z) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: class TiXmlNode const * __thiscall TiXmlNode::FirstChild(char const *)const " (?FirstChild@TiXmlNode@@QBEPBV1@PBD@Z) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: class TiXmlNode const * __thiscall TiXmlNode::LastChild(char const *)const " (?LastChild@TiXmlNode@@QBEPBV1@PBD@Z) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: class TiXmlNode const * __thiscall TiXmlNode::IterateChildren(class TiXmlNode const *)const " (?IterateChildren@TiXmlNode@@QBEPBV1@PBV1@@Z) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: class TiXmlNode const * __thiscall TiXmlNode::NextSibling(char const *)const " (?NextSibling@TiXmlNode@@QBEPBV1@PBD@Z) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: class TiXmlNode const * __thiscall TiXmlNode::PreviousSibling(char const *)const " (?PreviousSibling@TiXmlNode@@QBEPBV1@PBD@Z) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: class TiXmlElement const * __thiscall TiXmlNode::FirstChildElement(void)const " (?FirstChildElement@TiXmlNode@@QBEPBVTiXmlElement@@XZ) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: class TiXmlElement const * __thiscall TiXmlNode::FirstChildElement(char const *)const " (?FirstChildElement@TiXmlNode@@QBEPBVTiXmlElement@@PBD@Z) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: class TiXmlElement const * __thiscall TiXmlNode::NextSiblingElement(void)const " (?NextSiblingElement@TiXmlNode@@QBEPBVTiXmlElement@@XZ) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: class TiXmlElement const * __thiscall TiXmlNode::NextSiblingElement(char const *)const " (?NextSiblingElement@TiXmlNode@@QBEPBVTiXmlElement@@PBD@Z) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: class TiXmlDocument const * __thiscall TiXmlNode::GetDocument(void)const " (?GetDocument@TiXmlNode@@QBEPBVTiXmlDocument@@XZ) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: virtual bool __thiscall TiXmlElement::Accept(class TiXmlVisitor *)const " (?Accept@TiXmlElement@@UBE_NPAVTiXmlVisitor@@@Z) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: char const * __thiscall TiXmlElement::GetText(void)const " (?GetText@TiXmlElement@@QBEPBDXZ) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: bool __thiscall TiXmlDocument::LoadFile(struct _iobuf *,enum TiXmlEncoding)" (?LoadFile@TiXmlDocument@@QAE_NPAU_iobuf@@W4TiXmlEncoding@@@Z) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: bool __thiscall TiXmlDocument::SaveFile(struct _iobuf *)const " (?SaveFile@TiXmlDocument@@QBE_NPAU_iobuf@@@Z) 已经在 JSClean.obj 中定义
1>tinyxml.obj : error LNK2005: "public: virtual void __thiscall TiXmlDocument::Print(struct _iobuf *,int)const " (?Print@TiXmlDocument@@UBEXPAU_iobuf@@H@Z) 已经在 JSClean.obj 中定义
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。
其他相似内容:
-
关于visual studio 2005的工程文件*.vcproj的问题
请问:Visual Studio 2005 新建一个工程之后,会自动生产一个*.vcproj的一个文件,这...
-
用MFC画图的问题
我现在要用随机数产生300个固定的点保存在数组中,并在ondraw里画出这300个点,而且通过定时器使这300个点做运动。...
-
VS2010中的C++怎么连接数据库?
之前一直用VC++6.0的、现在想学学用最新的VS、但是感觉连接数据库和之前不一样了、具体应该怎么弄...
-
CLI编程 高手帮忙
我现在用C++/CLI 混编,
我有一个方法, 是调用一个C 的类库 得到一个 char * 的值
现在我...
-
新手求教::VC.NET2003里面的"添加变量"菜单变灰了,怎么弄?
最近学着用.net写程序,以前用的是6.0,不知道为什么我设计的EDIT Con...
-
刚学习vc.net 请教一个String做参数的问题,请高手指教一下
下面的代码为什么不能编译呢,出现这个错误呢
.\clr.cpp(12) : error C3...
-
VS2003中通过ADO取SQL2003中bigint 负值变正值的问题,求助!
在SQL2003中 数据库中假设 一个bigint类型的数据位-1234这样的值,通过如...
-
新手学习VC用那个版本的编译器好!
新手学习VC用那个版本的编译器好!?
------解决方案--------------------
VC++6.0
------解决...
-
正则表达式
有这样的字符串
"1,',2"",3"
希望将单个的"替换成单引号,将连续两个的""替换成一个双引号。
正则表达式该如何写。
...
-
为什么<<精通MFC>>附带的源程序不能编译成功
vc2010编译后有两个错误提示,分别如下,
错误一:
1>c:\program files\microsoft vi...