[xsd-users] CodeSynthesis XSD - LNK1107 compiler error in relation to Xerces

Boris Kolpackov boris at codesynthesis.com
Tue Jun 4 04:46:32 EDT 2013


Hi Dominik,

Waldispuehl, Dominik <dominik.waldispuehl at roche.com> writes:

> Error	9 error LNK2001: unresolved external symbol "__declspec(dllimport)
> public: static unsigned short const * const xercesc_3_1::SchemaSymbols::
> fgURI_XSI" (__imp_?fgURI_XSI at SchemaSymbols@xercesc_3_1@@2QBGB)
> ....\MPRawDataSchema.obj

You see that "unsigned short" in the symbol? That's the non-native wchar_t
(it is just a typedef for unsigned short). Which means that 
MPRawDataSchema.obj was (or still is) built with non-native wchar_t
option. One thing that you can try is to clean and rebuild all the
object files to make sure they were all compiled with the new setting.

Boris



More information about the xsd-users mailing list