Could be a typo in your other files. It most often is.
However, I load TaharezLookSkin.scheme, instead of TaharezLook.scheme. That's the only obvious difference..

Moderators: CEGUI MVP, CEGUI Team
Code: Select all
#define NOMINMAX
1>herbert_game.cpp
1>c:\ogresdk\include\cegui\ceguistring.h(644) : error C2059: syntax error : 'constant'
1>c:\ogresdk\include\cegui\ceguistring.h(645) : error C2334: unexpected token(s) preceding '{'; skipping
You might try adding:Code: Select all
#define NOMINMAX
prior to any line that includes any Win32 headers (watch out for where they may get implicitly included), or move your lines that undefine min/max to be after the Win32 includes but before any others.
Code: Select all
#include <CEGUI/CEGUI.h>
#include <CEGUI/CEGUISystem.h>
#include <CEGUI/CEGUISchemeManager.h>
#include <OgreCEGUIRenderer.h>
Users browsing this forum: No registered users and 24 guests