[xsd-users] Problem linking with VS 2008

Boris Kolpackov boris at codesynthesis.com
Wed Jan 11 08:51:37 EST 2012


Hi Thomas,

Thomas Dobroth <dobroth at gmail.com> writes:

> 1>gpx.obj : error LNK2028: unresolved token (0A00000F) "public: virtual  
> __clrcall xercesc_3_1::IllegalArgumentException::~IllegalArgumentException(void)"  

Are you linking your program with the Xerces-C++ library? Check the
"Using XSD with Microsoft Visual Studio" Wiki page, in particular,
step 9 in the section for VS 2008:

http://wiki.codesynthesis.com/Using_XSD_with_Microsoft_Visual_Studio

Also, that '__clrcall' in the symbol is very suspicious. Is your
application by any chance using .Net C++ (aka C++/CLI)? Note that
XSD (and Xerces-C++) can only be used in native C++ applications.

Boris



More information about the xsd-users mailing list