I am having trouble compiling CEGUI (v0-8 branch) for the current state of OGRE v1.10 (default branch) using gcc 4.8 on LInux. I fixed several straightforward missing includes, but cannot escape this error:
/home/jesse/lib/cegui/cegui/include/CEGUI/RendererModules/Ogre/Texture.h:102:22: error: field ‘d_texture’ has incomplete type
Ogre::TexturePtr d_texture;
I tried #include OgrePrerequisites.h and OgreTexture.h as these contain the TexturePtr and Texture class definitions respectively. I am aware this problem cropped up in an earlier post, but the advice given there to add forward declarations has already been patched into the current CEGUI repo. It seems my includes are not, um, being included, but I have no idea why.
I am very excited to give CEGUI a spin and abandon my clunky homespun GUI toolkit.