I have a urgent problem, im developing a small game, and when i use 1.5.1 version of irrlicht it compile normal, like you see here:
http://www.prsolucoes.com/blog/projetos ... -versao-2/
But when i change the path to compile with irrlicht 1.6, i receive an error at the line:
The error is:device = createDevice(EDT_OPENGL, dimension2d<s32>(800, 600), 16, false, false, false, &receptorEvento);
d:\prsoluções\softwares\evangel\evangel\classes\engine.cpp(71) : error C2664: 'irr::createDevice' : cannot convert parameter 2 from 'irr::core::dimension2d' to 'const irr::core::dimension2d &'
with
[
T=irr::s32
]
and
[
T=irr::u32
]
Reason: cannot convert from 'irr::core::dimension2d' to 'const irr::core::dimension2d'
with
[
T=irr::s32
]
and
[
T=irr::u32
]
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
What i can do incorrect?