在vc 6.0上构建subversion 1.7.8 libsvn_ra-1.dll时出现链接器错误。
我在项目设置中的预处理器指令中包含了XML_STATIC,并使用了MFC共享dll。
libneon.lib(ne_xml.obj) : error LNK2001: unresolved external symbol
__imp__XML_SetXmlDeclHandler
libneon.lib(ne_xml.obj) : error LNK2001: unresolved external symbol
__imp__XML_SetUserData
libneon.lib(ne_xml.obj) : error LNK2001: unresolved external symbol
__imp__XML_SetCharacterDataHandler
libneon.lib(ne_xml.obj) : error LNK2001: unresolved external symbol
__imp__XML_SetElementHandler
libneon.lib(ne_xml.obj) : error LNK2001: unresolved external symbol
__imp__XML_ParserCreate
libneon.lib(ne_xml.obj) : error LNK2001: unresolved external symbol
__imp__XML_ErrorString
libneon.lib(ne_xml.obj) : error LNK2001: unresolved external symbol
__imp__XML_GetErrorCode
libneon.lib(ne_xml.obj) : error LNK2001: unresolved external symbol __imp__XML_Parse
libneon.lib(ne_xml.obj) : error LNK2001: unresolved external symbol
__imp__XML_ParserFree
..\..\..\\Release\subversion\libsvn_ra\libsvn_ra-1.dll : fatal error LNK1120: 10
unresolved externals
Error executing link.exe.