0

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?


Postback
  • 619
  • 2
  • 9
  • 27
  • is the xsd directory a subdirectory of the VC++ directories? how is the path tree can you show us? – Koushik Shetty May 28 '13 at 06:03
  • thx, i've set it like described in the tutorial. seems like the tutorial isnt correct at all. You can post an answer so i can acceppt it if you want – Postback May 28 '13 at 06:09
  • sure i will:-). can you tell which tutorial? maybe we can point out a good one if the current is not so good. – Koushik Shetty May 28 '13 at 06:10
  • it's the README.txt from the CodeSynthesis-folder about how to set up Visual Studio, that also pops up after installation i guess – Postback May 28 '13 at 06:27

1 Answers1

1

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.

Koushik Shetty
  • 2,146
  • 4
  • 20
  • 31