Page 1 of 1

[Solved] Missing .h files

Posted: Sun Aug 03, 2014 11:00
by ks13
Hi, so i managed to somehow begin integrating CEGUI in my project...(yeah, the lack of relevant documentation is not helping)
So i tried the basics that are described in the tutorials, but got many errors due to obsolete documentation. So after many trial and errors, i got something that looked like it would compile, but then the compiler told me there were errors. When i checked what they were...i was surprised that it told me it can't find some .h files included in CEGUI headers. The files are Config.h, ModuleConfig.h and Version.h. All those files are included in some headers but all i could find are files that have a different extention : Confing.h.in, ModuleConfig.h.in and Version.h.in. Not sure if it's a CMake fail or something...but they are present in the .zip file that i downloaded from here.

Re: Missing .h files

Posted: Sun Aug 03, 2014 11:18
by Ident
Did you install your CEGUI solution and reference the resulting CEGUI include folder? I assume not.

In the case you didn't do that and you do not want to use "INSTALL" at all, then you can do one of the following to solve the issue:
- Either copy the files you mentioned missing ( Config.h, ModuleConfig.h and Version.h. ) from the folder "cegui/include" which is located in your CMake build folder (for example C:/CEGUI/build/cegui/include)
- Or add this directory (in addition to the other CEGUI include folder) to your project's include directories.

I checked the API docu and this is indeed lacking here:
http://static.cegui.org.uk/docs/0.8.4/compiling.html

I added a mantis bug report, we will fix it until 0.8.5 release:
http://cegui.org.uk/mantis/view.php?id=1046

Re: Missing .h files

Posted: Sun Aug 03, 2014 11:22
by ks13
I checked in the build folder and i found those files. Thank you for that.
However i am working on windows so the installation was skipped as suggested by the Tutorial page. Which surely made me miss those files in a separate folder.

Re: [Solved] Missing .h files

Posted: Sun Aug 03, 2014 11:41
by Ident
What Tutorial page? As far as I know CEGUI has no official tutorial page.

Re: [Solved] Missing .h files

Posted: Sun Aug 03, 2014 11:43
by ks13
Well the one about compiling that you linked in your previous post. It is a tutorial in a sense. Thought you would call it a wiki maybe?

Re: [Solved] Missing .h files

Posted: Sun Aug 03, 2014 18:07
by Ident
It is the official API docu. I would call the tutorial-pages on the Wiki "tutorial".