Errors compiling when getting started
Posted: Mon Oct 15, 2007 7:47 pm
I am using Visual C++ 2005.
I have included the path to this in my project settings
\irrlicht-1.4beta\lib\Win32-visualstudio\
and this
\irrlicht-1.4beta\include\
My code looks like this (just to see if it is linked ok)
The compiler errors I get are
Thanks
I have included the path to this in my project settings
\irrlicht-1.4beta\lib\Win32-visualstudio\
and this
\irrlicht-1.4beta\include\
My code looks like this (just to see if it is linked ok)
Code: Select all
#include "irrlicht.h"
using namespace irr;
using namespace core;
using namespace video;
using namespace gui;
using namespace io;
using namespace scene;
Any ideas?irrMath.h(39) : warning C4091: '' : ignored on left of 'const float' when no variable is declared
irrMath.h(39) : error C2143: syntax error : missing ';' before 'constant'
irrMath.h(39) : error C2059: syntax error : 'constant'
irrMath.h(45) : warning C4091: '' : ignored on left of 'const float' when no variable is declared
irrMath.h(45) : error C2143: syntax error : missing ';' before 'constant'
irrMath.h(45) : error C2059: syntax error : 'constant'
SColor.h(524) : error C2589: 'constant' : illegal token on right side of '::'
SColor.h(524) : error C2059: syntax error : '::'
SColor.h(525) : error C2589: 'constant' : illegal token on right side of '::'
SColor.h(528) : error C2589: 'constant' : illegal token on right side of '::'
SColor.h(528) : error C2059: syntax error : '::'
Thanks