I am new to programming in C++ but I want to create an FPS game using the Irrlicht game engine.
I use Windows XP and have Irrlicht 1.8 and CodeBlocks 12 installed in my Program Files directory.
I used the Wizard to create an Irrlicht project and then debugged. However, the following messages were returned by the debugger:
C:\LacerateD\LacerateD\main.cpp||In function 'int main(int, char**)':|
C:\LacerateD\LacerateD\main.cpp|71|error: invalid initialization of reference of type 'const irr::core::dimension2d<unsigned int>&' from expression of type 'irr::core::dimension2d<int>'|
C:\Program Files\irrlicht-1.8\include\irrlicht.h|324|error: in passing argument 2 of 'irr::IrrlichtDevice* irr::createDevice(irr::video::E_DRIVER_TYPE, const irr::core::dimension2d<unsigned int>&, irr::u32, bool, bool, bool, irr::IEventReceiver*)'|
C:\LacerateD\LacerateD\main.cpp|71|error: invalid initialization of reference of type 'const irr::core::dimension2d<unsigned int>&' from expression of type 'irr::core::dimension2d<int>'|