[xsd-users] Which library?

Bidski bidski at bigpond.net.au
Fri Feb 12 06:08:42 EST 2010


ok, the definitions for the three unresolved externals that i mentioned are in 

    #include <xsd/cxx/tree/bits/literals.hxx>

but including it in my project doesnt remove the errors, any thoughts on this?

i compiled my XML xchema file as follows     

    xsd cxx-tree --char-type wchar_t --hxx-suffix .h --cxx-suffix .cpp --generate-serialization inventory.xsd

the rest of my project is running in unicode so i figured i should follow suit with this part as well.



Bidski



From: Bidski 
Sent: Friday, February 12, 2010 9:52 PM
To: CodeSynthesis XSD 
Subject: Which library?


Hi all,

Can anyone tell me what library these unresolved externals are from?

Error 1 error LNK2019: unresolved external symbol "char const * __cdecl xsd::cxx::tree::bits::nan<char>(void)" (??$nan at D@bits at tree@cxx at xsd@@YAPBDXZ) referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl xsd::cxx::tree::bits::insert<char>(struct xsd::cxx::tree::as_double<double> const &)" (??$insert at D@bits at tree@cxx at xsd@@YA?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@ABU?$as_double at N@123@@Z) Inventory.obj

Error 2 error LNK2019: unresolved external symbol "char const * __cdecl xsd::cxx::tree::bits::negative_inf<char>(void)" (??$negative_inf at D@bits at tree@cxx at xsd@@YAPBDXZ) referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl xsd::cxx::tree::bits::insert<char>(struct xsd::cxx::tree::as_double<double> const &)" (??$insert at D@bits at tree@cxx at xsd@@YA?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@ABU?$as_double at N@123@@Z) Inventory.obj

Error 3 error LNK2019: unresolved external symbol "char const * __cdecl xsd::cxx::tree::bits::positive_inf<char>(void)" (??$positive_inf at D@bits at tree@cxx at xsd@@YAPBDXZ) referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl xsd::cxx::tree::bits::insert<char>(struct xsd::cxx::tree::as_double<double> const &)" (??$insert at D@bits at tree@cxx at xsd@@YA?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@ABU?$as_double at N@123@@Z) Inventory.obj


Bidski


More information about the xsd-users mailing list