I am trying to migrate my application from VS 2010 to VS2017. My 3rd party
library includes Xalan 1.11 and Xerces 3.2.2 . While compiling one of the
projects ,I was facing the below error. While building the Xerces library I
have treated "XmlCh type  as wchar_t" . It will be highly appreciated if
anyone could figure out the possible reason for the same. 

2>XPathWrapper.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
xalanc_1_11::XalanDOMString::XalanDOMString(wchar_t const *,class
xercesc_3_2::MemoryManager &,unsigned int)"
(__imp_??0XalanDOMString@xalanc_1_11@@QAE@PB_WAAVMemoryManager@xercesc_3_2@@I@Z)
referenced in function "private: unsigned long __thiscall
SAFe::DOMParser::XPathWrapper::GetXalanNodes(class
std::basic_string<wchar_t,struct std::char_traits&lt;wchar_t>,class
std::allocator<wchar_t> > const &,class xalanc_1_11::NodeRefList &)const "
(?GetXalanNodes@XPathWrapper@DOMParser@SAFe@@ABEKABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@AAVNodeRefList@xalanc_1_11@@@Z)
2>XPathWrapper.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: wchar_t const * __thiscall
xalanc_1_11::XalanDOMString::c_str(void)const "
(__imp_?c_str@XalanDOMString@xalanc_1_11@@QBEPB_WXZ) referenced in function
"private: unsigned long __thiscall
SAFe::DOMParser::XPathWrapper::GetXalanNodes(class
std::basic_string<wchar_t,struct std::char_traits&lt;wchar_t>,class
std::allocator<wchar_t> > const &,class xalanc_1_11::NodeRefList &)const "
(?GetXalanNodes@XPathWrapper@DOMParser@SAFe@@ABEKABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@AAVNodeRefList@xalanc_1_11@@@Z)
2>XPathWrapper.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: class xalanc_1_11::NodeRefList & __thiscall
xalanc_1_11::XPathEvaluator::selectNodeList(class xalanc_1_11::NodeRefList
&,class xalanc_1_11::DOMSupport &,class xalanc_1_11::XalanNode *,wchar_t
const *,class xalanc_1_11::PrefixResolver const &)"
(__imp_?selectNodeList@XPathEvaluator@xalanc_1_11@@QAEAAVNodeRefList@2@AAV32@AAVDOMSupport@2@PAVXalanNode@2@PB_WABVPrefixResolver@2@@Z)
referenced in function "private: unsigned long __thiscall
SAFe::DOMParser::XPathWrapper::GetXalanNodes(class
std::basic_string<wchar_t,struct std::char_traits&lt;wchar_t>,class
std::allocator<wchar_t> > const &,class xalanc_1_11::NodeRefList &)const "
(?GetXalanNodes@XPathWrapper@DOMParser@SAFe@@ABEKABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@AAVNodeRefList@xalanc_1_11@@@Z)
2>.\..\..\exe\release\i386/Common.dll : fatal error LNK1120: 3 unresolved
externals


Best Regards,
Girish





--
Sent from: 
http://apache-xml-project.6118.n7.nabble.com/Xalan-C-Users-f21283.html

Reply via email to