[xsd-users] Cannot link against polymorphic type

Babinskas, Albert albert.babinskas at imagingsciences.com
Fri Apr 15 14:06:06 EDT 2016


Boris,
The source files are compiled into a static library that is included in my project.

-Albert

-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Sent: Friday, April 15, 2016 12:33 PM
To: Babinskas, Albert <albert.babinskas at imagingsciences.com>
Cc: xsd-users at codesynthesis.com
Subject: Re: [xsd-users] Cannot link against polymorphic type

Hi Albert,

Babinskas, Albert <albert.babinskas at imagingsciences.com> writes:

> Now when I compile my schema.hxx does get #include "examoption-v1.hxx".
> When I add #include "schema.hxx" into my project I get a link error:

I am not sure what #include's have to do with linker errors. Have you added schema1.cxx, examoption-v1.cxx, and schema.cxx to your project, so that they are part of your executable?

Boris



More information about the xsd-users mailing list