OgreCEGUIRenderer.h needing the Ogre dependencies folder.

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

User avatar
Duck
Just popping in
Just popping in
Posts: 9
Joined: Sun Apr 30, 2006 17:15

OgreCEGUIRenderer.h needing the Ogre dependencies folder.

Postby Duck » Thu May 04, 2006 04:40

I'm trying to compile Ogre from source and CEGUI from source, and have finally got it to compile and run.

I have concerns about how OgreCEGUIRenderer though. It doesn't come with CEGUI, and instead come with the Ogre sample code. This seems reasonable enough. However, OgreCEGUIRenderer.h includes files from a CEGUI subdirectory, like so:

Code: Select all

#include <CEGUI/CEGUIBase.h>


This CEGUI folder doesn't exist in the CEGUI source code. It's only in the "ogrenew\Dependencies\include" directory.

This forces me to keep the Ogre dependency CEGUI headers around, and not use the ones in my proper CEGUI source directory.

I.e. my project file has two include directories which contain CEGUI source:
C:\blah\blah\ogrenew\Dependencies\include\CEGUI // Comes with Ogre
and
C:\whatever\CEGUI\include // CEGUI source from subversion

I shuffle the order so that the proper source is preferred, but keep the Ogre directory for the renderer.


I'm concerned because if it's just asking for wierd problems when I next update Ogre or CEGUI.
To clean this up I can either:
1. Ignore it and keep the two directories.
2. Hack my OgreCEGUIRenderer.h to not use the CEGUI directory.
3. Copy the OgreCEGUIRenderer into my own project, and manually integrate changes next time I update Ogre.

Thoughts?


(I could just do one of the above and move on without making the post, but I think others will likely have the same issue, and I also have a suspition that I'm not 'getting' something.)

Thanks
Duck

Return to “Help”

Who is online

Users browsing this forum: No registered users and 7 guests