[xsd-users] Re: Integrating XSD generated classes into an existing C++ project

Boris Kolpackov boris at codesynthesis.com
Wed Feb 9 10:01:37 EST 2011


Hi,

shubhgd at cs.vt.edu <shubhgd at cs.vt.edu> writes:

> 3. Tried to include the xsd generated classes as #include in the  
> main.cpp of the existing application, but got a lot of runtime errors  
> with error messages like
> ?DOMNode? declared as a ?virtual? field	 at external location:  
> /usr/include/xsd/cxx/tree/elements.hxx
>  expected a type, got ?map?	            external location:  
> /usr/include/xsd/cxx/tree/elements.hxx
> and so on.

Which C++ compiler and version are you using? Have you added include
paths (-I C++ compiler option) for Xerces-C++ and libxsd?


> I might be doing something wrong fundamentally, as have no experience
> in dealing with C++ projects.

In this case I suggest that you find someone in your organization who
has experience with this kind of C++ projects and who can help you
out.

Boris



More information about the xsd-users mailing list