c++includexsdcodesynthesis

CodeSynthesis : how to include files from <xsd>?


I generated c++-code from a XSD-scheme, now when i put that into a project, the compiler tells me that all #include <xsd/...> cannot be included. but i've added the include directory to the VC++-directories.

1 out of 100 errors:

error C1083: Cannot open include file: 'xsd/cxx/config.hxx': No such file or directory

but they all more or less the same errors, all about <xsd/...>

the errors occur in the generated *.hxx file

What to do? How can i force to reimport them?



Solution

  • Seems Like the directories are not a subdirectory of the VC++ directories.

    Set it to become sub directories.

    If you dont do this, you can include the full path and with "" instead of <> in #include.