Template class problem when trying to use static text in gui
Posted: Sun Jun 25, 2006 9:07 pm
say I have the following:
I tells me the following error:
Code: Select all
_gui_text = _gui->addStaticText(L"Your hardware or this renderer is not able to use the "\
L"needed shaders for this material. Using fall back materials.",
core::rect(150,20,470,60));
not sure why this is happening as it is identical to the example. any thoughts?c:\Documents and Settings\bstryker\Desktop\Visual Studio Projects\Space\Game.cpp(35): error C2955: 'irr::core::rect' : use of class template requires template argument list