Compilation Problem with MingGW

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
TheRavenNevermore
Just popping in
Just popping in
Posts: 1
Joined: Sun May 22, 2005 19:37

Compilation Problem with MingGW

Postby TheRavenNevermore » Sun May 22, 2005 19:44

Hi,

I been playing around with the OGRE for a few days now, and thats how I got into CEGUI.

Tried downloading and compiling the 0.2.0 version with vc-6 Deps on a CODE::WORKS platform, using the MingGW compiler.

And got the following compilation error, with I hope, anyone around here couöd help me with.

Code: Select all

Compiling: ..\..\..\..\src\CEGUIColourRect.cpp
In file included from ..\..\..\..\src\CEGUIColourRect.cpp:26:
../../../../include/CEGUIColourRect.h:41: error: expected identifier before '{' token
../../../../include/CEGUIColourRect.h:41: error: expected unqualified-id before '{' token
../../../../include/CEGUIColourRect.h:41: error: expected `,' or `;' before '{' token
../../../../include/CEGUIColourRect.h:46: error: expected constructor, destructor, or type conversion before ';' token
Process terminated with status 1 (0 minutes, 5 seconds)
4 errors, 0 warnings


The Error points to the following code:

Code: Select all

enum CEGUIBASE_API QuadSplitMode
{
   TopLeftToBottomRight,   //!< Diagonal goes from top-left to bottom-right
   BottomLeftToTopRight,   //!< Diagonal goes from bottom-left to top-right
};


can anyone help me with this?

Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 4 guests