[Solved] Missing .h files

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

ks13
Just popping in
Just popping in
Posts: 17
Joined: Sat May 24, 2014 22:25

[Solved] Missing .h files

Postby ks13 » Sun Aug 03, 2014 11:00

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.

User avatar
Ident
CEGUI Team
Posts: 1964
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Missing .h files

Postby Ident » Sun Aug 03, 2014 11:18

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
CrazyEddie: "I don't like GUIs"

ks13
Just popping in
Just popping in
Posts: 17
Joined: Sat May 24, 2014 22:25

Re: Missing .h files

Postby ks13 » Sun Aug 03, 2014 11:22

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.

User avatar
Ident
CEGUI Team
Posts: 1964
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: [Solved] Missing .h files

Postby Ident » Sun Aug 03, 2014 11:41

What Tutorial page? As far as I know CEGUI has no official tutorial page.
CrazyEddie: "I don't like GUIs"

ks13
Just popping in
Just popping in
Posts: 17
Joined: Sat May 24, 2014 22:25

Re: [Solved] Missing .h files

Postby ks13 » Sun Aug 03, 2014 11:43

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?

User avatar
Ident
CEGUI Team
Posts: 1964
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: [Solved] Missing .h files

Postby Ident » Sun Aug 03, 2014 18:07

It is the official API docu. I would call the tutorial-pages on the Wiki "tutorial".
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: No registered users and 8 guests