[xsd-users] c++11 linker error unresolved external symbol
"...element_map<char, class xsd::cxx::tree::_type>::serialize..."
Paul McGrath
paul.s.mcgrath at gmail.com
Mon Apr 24 09:58:31 EDT 2023
Hello,
I'm getting this linker error message when trying to build a program
against the xsd-4.2.0 header library.
The code is based on the examples/cxx/tree/messaging/dom-parse.cxx
and examples/cxx/tree/messaging/dom-serialization.cxx example.
2>main.obj : error LNK2019: unresolved external symbol "public: static void
__cdecl xsd::cxx::tree::element_map<char,class
xsd::cxx::tree::_type>::serialize(class xercesc_3_2::DOMElement &,class
xsd::cxx::tree::element_type<char,class xsd::cxx::tree::_type> const &)"
(?serialize@?$element_map at DV_type@tree at cxx@xsd@@@tree at cxx@xsd@
@SAXAEAVDOMElement at xercesc_3_2@@AEBV?$element_type at DV_type@tree at cxx@xsd@
@@234@@Z) referenced in function "public: bool __cdecl
bellshire::MatML_Lib::Set<class bellshire::lib::Units_lib>(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >,class bellshire::lib::Units_lib * &)"
(??$Set at VUnits_lib@lib at bellshire@@@MatML_Lib at bellshire
@@QEAA_NV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@
@AEAPEAVUnits_lib at lib@1@@Z)
2>C:\Users\paulm\source\repos\BT-MatML-Lib\build\win64\Debug\BT-MatML-Libd.exe
: fatal error LNK1120: 1 unresolved externals
Best regards and thanks for all your help.
Paul
More information about the xsd-users
mailing list