Ogre Tutorial Framework - doesn't compile
Posted: Mon Jun 15, 2015 12:07 pm
I have downloaded "Ogre Wiki Tutorial Framework 1.9 - (Unix line endings)" from http://www.ogre3d.org/tikiwiki/Ogre+Wik ... +Framework
Please tell me friends why the hell DisplayString is "?" in error message and why this isn't obviously called as void setParamValue(unsigned int, const ? &)
Include:
Libraries:
System: Gentoo Linux x86_64
Please tell me friends why the hell DisplayString is "?" in error message and why this isn't obviously called as void setParamValue(unsigned int, const ? &)
Code: Select all
mDetailsPanel->setParamValue(9, "Bilinear");
Code: Select all
----- error ----
Invalid arguments 'Candidates are:
void setParamValue(const ? &, const ? &)
void setParamValue(unsigned int, const ? &)
---- reality ----
-- /usr/incude/OGRE/SdkTrays.h
void setParamValue(const Ogre::DisplayString& paramName, const Ogre::DisplayString& paramValue)
void setParamValue(unsigned int index, const Ogre::DisplayString& paramValue)
---- what's DisplayString ----
#if OGRE_UNICODE_SUPPORT // in my case this is true
typedef UTFString DisplayString;
# define OGRE_DEREF_DISPLAYSTRING_ITERATOR(it) it.getCharacter()
#else // this isn't my case
typedef String DisplayString;
# define OGRE_DEREF_DISPLAYSTRING_ITERATOR(it) *it
#endif
Code: Select all
/usr/include/OGRE
/usr/include/OGRE/Overlay
/usr/include/OIS
Code: Select all
OgreOverlay
OgreMain
OIS
boost_system