[xsd-users] Issue with includes
Boris Kolpackov
boris at codesynthesis.com
Sun Jan 21 12:04:06 EST 2007
Hi Jérôme,
Jérôme Dumesnil <jerome.dumesnil at gmail.com> writes:
> As you said, I modified x3d-3.0.xsd to include
> x3d-3.0-Web3dExtensionsPublic.xsd.
It is the other way around: modify x3d-3.0-Web3dExtensionsPublic.xsd to
include x3d-3.0.xsd.
> So I generate sources files with :
>
> xsd cxx-tree --morph-anonymous --root-element X3D --hxx-suffix .h
> --cxx-suffix .cpp --output-dir src/ x3d-3.0.xsd
> xsd cxx-tree --morph-anonymous --root-element X3D --hxx-suffix .h
> --cxx-suffix .cpp --output-dir src/ x3d-3.0-Web3dExtensionsPublic.xsd
> xsd cxx-tree --morph-anonymous --root-element X3D --hxx-suffix .h
> --cxx-suffix .cpp --output-dir src/ x3d-3.0-Web3dExtensionsPublic.xsd
>
> And after, I moved to src directory and I compiled them with :
> gcc -c x3d-3.0.cpp
I just tried these exact options and it works fine for me with both
gcc 3.3.6 and 4.1.2. I assume you are using a recent version of
XSD (e.g., 3.2.0 or 3.2.1.b2).
hth,
-boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070121/607b7c5a/attachment.pgp
More information about the xsd-users
mailing list