Implementing Into Irrlicht - One Error

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
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Implementing Into Irrlicht - One Error

Postby CrazyEddie » Sun Oct 24, 2004 08:02

Somewhere in one of your includes macros are being defined for min and max, which totally breaks any correct code using simple constructs such as std::min and std::max. Typically, such lunacy comes from a Microsoft DX or Windows header.

The fix is simply to #undef min and #undef max after including the offending header file.

HTH

CE.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 13 guests