[SOLVED] compilation CEGUIWindowFactoryManager.h problem

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

Just popping in
Just popping in
Posts: 1
Joined: Sat Aug 25, 2012 20:49

[SOLVED] compilation CEGUIWindowFactoryManager.h problem

Postby martinerk0 » Sat Aug 25, 2012 21:13

Hi, I'm trying to compile CEGUI 0.7.7 . I have included dependencies, but when i try to compile it (CEGUIBase), at the line 486 of CEGUIWindowFactoryManager.h

Code: Select all

 CEGUI_CATCH (Exception&  )
says error: cannot catch reference to incomplete type 'CEGUI::Exception' . Xcode Version 4.4. I am new to xcode so sorry for troubling you, and thanks in advance :)

changed Exception& to int

User avatar
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England

Re: [SOLVED] compilation CEGUIWindowFactoryManager.h problem

Postby CrazyEddie » Tue Aug 28, 2012 11:07


Your 'fix' is not really ideal. I've not tested with Xcode 4.4 yet, so it's possible an issue exists there. I think the correct fix would be to add:

Code: Select all

#include "CEGUIExceptions.h"

to the end of the list of headers included towards the top of that file.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 16 guests