[xsd-users] Problems linking Code which uses XSD in Release mode

Jan Klimke jan.klimke at hpi.uni-potsdam.de
Mon Nov 3 03:59:56 EST 2008


Hi,

i got a pretty strange problem when linking my classes which are using
the generated code. When i link in Debug mode everything is working
fine, but when i switch to release mode xsd related errors occur. An
example for such an error can be found afterwards. It seems that some
string related functions can not be found. does anybody have a hint for
me solving this issue ?

Error    2    error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
xsd::cxx::tree::ncname<char,class xsd::cxx::tree::name<char,class
xsd::cxx::tree::token<char,class
xsd::cxx::tree::normalized_string<char,class
xsd::cxx::tree::string<char,class xsd::cxx::tree::simple_type<class
xsd::cxx::tree::_type> > > > > >::~ncname<char,class
xsd::cxx::tree::name<char,class xsd::cxx::tree::token<char,class
xsd::cxx::tree::normalized_string<char,class
xsd::cxx::tree::string<char,class xsd::cxx::tree::simple_type<class
xsd::cxx::tree::_type> > > > > >(void)"
(__imp_??1?$ncname at DV?$name at DV?$token at DV?$normalized_string at DV?$string at DV?$simple_type at V_type@tree at cxx@xsd@@@tree at cxx@xsd@@@tree at cxx@xsd@@@tree at cxx@xsd@@@tree at cxx@xsd@@@tree at cxx@xsd@@@tree at cxx@xsd@@UAE at XZ)
referenced in function "public: virtual __thiscall
xsd::cxx::tree::id<char,class xsd::cxx::tree::ncname<char,class
xsd::cxx::tree::name<char,class xsd::cxx::tree::token<char,class
xsd::cxx::tree::normalized_string<char,class
xsd::cxx::tree::string<char,class xsd::cxx::tree::simple_type<class
xsd::cxx::tree::_type> > > > > > >::~id<char,class
xsd::cxx::tree::ncname<char,class xsd::cxx::tree::name<char,class
xsd::cxx::tree::token<char,class
xsd::cxx::tree::normalized_string<char,class
xsd::cxx::tree::string<char,class xsd::cxx::tree::simple_type<class
xsd::cxx::tree::_type> > > > > > >(void)"
(??1?$id at DV?$ncname at DV?$name at DV?$token at DV?$normalized_string at DV?$string at DV?$simple_type at V_type@tree at cxx@xsd@@@tree at cxx@xsd@@@tree at cxx@xsd@@@tree at cxx@xsd@@@tree at cxx@xsd@@@tree at cxx@xsd@@@tree at cxx@xsd@@@tree at cxx@xsd@@UAE at XZ)   
collaborationclient.obj

Thanks,
Jan





More information about the xsd-users mailing list