Page 1 of 1

Ogre Tutorial Framework - doesn't compile

Posted: Mon Jun 15, 2015 12:07 pm
by mkolenda
I have downloaded "Ogre Wiki Tutorial Framework 1.9 - (Unix line endings)" from ... +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 ? &)

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;

Code: Select all


Code: Select all

System: Gentoo Linux x86_64

Re: Ogre Tutorial Framework - doesn't compile

Posted: Fri Jul 24, 2015 9:19 am
by Badspot
Got the very same problem, including the setParamValue thing. I have OGRE v1.9 on Ubuntu 14.04.2. :lol: But additionally I also get an OverlaySystem couldn't be resolved error.