wxxml link errors

97 views
Skip to first unread message

Littlefield, Tyler

unread,
Apr 29, 2013, 3:20:58 PM4/29/13
to wx-u...@googlegroups.com
Hello:
I'm trying to compile something that uses wxrichtext, but I'm getting
all these link errors from wxxml.
If anyone could help me I'd really appreciate it.
1>wxbase29ud_xml.lib(xml.obj) : error LNK2019: unresolved external
symbol _XML_ParserCreate referenced in function "public: virtual bool
__thiscall wxXmlDocument::Load(class wxInputStream &,class wxString
const &,int)" (?Load@wxXmlDocument@@UAE_NAAVwxInputStream@@ABVwxString@@H@Z)
1>wxbase29ud_xml.lib(xml.obj) : error LNK2019: unresolved external
symbol _XML_SetElementHandler referenced in function "public: virtual
bool __thiscall wxXmlDocument::Load(class wxInputStream &,class wxString
const &,int)" (?Load@wxXmlDocument@@UAE_NAAVwxInputStream@@ABVwxString@@H@Z)
1>wxbase29ud_xml.lib(xml.obj) : error LNK2019: unresolved external
symbol _XML_SetCharacterDataHandler referenced in function "public:
virtual bool __thiscall wxXmlDocument::Load(class wxInputStream &,class
wxString const &,int)"
(?Load@wxXmlDocument@@UAE_NAAVwxInputStream@@ABVwxString@@H@Z)
1>wxbase29ud_xml.lib(xml.obj) : error LNK2019: unresolved external
symbol _XML_SetProcessingInstructionHandler referenced in function
"public: virtual bool __thiscall wxXmlDocument::Load(class wxInputStream
&,class wxString const &,int)"
(?Load@wxXmlDocument@@UAE_NAAVwxInputStream@@ABVwxString@@H@Z)
1>wxbase29ud_xml.lib(xml.obj) : error LNK2019: unresolved external
symbol _XML_SetCommentHandler referenced in function "public: virtual
bool __thiscall wxXmlDocument::Load(class wxInputStream &,class wxString
const &,int)" (?Load@wxXmlDocument@@UAE_NAAVwxInputStream@@ABVwxString@@H@Z)
1>wxbase29ud_xml.lib(xml.obj) : error LNK2019: unresolved external
symbol _XML_SetCdataSectionHandler referenced in function "public:
virtual bool __thiscall wxXmlDocument::Load(class wxInputStream &,class
wxString const &,int)"
(?Load@wxXmlDocument@@UAE_NAAVwxInputStream@@ABVwxString@@H@Z)
1>wxbase29ud_xml.lib(xml.obj) : error LNK2019: unresolved external
symbol _XML_SetDefaultHandler referenced in function "public: virtual
bool __thiscall wxXmlDocument::Load(class wxInputStream &,class wxString
const &,int)" (?Load@wxXmlDocument@@UAE_NAAVwxInputStream@@ABVwxString@@H@Z)
1>wxbase29ud_xml.lib(xml.obj) : error LNK2019: unresolved external
symbol _XML_SetUnknownEncodingHandler referenced in function "public:
virtual bool __thiscall wxXmlDocument::Load(class wxInputStream &,class
wxString const &,int)"
(?Load@wxXmlDocument@@UAE_NAAVwxInputStream@@ABVwxString@@H@Z)
1>wxbase29ud_xml.lib(xml.obj) : error LNK2019: unresolved external
symbol _XML_SetUserData referenced in function "public: virtual bool
__thiscall wxXmlDocument::Load(class wxInputStream &,class wxString
const &,int)" (?Load@wxXmlDocument@@UAE_NAAVwxInputStream@@ABVwxString@@H@Z)
1>wxbase29ud_xml.lib(xml.obj) : error LNK2019: unresolved external
symbol _XML_Parse referenced in function "public: virtual bool
__thiscall wxXmlDocument::Load(class wxInputStream &,class wxString
const &,int)" (?Load@wxXmlDocument@@UAE_NAAVwxInputStream@@ABVwxString@@H@Z)

--
Take care,
Ty
http://tds-solutions.net
The aspen project: a barebones light-weight mud engine:
http://code.google.com/p/aspenmud
He that will not reason is a bigot; he that cannot reason is a fool; he that dares not reason is a slave.

Vadim Zeitlin

unread,
Apr 29, 2013, 6:51:38 PM4/29/13
to wx-u...@googlegroups.com
On Mon, 29 Apr 2013 13:20:58 -0600 Littlefield, Tyler wrote:

LT> I'm trying to compile something that uses wxrichtext, but I'm getting
LT> all these link errors from wxxml.
LT> If anyone could help me I'd really appreciate it.

You need to link with wxexpat.lib. But it's really easy to find the answer
yourself: just look at the link command used by the richtext sample project
or make files.

Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Reply all
Reply to author
Forward
0 new messages