Compilation Problem with MingGW
Posted: 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.
The Error points to the following code:
can anyone help me with this?
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?