Advertisement
mago_nick

error_ogre.txt

Nov 29th, 2015
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 454.48 KB | None | 0 0
  1. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3. /usr/local/include/OGRE/SdkTrays.h:104:43: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4. virtual void okDialogClosed(const Ogre::DisplayString& message) {}
  5. ^
  6. /usr/local/include/OGRE/SdkTrays.h:104:64: error: ISO C++ forbids declaration of ‘message’ with no type [-fpermissive]
  7. virtual void okDialogClosed(const Ogre::DisplayString& message) {}
  8. ^
  9. /usr/local/include/OGRE/SdkTrays.h:105:46: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  10. virtual void yesNoDialogClosed(const Ogre::DisplayString& question, bool yesHit) {}
  11. ^
  12. /usr/local/include/OGRE/SdkTrays.h:105:67: error: ISO C++ forbids declaration of ‘question’ with no type [-fpermissive]
  13. virtual void yesNoDialogClosed(const Ogre::DisplayString& question, bool yesHit) {}
  14. ^
  15. /usr/local/include/OGRE/SdkTrays.h:134:46: error: ‘Ogre::OverlayElement’ has not been declared
  16. static void nukeOverlayElement(Ogre::OverlayElement* element)
  17. ^
  18. /usr/local/include/OGRE/SdkTrays.h:163:40: error: ‘Ogre::OverlayElement’ has not been declared
  19. static bool isCursorOver(Ogre::OverlayElement* element, const Ogre::Vector2& cursorPos, Ogre::Real voidBorder = 0)
  20. ^
  21. /usr/local/include/OGRE/SdkTrays.h:179:49: error: ‘Ogre::OverlayElement’ has not been declared
  22. static Ogre::Vector2 cursorOffset(Ogre::OverlayElement* element, const Ogre::Vector2& cursorPos)
  23. ^
  24. /usr/local/include/OGRE/SdkTrays.h:189:49: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  25. static Ogre::Real getCaptionWidth(const Ogre::DisplayString& caption, Ogre::TextAreaOverlayElement* area)
  26. ^
  27. /usr/local/include/OGRE/SdkTrays.h:189:70: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  28. static Ogre::Real getCaptionWidth(const Ogre::DisplayString& caption, Ogre::TextAreaOverlayElement* area)
  29. ^
  30. /usr/local/include/OGRE/SdkTrays.h:189:85: error: ‘Ogre::TextAreaOverlayElement’ has not been declared
  31. static Ogre::Real getCaptionWidth(const Ogre::DisplayString& caption, Ogre::TextAreaOverlayElement* area)
  32. ^
  33. /usr/local/include/OGRE/SdkTrays.h:214:44: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  34. static void fitCaptionToArea(const Ogre::DisplayString& caption, Ogre::TextAreaOverlayElement* area, Ogre::Real maxWidth)
  35. ^
  36. /usr/local/include/OGRE/SdkTrays.h:214:65: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  37. static void fitCaptionToArea(const Ogre::DisplayString& caption, Ogre::TextAreaOverlayElement* area, Ogre::Real maxWidth)
  38. ^
  39. /usr/local/include/OGRE/SdkTrays.h:214:80: error: ‘Ogre::TextAreaOverlayElement’ has not been declared
  40. static void fitCaptionToArea(const Ogre::DisplayString& caption, Ogre::TextAreaOverlayElement* area, Ogre::Real maxWidth)
  41. ^
  42. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  43. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  44. /usr/local/include/OGRE/SdkTrays.h:238:9: error: ‘OverlayElement’ in namespace ‘Ogre’ does not name a type
  45. Ogre::OverlayElement* getOverlayElement()
  46. ^
  47. /usr/local/include/OGRE/SdkTrays.h:282:9: error: ‘OverlayElement’ in namespace ‘Ogre’ does not name a type
  48. Ogre::OverlayElement* mElement;
  49. ^
  50. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  51. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  52. /usr/local/include/OGRE/SdkTrays.h: In constructor ‘OgreBites::Widget::Widget()’:
  53. /usr/local/include/OGRE/SdkTrays.h:118:13: error: ‘mElement’ was not declared in this scope
  54. mElement = 0;
  55. ^
  56. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::Widget::cleanup()’:
  57. /usr/local/include/OGRE/SdkTrays.h:126:17: error: ‘mElement’ was not declared in this scope
  58. if (mElement) nukeOverlayElement(mElement);
  59. ^
  60. /usr/local/include/OGRE/SdkTrays.h:127:13: error: ‘mElement’ was not declared in this scope
  61. mElement = 0;
  62. ^
  63. /usr/local/include/OGRE/SdkTrays.h: In static member function ‘static void OgreBites::Widget::nukeOverlayElement(int*)’:
  64. /usr/local/include/OGRE/SdkTrays.h:136:13: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  65. Ogre::OverlayContainer* container = dynamic_cast<Ogre::OverlayContainer*>(element);
  66. ^
  67. /usr/local/include/OGRE/SdkTrays.h:136:13: note: suggested alternative:
  68. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  69. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  70. from /usr/local/include/OGRE/SdkTrays.h:34,
  71. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  72. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  73. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  74. class _OgreOverlayExport OverlayContainer : public OverlayElement
  75. ^
  76. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  77. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  78. /usr/local/include/OGRE/SdkTrays.h:136:37: error: ‘container’ was not declared in this scope
  79. Ogre::OverlayContainer* container = dynamic_cast<Ogre::OverlayContainer*>(element);
  80. ^
  81. /usr/local/include/OGRE/SdkTrays.h:136:62: error: expected type-specifier
  82. Ogre::OverlayContainer* container = dynamic_cast<Ogre::OverlayContainer*>(element);
  83. ^
  84. /usr/local/include/OGRE/SdkTrays.h:136:62: error: expected ‘>’
  85. /usr/local/include/OGRE/SdkTrays.h:136:62: error: expected ‘(’
  86. /usr/local/include/OGRE/SdkTrays.h:136:62: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  87. /usr/local/include/OGRE/SdkTrays.h:136:62: note: suggested alternative:
  88. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  89. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  90. from /usr/local/include/OGRE/SdkTrays.h:34,
  91. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  92. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  93. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  94. class _OgreOverlayExport OverlayContainer : public OverlayElement
  95. ^
  96. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  97. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  98. /usr/local/include/OGRE/SdkTrays.h:136:85: error: expected primary-expression before ‘>’ token
  99. Ogre::OverlayContainer* container = dynamic_cast<Ogre::OverlayContainer*>(element);
  100. ^
  101. /usr/local/include/OGRE/SdkTrays.h:136:95: error: expected ‘)’ before ‘;’ token
  102. Ogre::OverlayContainer* container = dynamic_cast<Ogre::OverlayContainer*>(element);
  103. ^
  104. /usr/local/include/OGRE/SdkTrays.h:139:29: error: ‘OverlayElement’ is not a member of ‘Ogre’
  105. std::vector<Ogre::OverlayElement*> toDelete;
  106. ^
  107. /usr/local/include/OGRE/SdkTrays.h:139:29: note: suggested alternative:
  108. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  109. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  110. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  111. from /usr/local/include/OGRE/SdkTrays.h:34,
  112. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  113. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  114. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:107:30: note: ‘Ogre::v1::OverlayElement’
  115. class _OgreOverlayExport OverlayElement : public StringInterface, public Renderable, public OverlayAlloc
  116. ^
  117. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  118. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  119. /usr/local/include/OGRE/SdkTrays.h:139:29: error: ‘OverlayElement’ is not a member of ‘Ogre’
  120. std::vector<Ogre::OverlayElement*> toDelete;
  121. ^
  122. /usr/local/include/OGRE/SdkTrays.h:139:29: note: suggested alternative:
  123. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  124. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  125. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  126. from /usr/local/include/OGRE/SdkTrays.h:34,
  127. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  128. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  129. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:107:30: note: ‘Ogre::v1::OverlayElement’
  130. class _OgreOverlayExport OverlayElement : public StringInterface, public Renderable, public OverlayAlloc
  131. ^
  132. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  133. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  134. /usr/local/include/OGRE/SdkTrays.h:139:50: error: template argument 1 is invalid
  135. std::vector<Ogre::OverlayElement*> toDelete;
  136. ^
  137. /usr/local/include/OGRE/SdkTrays.h:139:50: error: template argument 2 is invalid
  138. /usr/local/include/OGRE/SdkTrays.h:139:60: error: invalid type in declaration before ‘;’ token
  139. std::vector<Ogre::OverlayElement*> toDelete;
  140. ^
  141. /usr/local/include/OGRE/SdkTrays.h:141:23: error: ‘Ogre::OverlayContainer’ has not been declared
  142. Ogre::OverlayContainer::ChildIterator children = container->getChildIterator();
  143. ^
  144. /usr/local/include/OGRE/SdkTrays.h:141:55: error: expected ‘;’ before ‘children’
  145. Ogre::OverlayContainer::ChildIterator children = container->getChildIterator();
  146. ^
  147. /usr/local/include/OGRE/SdkTrays.h:142:24: error: ‘children’ was not declared in this scope
  148. while (children.hasMoreElements())
  149. ^
  150. /usr/local/include/OGRE/SdkTrays.h:144:30: error: request for member ‘push_back’ in ‘toDelete’, which is of non-class type ‘int’
  151. toDelete.push_back(children.getNext());
  152. ^
  153. /usr/local/include/OGRE/SdkTrays.h:147:55: error: request for member ‘size’ in ‘toDelete’, which is of non-class type ‘int’
  154. for (unsigned int i = 0; i < toDelete.size(); i++)
  155. ^
  156. /usr/local/include/OGRE/SdkTrays.h:149:50: error: invalid types ‘int[unsigned int]’ for array subscript
  157. nukeOverlayElement(toDelete[i]);
  158. ^
  159. /usr/local/include/OGRE/SdkTrays.h:154:17: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  160. Ogre::OverlayContainer* parent = element->getParent();
  161. ^
  162. /usr/local/include/OGRE/SdkTrays.h:154:17: note: suggested alternative:
  163. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  164. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  165. from /usr/local/include/OGRE/SdkTrays.h:34,
  166. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  167. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  168. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  169. class _OgreOverlayExport OverlayContainer : public OverlayElement
  170. ^
  171. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  172. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  173. /usr/local/include/OGRE/SdkTrays.h:154:41: error: ‘parent’ was not declared in this scope
  174. Ogre::OverlayContainer* parent = element->getParent();
  175. ^
  176. /usr/local/include/OGRE/SdkTrays.h:154:59: error: request for member ‘getParent’ in ‘* element’, which is of non-class type ‘int’
  177. Ogre::OverlayContainer* parent = element->getParent();
  178. ^
  179. /usr/local/include/OGRE/SdkTrays.h:155:58: error: request for member ‘getName’ in ‘* element’, which is of non-class type ‘int’
  180. if (parent) parent->removeChild(element->getName());
  181. ^
  182. /usr/local/include/OGRE/SdkTrays.h:156:23: error: ‘Ogre::OverlayManager’ has not been declared
  183. Ogre::OverlayManager::getSingleton().destroyOverlayElement(element);
  184. ^
  185. /usr/local/include/OGRE/SdkTrays.h: In static member function ‘static bool OgreBites::Widget::isCursorOver(int*, const Ogre::Vector2&, Ogre::Real)’:
  186. /usr/local/include/OGRE/SdkTrays.h:165:13: error: ‘OverlayManager’ is not a member of ‘Ogre’
  187. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  188. ^
  189. /usr/local/include/OGRE/SdkTrays.h:165:13: note: suggested alternative:
  190. In file included from /usr/local/include/OGRE/SdkTrays.h:33:0,
  191. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  192. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  193. /usr/local/include/OGRE/Overlay/OgreOverlayManager.h:52:30: note: ‘Ogre::v1::OverlayManager’
  194. class _OgreOverlayExport OverlayManager : public Singleton<OverlayManager>, public ScriptLoader, public OverlayAlloc
  195. ^
  196. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  197. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  198. /usr/local/include/OGRE/SdkTrays.h:165:35: error: ‘om’ was not declared in this scope
  199. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  200. ^
  201. /usr/local/include/OGRE/SdkTrays.h:165:46: error: ‘Ogre::OverlayManager’ has not been declared
  202. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  203. ^
  204. /usr/local/include/OGRE/SdkTrays.h:166:37: error: request for member ‘_getDerivedLeft’ in ‘* element’, which is of non-class type ‘int’
  205. Ogre::Real l = element->_getDerivedLeft() * om.getViewportWidth();
  206. ^
  207. /usr/local/include/OGRE/SdkTrays.h:167:37: error: request for member ‘_getDerivedTop’ in ‘* element’, which is of non-class type ‘int’
  208. Ogre::Real t = element->_getDerivedTop() * om.getViewportHeight();
  209. ^
  210. /usr/local/include/OGRE/SdkTrays.h:168:41: error: request for member ‘getWidth’ in ‘* element’, which is of non-class type ‘int’
  211. Ogre::Real r = l + element->getWidth();
  212. ^
  213. /usr/local/include/OGRE/SdkTrays.h:169:41: error: request for member ‘getHeight’ in ‘* element’, which is of non-class type ‘int’
  214. Ogre::Real b = t + element->getHeight();
  215. ^
  216. /usr/local/include/OGRE/SdkTrays.h: In static member function ‘static Ogre::Vector2 OgreBites::Widget::cursorOffset(int*, const Ogre::Vector2&)’:
  217. /usr/local/include/OGRE/SdkTrays.h:181:13: error: ‘OverlayManager’ is not a member of ‘Ogre’
  218. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  219. ^
  220. /usr/local/include/OGRE/SdkTrays.h:181:13: note: suggested alternative:
  221. In file included from /usr/local/include/OGRE/SdkTrays.h:33:0,
  222. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  223. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  224. /usr/local/include/OGRE/Overlay/OgreOverlayManager.h:52:30: note: ‘Ogre::v1::OverlayManager’
  225. class _OgreOverlayExport OverlayManager : public Singleton<OverlayManager>, public ScriptLoader, public OverlayAlloc
  226. ^
  227. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  228. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  229. /usr/local/include/OGRE/SdkTrays.h:181:35: error: ‘om’ was not declared in this scope
  230. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  231. ^
  232. /usr/local/include/OGRE/SdkTrays.h:181:46: error: ‘Ogre::OverlayManager’ has not been declared
  233. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  234. ^
  235. /usr/local/include/OGRE/SdkTrays.h:182:58: error: request for member ‘_getDerivedLeft’ in ‘* element’, which is of non-class type ‘int’
  236. return Ogre::Vector2(cursorPos.x - (element->_getDerivedLeft() * om.getViewportWidth() + element->getWidth() / 2),
  237. ^
  238. /usr/local/include/OGRE/SdkTrays.h:182:111: error: request for member ‘getWidth’ in ‘* element’, which is of non-class type ‘int’
  239. return Ogre::Vector2(cursorPos.x - (element->_getDerivedLeft() * om.getViewportWidth() + element->getWidth() / 2),
  240. ^
  241. /usr/local/include/OGRE/SdkTrays.h:183:41: error: request for member ‘_getDerivedTop’ in ‘* element’, which is of non-class type ‘int’
  242. cursorPos.y - (element->_getDerivedTop() * om.getViewportHeight() + element->getHeight() / 2));
  243. ^
  244. /usr/local/include/OGRE/SdkTrays.h:183:94: error: request for member ‘getHeight’ in ‘* element’, which is of non-class type ‘int’
  245. cursorPos.y - (element->_getDerivedTop() * om.getViewportHeight() + element->getHeight() / 2));
  246. ^
  247. /usr/local/include/OGRE/SdkTrays.h: In static member function ‘static Ogre::Real OgreBites::Widget::getCaptionWidth(const int&, int*)’:
  248. /usr/local/include/OGRE/SdkTrays.h:191:95: error: request for member ‘getFontName’ in ‘* area’, which is of non-class type ‘int’
  249. Ogre::Font* font = (Ogre::Font*)Ogre::FontManager::getSingleton().getByName(area->getFontName()).getPointer();
  250. ^
  251. /usr/local/include/OGRE/SdkTrays.h:55:49: error: request for member ‘asUTF8’ in ‘caption’, which is of non-class type ‘const int’
  252. # define DISPLAY_STRING_TO_STRING(DS) (DS.asUTF8())
  253. ^
  254. /usr/local/include/OGRE/SdkTrays.h:192:36: note: in expansion of macro ‘DISPLAY_STRING_TO_STRING’
  255. Ogre::String current = DISPLAY_STRING_TO_STRING(caption);
  256. ^
  257. /usr/local/include/OGRE/SdkTrays.h:200:31: error: request for member ‘getSpaceWidth’ in ‘* area’, which is of non-class type ‘int’
  258. if (area->getSpaceWidth() != 0) lineWidth += area->getSpaceWidth();
  259. ^
  260. /usr/local/include/OGRE/SdkTrays.h:200:72: error: request for member ‘getSpaceWidth’ in ‘* area’, which is of non-class type ‘int’
  261. if (area->getSpaceWidth() != 0) lineWidth += area->getSpaceWidth();
  262. ^
  263. /usr/local/include/OGRE/SdkTrays.h:201:78: error: request for member ‘getCharHeight’ in ‘* area’, which is of non-class type ‘int’
  264. else lineWidth += font->getGlyphAspectRatio(' ') * area->getCharHeight();
  265. ^
  266. /usr/local/include/OGRE/SdkTrays.h:205:81: error: request for member ‘getCharHeight’ in ‘* area’, which is of non-class type ‘int’
  267. else lineWidth += font->getGlyphAspectRatio(current[i]) * area->getCharHeight();
  268. ^
  269. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  270. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  271. /usr/local/include/OGRE/SdkTrays.h: In static member function ‘static void OgreBites::Widget::fitCaptionToArea(const int&, int*, Ogre::Real)’:
  272. /usr/local/include/OGRE/SdkTrays.h:216:92: error: request for member ‘getFontName’ in ‘* area’, which is of non-class type ‘int’
  273. Ogre::Font* f = (Ogre::Font*)Ogre::FontManager::getSingleton().getByName(area->getFontName()).getPointer();
  274. ^
  275. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  276. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  277. /usr/local/include/OGRE/SdkTrays.h:55:49: error: request for member ‘asUTF8’ in ‘caption’, which is of non-class type ‘const int’
  278. # define DISPLAY_STRING_TO_STRING(DS) (DS.asUTF8())
  279. ^
  280. /usr/local/include/OGRE/SdkTrays.h:217:30: note: in expansion of macro ‘DISPLAY_STRING_TO_STRING’
  281. Ogre::String s = DISPLAY_STRING_TO_STRING(caption);
  282. ^
  283. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  284. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  285. /usr/local/include/OGRE/SdkTrays.h:226:42: error: request for member ‘getSpaceWidth’ in ‘* area’, which is of non-class type ‘int’
  286. if (s[i] == ' ' && area->getSpaceWidth() != 0) width += area->getSpaceWidth();
  287. ^
  288. /usr/local/include/OGRE/SdkTrays.h:226:79: error: request for member ‘getSpaceWidth’ in ‘* area’, which is of non-class type ‘int’
  289. if (s[i] == ' ' && area->getSpaceWidth() != 0) width += area->getSpaceWidth();
  290. ^
  291. /usr/local/include/OGRE/SdkTrays.h:227:68: error: request for member ‘getCharHeight’ in ‘* area’, which is of non-class type ‘int’
  292. else width += f->getGlyphAspectRatio(s[i]) * area->getCharHeight();
  293. ^
  294. /usr/local/include/OGRE/SdkTrays.h:235:19: error: request for member ‘setCaption’ in ‘* area’, which is of non-class type ‘int’
  295. area->setCaption(s);
  296. ^
  297. /usr/local/include/OGRE/SdkTrays.h: In member function ‘const String& OgreBites::Widget::getName()’:
  298. /usr/local/include/OGRE/SdkTrays.h:245:20: error: ‘mElement’ was not declared in this scope
  299. return mElement->getName();
  300. ^
  301. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::Widget::hide()’:
  302. /usr/local/include/OGRE/SdkTrays.h:255:13: error: ‘mElement’ was not declared in this scope
  303. mElement->hide();
  304. ^
  305. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::Widget::show()’:
  306. /usr/local/include/OGRE/SdkTrays.h:260:13: error: ‘mElement’ was not declared in this scope
  307. mElement->show();
  308. ^
  309. /usr/local/include/OGRE/SdkTrays.h: In member function ‘bool OgreBites::Widget::isVisible()’:
  310. /usr/local/include/OGRE/SdkTrays.h:265:20: error: ‘mElement’ was not declared in this scope
  311. return mElement->isVisible();
  312. ^
  313. /usr/local/include/OGRE/SdkTrays.h: At global scope:
  314. /usr/local/include/OGRE/SdkTrays.h:298:48: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  315. Button(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width)
  316. ^
  317. /usr/local/include/OGRE/SdkTrays.h:298:69: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  318. Button(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width)
  319. ^
  320. /usr/local/include/OGRE/SdkTrays.h:321:15: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  321. const Ogre::DisplayString& getCaption()
  322. ^
  323. /usr/local/include/OGRE/SdkTrays.h:326:31: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  324. void setCaption(const Ogre::DisplayString& caption)
  325. ^
  326. /usr/local/include/OGRE/SdkTrays.h:326:52: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  327. void setCaption(const Ogre::DisplayString& caption)
  328. ^
  329. /usr/local/include/OGRE/SdkTrays.h:389:9: error: ‘BorderPanelOverlayElement’ in namespace ‘Ogre’ does not name a type
  330. Ogre::BorderPanelOverlayElement* mBP;
  331. ^
  332. /usr/local/include/OGRE/SdkTrays.h:390:9: error: ‘TextAreaOverlayElement’ in namespace ‘Ogre’ does not name a type
  333. Ogre::TextAreaOverlayElement* mTextArea;
  334. ^
  335. /usr/local/include/OGRE/SdkTrays.h: In constructor ‘OgreBites::Button::Button(const String&, const int&, Ogre::Real)’:
  336. /usr/local/include/OGRE/SdkTrays.h:300:13: error: ‘mElement’ was not declared in this scope
  337. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate("SdkTrays/Button", "BorderPanel", name);
  338. ^
  339. /usr/local/include/OGRE/SdkTrays.h:300:30: error: ‘Ogre::OverlayManager’ has not been declared
  340. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate("SdkTrays/Button", "BorderPanel", name);
  341. ^
  342. /usr/local/include/OGRE/SdkTrays.h:301:13: error: ‘mBP’ was not declared in this scope
  343. mBP = (Ogre::BorderPanelOverlayElement*)mElement;
  344. ^
  345. /usr/local/include/OGRE/SdkTrays.h:301:20: error: ‘BorderPanelOverlayElement’ is not a member of ‘Ogre’
  346. mBP = (Ogre::BorderPanelOverlayElement*)mElement;
  347. ^
  348. /usr/local/include/OGRE/SdkTrays.h:301:20: note: suggested alternative:
  349. In file included from /usr/local/include/OGRE/SdkTrays.h:34:0,
  350. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  351. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  352. /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:58:30: note: ‘Ogre::v1::BorderPanelOverlayElement’
  353. class _OgreOverlayExport BorderPanelOverlayElement : public PanelOverlayElement
  354. ^
  355. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  356. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  357. /usr/local/include/OGRE/SdkTrays.h:301:52: error: expected primary-expression before ‘)’ token
  358. mBP = (Ogre::BorderPanelOverlayElement*)mElement;
  359. ^
  360. /usr/local/include/OGRE/SdkTrays.h:301:53: error: expected ‘;’ before ‘mElement’
  361. mBP = (Ogre::BorderPanelOverlayElement*)mElement;
  362. ^
  363. /usr/local/include/OGRE/SdkTrays.h:302:13: error: ‘mTextArea’ was not declared in this scope
  364. mTextArea = (Ogre::TextAreaOverlayElement*)mBP->getChild(mBP->getName() + "/ButtonCaption");
  365. ^
  366. /usr/local/include/OGRE/SdkTrays.h:302:26: error: ‘TextAreaOverlayElement’ is not a member of ‘Ogre’
  367. mTextArea = (Ogre::TextAreaOverlayElement*)mBP->getChild(mBP->getName() + "/ButtonCaption");
  368. ^
  369. /usr/local/include/OGRE/SdkTrays.h:302:26: note: suggested alternative:
  370. In file included from /usr/local/include/OGRE/SdkTrays.h:35:0,
  371. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  372. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  373. /usr/local/include/OGRE/Overlay/OgreTextAreaOverlayElement.h:45:30: note: ‘Ogre::v1::TextAreaOverlayElement’
  374. class _OgreOverlayExport TextAreaOverlayElement : public OverlayElement
  375. ^
  376. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  377. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  378. /usr/local/include/OGRE/SdkTrays.h:302:55: error: expected primary-expression before ‘)’ token
  379. mTextArea = (Ogre::TextAreaOverlayElement*)mBP->getChild(mBP->getName() + "/ButtonCaption");
  380. ^
  381. /usr/local/include/OGRE/SdkTrays.h:302:56: error: expected ‘;’ before ‘mBP’
  382. mTextArea = (Ogre::TextAreaOverlayElement*)mBP->getChild(mBP->getName() + "/ButtonCaption");
  383. ^
  384. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::Button::setCaption(const int&)’:
  385. /usr/local/include/OGRE/SdkTrays.h:328:13: error: ‘mTextArea’ was not declared in this scope
  386. mTextArea->setCaption(caption);
  387. ^
  388. /usr/local/include/OGRE/SdkTrays.h:329:33: error: ‘mElement’ was not declared in this scope
  389. if (mFitToContents) mElement->setWidth(getCaptionWidth(caption, mTextArea) + mElement->getHeight() - 12);
  390. ^
  391. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::Button::_cursorPressed(const Ogre::Vector2&)’:
  392. /usr/local/include/OGRE/SdkTrays.h:336:30: error: ‘mElement’ was not declared in this scope
  393. if (isCursorOver(mElement, cursorPos, 4)) setState(BS_DOWN);
  394. ^
  395. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::Button::_cursorMoved(const Ogre::Vector2&, float)’:
  396. /usr/local/include/OGRE/SdkTrays.h:350:30: error: ‘mElement’ was not declared in this scope
  397. if (isCursorOver(mElement, cursorPos, 4))
  398. ^
  399. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::Button::setState(const OgreBites::ButtonState&)’:
  400. /usr/local/include/OGRE/SdkTrays.h:371:17: error: ‘mBP’ was not declared in this scope
  401. mBP->setBorderMaterialName("SdkTrays/Button/Over");
  402. ^
  403. /usr/local/include/OGRE/SdkTrays.h:376:17: error: ‘mBP’ was not declared in this scope
  404. mBP->setBorderMaterialName("SdkTrays/Button/Up");
  405. ^
  406. /usr/local/include/OGRE/SdkTrays.h:381:17: error: ‘mBP’ was not declared in this scope
  407. mBP->setBorderMaterialName("SdkTrays/Button/Down");
  408. ^
  409. /usr/local/include/OGRE/SdkTrays.h: At global scope:
  410. /usr/local/include/OGRE/SdkTrays.h:402:49: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  411. TextBox(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width, Ogre::Real height)
  412. ^
  413. /usr/local/include/OGRE/SdkTrays.h:402:70: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  414. TextBox(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width, Ogre::Real height)
  415. ^
  416. /usr/local/include/OGRE/SdkTrays.h:439:15: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  417. const Ogre::DisplayString& getCaption()
  418. ^
  419. /usr/local/include/OGRE/SdkTrays.h:444:31: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  420. void setCaption(const Ogre::DisplayString& caption)
  421. ^
  422. /usr/local/include/OGRE/SdkTrays.h:444:52: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  423. void setCaption(const Ogre::DisplayString& caption)
  424. ^
  425. /usr/local/include/OGRE/SdkTrays.h:449:15: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  426. const Ogre::DisplayString& getText()
  427. ^
  428. /usr/local/include/OGRE/SdkTrays.h:457:28: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  429. void setText(const Ogre::DisplayString& text)
  430. ^
  431. /usr/local/include/OGRE/SdkTrays.h:457:49: error: ISO C++ forbids declaration of ‘text’ with no type [-fpermissive]
  432. void setText(const Ogre::DisplayString& text)
  433. ^
  434. /usr/local/include/OGRE/SdkTrays.h:530:37: error: ‘Ogre::TextAreaOverlayElement’ has not been declared
  435. void setTextAlignment(Ogre::TextAreaOverlayElement::Alignment ta)
  436. ^
  437. /usr/local/include/OGRE/SdkTrays.h:530:71: error: expected ‘,’ or ‘...’ before ‘ta’
  438. void setTextAlignment(Ogre::TextAreaOverlayElement::Alignment ta)
  439. ^
  440. /usr/local/include/OGRE/SdkTrays.h:543:31: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  441. void appendText(const Ogre::DisplayString& text)
  442. ^
  443. /usr/local/include/OGRE/SdkTrays.h:543:52: error: ISO C++ forbids declaration of ‘text’ with no type [-fpermissive]
  444. void appendText(const Ogre::DisplayString& text)
  445. ^
  446. /usr/local/include/OGRE/SdkTrays.h:659:9: error: ‘TextAreaOverlayElement’ in namespace ‘Ogre’ does not name a type
  447. Ogre::TextAreaOverlayElement* mTextArea;
  448. ^
  449. /usr/local/include/OGRE/SdkTrays.h:660:9: error: ‘BorderPanelOverlayElement’ in namespace ‘Ogre’ does not name a type
  450. Ogre::BorderPanelOverlayElement* mCaptionBar;
  451. ^
  452. /usr/local/include/OGRE/SdkTrays.h:661:9: error: ‘TextAreaOverlayElement’ in namespace ‘Ogre’ does not name a type
  453. Ogre::TextAreaOverlayElement* mCaptionTextArea;
  454. ^
  455. /usr/local/include/OGRE/SdkTrays.h:662:9: error: ‘BorderPanelOverlayElement’ in namespace ‘Ogre’ does not name a type
  456. Ogre::BorderPanelOverlayElement* mScrollTrack;
  457. ^
  458. /usr/local/include/OGRE/SdkTrays.h:663:9: error: ‘PanelOverlayElement’ in namespace ‘Ogre’ does not name a type
  459. Ogre::PanelOverlayElement* mScrollHandle;
  460. ^
  461. /usr/local/include/OGRE/SdkTrays.h:664:9: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  462. Ogre::DisplayString mText;
  463. ^
  464. /usr/local/include/OGRE/SdkTrays.h: In constructor ‘OgreBites::TextBox::TextBox(const String&, const int&, Ogre::Real, Ogre::Real)’:
  465. /usr/local/include/OGRE/SdkTrays.h:404:13: error: ‘mElement’ was not declared in this scope
  466. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate("SdkTrays/TextBox", "BorderPanel", name);
  467. ^
  468. /usr/local/include/OGRE/SdkTrays.h:404:30: error: ‘Ogre::OverlayManager’ has not been declared
  469. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate("SdkTrays/TextBox", "BorderPanel", name);
  470. ^
  471. /usr/local/include/OGRE/SdkTrays.h:407:13: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  472. Ogre::OverlayContainer* container = (Ogre::OverlayContainer*)mElement;
  473. ^
  474. /usr/local/include/OGRE/SdkTrays.h:407:13: note: suggested alternative:
  475. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  476. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  477. from /usr/local/include/OGRE/SdkTrays.h:34,
  478. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  479. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  480. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  481. class _OgreOverlayExport OverlayContainer : public OverlayElement
  482. ^
  483. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  484. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  485. /usr/local/include/OGRE/SdkTrays.h:407:37: error: ‘container’ was not declared in this scope
  486. Ogre::OverlayContainer* container = (Ogre::OverlayContainer*)mElement;
  487. ^
  488. /usr/local/include/OGRE/SdkTrays.h:407:50: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  489. Ogre::OverlayContainer* container = (Ogre::OverlayContainer*)mElement;
  490. ^
  491. /usr/local/include/OGRE/SdkTrays.h:407:50: note: suggested alternative:
  492. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  493. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  494. from /usr/local/include/OGRE/SdkTrays.h:34,
  495. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  496. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  497. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  498. class _OgreOverlayExport OverlayContainer : public OverlayElement
  499. ^
  500. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  501. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  502. /usr/local/include/OGRE/SdkTrays.h:407:73: error: expected primary-expression before ‘)’ token
  503. Ogre::OverlayContainer* container = (Ogre::OverlayContainer*)mElement;
  504. ^
  505. /usr/local/include/OGRE/SdkTrays.h:407:74: error: expected ‘;’ before ‘mElement’
  506. Ogre::OverlayContainer* container = (Ogre::OverlayContainer*)mElement;
  507. ^
  508. /usr/local/include/OGRE/SdkTrays.h:408:13: error: ‘mTextArea’ was not declared in this scope
  509. mTextArea = (Ogre::TextAreaOverlayElement*)container->getChild(getName() + "/TextBoxText");
  510. ^
  511. /usr/local/include/OGRE/SdkTrays.h:408:26: error: ‘TextAreaOverlayElement’ is not a member of ‘Ogre’
  512. mTextArea = (Ogre::TextAreaOverlayElement*)container->getChild(getName() + "/TextBoxText");
  513. ^
  514. /usr/local/include/OGRE/SdkTrays.h:408:26: note: suggested alternative:
  515. In file included from /usr/local/include/OGRE/SdkTrays.h:35:0,
  516. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  517. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  518. /usr/local/include/OGRE/Overlay/OgreTextAreaOverlayElement.h:45:30: note: ‘Ogre::v1::TextAreaOverlayElement’
  519. class _OgreOverlayExport TextAreaOverlayElement : public OverlayElement
  520. ^
  521. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  522. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  523. /usr/local/include/OGRE/SdkTrays.h:408:55: error: expected primary-expression before ‘)’ token
  524. mTextArea = (Ogre::TextAreaOverlayElement*)container->getChild(getName() + "/TextBoxText");
  525. ^
  526. /usr/local/include/OGRE/SdkTrays.h:408:56: error: expected ‘;’ before ‘container’
  527. mTextArea = (Ogre::TextAreaOverlayElement*)container->getChild(getName() + "/TextBoxText");
  528. ^
  529. /usr/local/include/OGRE/SdkTrays.h:409:13: error: ‘mCaptionBar’ was not declared in this scope
  530. mCaptionBar = (Ogre::BorderPanelOverlayElement*)container->getChild(getName() + "/TextBoxCaptionBar");
  531. ^
  532. /usr/local/include/OGRE/SdkTrays.h:409:28: error: ‘BorderPanelOverlayElement’ is not a member of ‘Ogre’
  533. mCaptionBar = (Ogre::BorderPanelOverlayElement*)container->getChild(getName() + "/TextBoxCaptionBar");
  534. ^
  535. /usr/local/include/OGRE/SdkTrays.h:409:28: note: suggested alternative:
  536. In file included from /usr/local/include/OGRE/SdkTrays.h:34:0,
  537. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  538. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  539. /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:58:30: note: ‘Ogre::v1::BorderPanelOverlayElement’
  540. class _OgreOverlayExport BorderPanelOverlayElement : public PanelOverlayElement
  541. ^
  542. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  543. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  544. /usr/local/include/OGRE/SdkTrays.h:409:60: error: expected primary-expression before ‘)’ token
  545. mCaptionBar = (Ogre::BorderPanelOverlayElement*)container->getChild(getName() + "/TextBoxCaptionBar");
  546. ^
  547. /usr/local/include/OGRE/SdkTrays.h:409:61: error: expected ‘;’ before ‘container’
  548. mCaptionBar = (Ogre::BorderPanelOverlayElement*)container->getChild(getName() + "/TextBoxCaptionBar");
  549. ^
  550. /usr/local/include/OGRE/SdkTrays.h:411:13: error: ‘mCaptionTextArea’ was not declared in this scope
  551. mCaptionTextArea = (Ogre::TextAreaOverlayElement*)mCaptionBar->getChild(mCaptionBar->getName() + "/TextBoxCaption");
  552. ^
  553. /usr/local/include/OGRE/SdkTrays.h:411:33: error: ‘TextAreaOverlayElement’ is not a member of ‘Ogre’
  554. mCaptionTextArea = (Ogre::TextAreaOverlayElement*)mCaptionBar->getChild(mCaptionBar->getName() + "/TextBoxCaption");
  555. ^
  556. /usr/local/include/OGRE/SdkTrays.h:411:33: note: suggested alternative:
  557. In file included from /usr/local/include/OGRE/SdkTrays.h:35:0,
  558. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  559. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  560. /usr/local/include/OGRE/Overlay/OgreTextAreaOverlayElement.h:45:30: note: ‘Ogre::v1::TextAreaOverlayElement’
  561. class _OgreOverlayExport TextAreaOverlayElement : public OverlayElement
  562. ^
  563. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  564. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  565. /usr/local/include/OGRE/SdkTrays.h:411:62: error: expected primary-expression before ‘)’ token
  566. mCaptionTextArea = (Ogre::TextAreaOverlayElement*)mCaptionBar->getChild(mCaptionBar->getName() + "/TextBoxCaption");
  567. ^
  568. /usr/local/include/OGRE/SdkTrays.h:411:63: error: expected ‘;’ before ‘mCaptionBar’
  569. mCaptionTextArea = (Ogre::TextAreaOverlayElement*)mCaptionBar->getChild(mCaptionBar->getName() + "/TextBoxCaption");
  570. ^
  571. /usr/local/include/OGRE/SdkTrays.h:413:13: error: ‘mScrollTrack’ was not declared in this scope
  572. mScrollTrack = (Ogre::BorderPanelOverlayElement*)container->getChild(getName() + "/TextBoxScrollTrack");
  573. ^
  574. /usr/local/include/OGRE/SdkTrays.h:413:29: error: ‘BorderPanelOverlayElement’ is not a member of ‘Ogre’
  575. mScrollTrack = (Ogre::BorderPanelOverlayElement*)container->getChild(getName() + "/TextBoxScrollTrack");
  576. ^
  577. /usr/local/include/OGRE/SdkTrays.h:413:29: note: suggested alternative:
  578. In file included from /usr/local/include/OGRE/SdkTrays.h:34:0,
  579. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  580. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  581. /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:58:30: note: ‘Ogre::v1::BorderPanelOverlayElement’
  582. class _OgreOverlayExport BorderPanelOverlayElement : public PanelOverlayElement
  583. ^
  584. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  585. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  586. /usr/local/include/OGRE/SdkTrays.h:413:61: error: expected primary-expression before ‘)’ token
  587. mScrollTrack = (Ogre::BorderPanelOverlayElement*)container->getChild(getName() + "/TextBoxScrollTrack");
  588. ^
  589. /usr/local/include/OGRE/SdkTrays.h:413:62: error: expected ‘;’ before ‘container’
  590. mScrollTrack = (Ogre::BorderPanelOverlayElement*)container->getChild(getName() + "/TextBoxScrollTrack");
  591. ^
  592. /usr/local/include/OGRE/SdkTrays.h:414:13: error: ‘mScrollHandle’ was not declared in this scope
  593. mScrollHandle = (Ogre::PanelOverlayElement*)mScrollTrack->getChild(mScrollTrack->getName() + "/TextBoxScrollHandle");
  594. ^
  595. /usr/local/include/OGRE/SdkTrays.h:414:30: error: ‘PanelOverlayElement’ is not a member of ‘Ogre’
  596. mScrollHandle = (Ogre::PanelOverlayElement*)mScrollTrack->getChild(mScrollTrack->getName() + "/TextBoxScrollHandle");
  597. ^
  598. /usr/local/include/OGRE/SdkTrays.h:414:30: note: suggested alternative:
  599. In file included from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32:0,
  600. from /usr/local/include/OGRE/SdkTrays.h:34,
  601. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  602. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  603. /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:59:30: note: ‘Ogre::v1::PanelOverlayElement’
  604. class _OgreOverlayExport PanelOverlayElement : public OverlayContainer
  605. ^
  606. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  607. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  608. /usr/local/include/OGRE/SdkTrays.h:414:56: error: expected primary-expression before ‘)’ token
  609. mScrollHandle = (Ogre::PanelOverlayElement*)mScrollTrack->getChild(mScrollTrack->getName() + "/TextBoxScrollHandle");
  610. ^
  611. /usr/local/include/OGRE/SdkTrays.h:414:57: error: expected ‘;’ before ‘mScrollTrack’
  612. mScrollHandle = (Ogre::PanelOverlayElement*)mScrollTrack->getChild(mScrollTrack->getName() + "/TextBoxScrollHandle");
  613. ^
  614. /usr/local/include/OGRE/SdkTrays.h:420:13: error: ‘mText’ was not declared in this scope
  615. mText = "";
  616. ^
  617. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::TextBox::setCaption(const int&)’:
  618. /usr/local/include/OGRE/SdkTrays.h:446:13: error: ‘mCaptionTextArea’ was not declared in this scope
  619. mCaptionTextArea->setCaption(caption);
  620. ^
  621. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::TextBox::setText(const int&)’:
  622. /usr/local/include/OGRE/SdkTrays.h:459:13: error: ‘mText’ was not declared in this scope
  623. mText = text;
  624. ^
  625. /usr/local/include/OGRE/SdkTrays.h:462:89: error: ‘mTextArea’ was not declared in this scope
  626. Ogre::Font* font = (Ogre::Font*)Ogre::FontManager::getSingleton().getByName(mTextArea->getFontName()).getPointer();
  627. ^
  628. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  629. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  630. /usr/local/include/OGRE/SdkTrays.h:55:49: error: request for member ‘asUTF8’ in ‘text’, which is of non-class type ‘const int’
  631. # define DISPLAY_STRING_TO_STRING(DS) (DS.asUTF8())
  632. ^
  633. /usr/local/include/OGRE/SdkTrays.h:466:36: note: in expansion of macro ‘DISPLAY_STRING_TO_STRING’
  634. Ogre::String current = DISPLAY_STRING_TO_STRING(text);
  635. ^
  636. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  637. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  638. /usr/local/include/OGRE/SdkTrays.h:471:40: error: ‘mElement’ was not declared in this scope
  639. Ogre::Real rightBoundary = mElement->getWidth() - 2 * mPadding + mScrollTrack->getLeft() + 10;
  640. ^
  641. /usr/local/include/OGRE/SdkTrays.h:471:78: error: ‘mScrollTrack’ was not declared in this scope
  642. Ogre::Real rightBoundary = mElement->getWidth() - 2 * mPadding + mScrollTrack->getLeft() + 10;
  643. ^
  644. /usr/local/include/OGRE/SdkTrays.h:515:17: error: ‘mScrollHandle’ was not declared in this scope
  645. mScrollHandle->show();
  646. ^
  647. /usr/local/include/OGRE/SdkTrays.h:521:17: error: ‘mScrollHandle’ was not declared in this scope
  648. mScrollHandle->hide();
  649. ^
  650. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::TextBox::setTextAlignment(int)’:
  651. /usr/local/include/OGRE/SdkTrays.h:532:17: error: ‘ta’ was not declared in this scope
  652. if (ta == Ogre::TextAreaOverlayElement::Left) mTextArea->setHorizontalAlignment(Ogre::GHA_LEFT);
  653. ^
  654. /usr/local/include/OGRE/SdkTrays.h:532:29: error: ‘Ogre::TextAreaOverlayElement’ has not been declared
  655. if (ta == Ogre::TextAreaOverlayElement::Left) mTextArea->setHorizontalAlignment(Ogre::GHA_LEFT);
  656. ^
  657. /usr/local/include/OGRE/SdkTrays.h:532:59: error: ‘mTextArea’ was not declared in this scope
  658. if (ta == Ogre::TextAreaOverlayElement::Left) mTextArea->setHorizontalAlignment(Ogre::GHA_LEFT);
  659. ^
  660. /usr/local/include/OGRE/SdkTrays.h:532:93: error: ‘GHA_LEFT’ is not a member of ‘Ogre’
  661. if (ta == Ogre::TextAreaOverlayElement::Left) mTextArea->setHorizontalAlignment(Ogre::GHA_LEFT);
  662. ^
  663. /usr/local/include/OGRE/SdkTrays.h:532:93: note: suggested alternative:
  664. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  665. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  666. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  667. from /usr/local/include/OGRE/SdkTrays.h:34,
  668. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  669. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  670. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:72:9: note: ‘GHA_LEFT’
  671. GHA_LEFT,
  672. ^
  673. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  674. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  675. /usr/local/include/OGRE/SdkTrays.h:533:34: error: ‘Ogre::TextAreaOverlayElement’ has not been declared
  676. else if (ta == Ogre::TextAreaOverlayElement::Center) mTextArea->setHorizontalAlignment(Ogre::GHA_CENTER);
  677. ^
  678. /usr/local/include/OGRE/SdkTrays.h:533:66: error: ‘mTextArea’ was not declared in this scope
  679. else if (ta == Ogre::TextAreaOverlayElement::Center) mTextArea->setHorizontalAlignment(Ogre::GHA_CENTER);
  680. ^
  681. /usr/local/include/OGRE/SdkTrays.h:533:100: error: ‘GHA_CENTER’ is not a member of ‘Ogre’
  682. else if (ta == Ogre::TextAreaOverlayElement::Center) mTextArea->setHorizontalAlignment(Ogre::GHA_CENTER);
  683. ^
  684. /usr/local/include/OGRE/SdkTrays.h:533:100: note: suggested alternative:
  685. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  686. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  687. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  688. from /usr/local/include/OGRE/SdkTrays.h:34,
  689. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  690. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  691. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:73:9: note: ‘GHA_CENTER’
  692. GHA_CENTER,
  693. ^
  694. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  695. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  696. /usr/local/include/OGRE/SdkTrays.h:534:18: error: ‘mTextArea’ was not declared in this scope
  697. else mTextArea->setHorizontalAlignment(Ogre::GHA_RIGHT);
  698. ^
  699. /usr/local/include/OGRE/SdkTrays.h:534:52: error: ‘GHA_RIGHT’ is not a member of ‘Ogre’
  700. else mTextArea->setHorizontalAlignment(Ogre::GHA_RIGHT);
  701. ^
  702. /usr/local/include/OGRE/SdkTrays.h:534:52: note: suggested alternative:
  703. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  704. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  705. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  706. from /usr/local/include/OGRE/SdkTrays.h:34,
  707. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  708. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  709. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:74:9: note: ‘GHA_RIGHT’
  710. GHA_RIGHT
  711. ^
  712. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  713. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  714. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::TextBox::clearText()’:
  715. /usr/local/include/OGRE/SdkTrays.h:540:23: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
  716. setText("");
  717. ^
  718. /usr/local/include/OGRE/SdkTrays.h:457:14: error: initializing argument 1 of ‘void OgreBites::TextBox::setText(const int&)’ [-fpermissive]
  719. void setText(const Ogre::DisplayString& text)
  720. ^
  721. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::TextBox::appendText(const int&)’:
  722. /usr/local/include/OGRE/SdkTrays.h:545:29: error: ‘getText’ was not declared in this scope
  723. setText(getText() + text);
  724. ^
  725. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::TextBox::refitContents()’:
  726. /usr/local/include/OGRE/SdkTrays.h:553:13: error: ‘mScrollTrack’ was not declared in this scope
  727. mScrollTrack->setHeight(mElement->getHeight() - mCaptionBar->getHeight() - 20);
  728. ^
  729. /usr/local/include/OGRE/SdkTrays.h:553:37: error: ‘mElement’ was not declared in this scope
  730. mScrollTrack->setHeight(mElement->getHeight() - mCaptionBar->getHeight() - 20);
  731. ^
  732. /usr/local/include/OGRE/SdkTrays.h:553:61: error: ‘mCaptionBar’ was not declared in this scope
  733. mScrollTrack->setHeight(mElement->getHeight() - mCaptionBar->getHeight() - 20);
  734. ^
  735. /usr/local/include/OGRE/SdkTrays.h:556:13: error: ‘mTextArea’ was not declared in this scope
  736. mTextArea->setTop(mCaptionBar->getHeight() + mPadding - 5);
  737. ^
  738. /usr/local/include/OGRE/SdkTrays.h:557:56: error: ‘GHA_RIGHT’ is not a member of ‘Ogre’
  739. if (mTextArea->getHorizontalAlignment() == Ogre::GHA_RIGHT) mTextArea->setLeft(-mPadding + mScrollTrack->getLeft());
  740. ^
  741. /usr/local/include/OGRE/SdkTrays.h:557:56: note: suggested alternative:
  742. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  743. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  744. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  745. from /usr/local/include/OGRE/SdkTrays.h:34,
  746. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  747. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  748. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:74:9: note: ‘GHA_RIGHT’
  749. GHA_RIGHT
  750. ^
  751. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  752. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  753. /usr/local/include/OGRE/SdkTrays.h:558:61: error: ‘GHA_LEFT’ is not a member of ‘Ogre’
  754. else if (mTextArea->getHorizontalAlignment() == Ogre::GHA_LEFT) mTextArea->setLeft(mPadding);
  755. ^
  756. /usr/local/include/OGRE/SdkTrays.h:558:61: note: suggested alternative:
  757. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  758. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  759. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  760. from /usr/local/include/OGRE/SdkTrays.h:34,
  761. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  762. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  763. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:72:9: note: ‘GHA_LEFT’
  764. GHA_LEFT,
  765. ^
  766. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  767. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  768. /usr/local/include/OGRE/SdkTrays.h:561:29: error: ‘getText’ was not declared in this scope
  769. setText(getText());
  770. ^
  771. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::TextBox::setScrollPercentage(Ogre::Real)’:
  772. /usr/local/include/OGRE/SdkTrays.h:570:13: error: ‘mScrollHandle’ was not declared in this scope
  773. mScrollHandle->setTop((int)(percentage * (mScrollTrack->getHeight() - mScrollHandle->getHeight())));
  774. ^
  775. /usr/local/include/OGRE/SdkTrays.h:570:55: error: ‘mScrollTrack’ was not declared in this scope
  776. mScrollHandle->setTop((int)(percentage * (mScrollTrack->getHeight() - mScrollHandle->getHeight())));
  777. ^
  778. /usr/local/include/OGRE/SdkTrays.h: In member function ‘unsigned int OgreBites::TextBox::getHeightInLines()’:
  779. /usr/local/include/OGRE/SdkTrays.h:587:37: error: ‘mElement’ was not declared in this scope
  780. return (unsigned int) ((mElement->getHeight() - 2 * mPadding - mCaptionBar->getHeight() + 5) / mTextArea->getCharHeight());
  781. ^
  782. /usr/local/include/OGRE/SdkTrays.h:587:76: error: ‘mCaptionBar’ was not declared in this scope
  783. return (unsigned int) ((mElement->getHeight() - 2 * mPadding - mCaptionBar->getHeight() + 5) / mTextArea->getCharHeight());
  784. ^
  785. /usr/local/include/OGRE/SdkTrays.h:587:108: error: ‘mTextArea’ was not declared in this scope
  786. return (unsigned int) ((mElement->getHeight() - 2 * mPadding - mCaptionBar->getHeight() + 5) / mTextArea->getCharHeight());
  787. ^
  788. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::TextBox::_cursorPressed(const Ogre::Vector2&)’:
  789. /usr/local/include/OGRE/SdkTrays.h:592:18: error: ‘mScrollHandle’ was not declared in this scope
  790. if (!mScrollHandle->isVisible()) return; // don't care about clicks if text not scrollable
  791. ^
  792. /usr/local/include/OGRE/SdkTrays.h:594:53: error: ‘mScrollHandle’ was not declared in this scope
  793. Ogre::Vector2 co = Widget::cursorOffset(mScrollHandle, cursorPos);
  794. ^
  795. /usr/local/include/OGRE/SdkTrays.h:601:43: error: ‘mScrollTrack’ was not declared in this scope
  796. else if (Widget::isCursorOver(mScrollTrack, cursorPos))
  797. ^
  798. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::TextBox::_cursorMoved(const Ogre::Vector2&, float)’:
  799. /usr/local/include/OGRE/SdkTrays.h:622:57: error: ‘mScrollHandle’ was not declared in this scope
  800. Ogre::Vector2 co = Widget::cursorOffset(mScrollHandle, cursorPos);
  801. ^
  802. /usr/local/include/OGRE/SdkTrays.h:624:44: error: ‘mScrollTrack’ was not declared in this scope
  803. Ogre::Real lowerBoundary = mScrollTrack->getHeight() - mScrollHandle->getHeight();
  804. ^
  805. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::TextBox::filterLines()’:
  806. /usr/local/include/OGRE/SdkTrays.h:656:13: error: ‘mTextArea’ was not declared in this scope
  807. mTextArea->setCaption(shown); // show just the filtered lines
  808. ^
  809. /usr/local/include/OGRE/SdkTrays.h: At global scope:
  810. /usr/local/include/OGRE/SdkTrays.h:681:52: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  811. SelectMenu(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width,
  812. ^
  813. /usr/local/include/OGRE/SdkTrays.h:681:73: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  814. SelectMenu(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width,
  815. ^
  816. /usr/local/include/OGRE/SdkTrays.h:740:15: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  817. const Ogre::DisplayString& getCaption()
  818. ^
  819. /usr/local/include/OGRE/SdkTrays.h:745:31: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  820. void setCaption(const Ogre::DisplayString& caption)
  821. ^
  822. /usr/local/include/OGRE/SdkTrays.h:745:52: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  823. void setCaption(const Ogre::DisplayString& caption)
  824. ^
  825. /usr/local/include/OGRE/SdkTrays.h:796:28: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  826. void addItem(const Ogre::DisplayString& item)
  827. ^
  828. /usr/local/include/OGRE/SdkTrays.h:796:49: error: ISO C++ forbids declaration of ‘item’ with no type [-fpermissive]
  829. void addItem(const Ogre::DisplayString& item)
  830. ^
  831. /usr/local/include/OGRE/SdkTrays.h:802:42: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  832. void insertItem(int index, const Ogre::DisplayString& item)
  833. ^
  834. /usr/local/include/OGRE/SdkTrays.h:802:63: error: ISO C++ forbids declaration of ‘item’ with no type [-fpermissive]
  835. void insertItem(int index, const Ogre::DisplayString& item)
  836. ^
  837. /usr/local/include/OGRE/SdkTrays.h:808:31: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  838. void removeItem(const Ogre::DisplayString& item)
  839. ^
  840. /usr/local/include/OGRE/SdkTrays.h:808:52: error: ISO C++ forbids declaration of ‘item’ with no type [-fpermissive]
  841. void removeItem(const Ogre::DisplayString& item)
  842. ^
  843. /usr/local/include/OGRE/SdkTrays.h:875:33: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  844. bool containsItem(const Ogre::DisplayString& item)
  845. ^
  846. /usr/local/include/OGRE/SdkTrays.h:875:54: error: ISO C++ forbids declaration of ‘item’ with no type [-fpermissive]
  847. bool containsItem(const Ogre::DisplayString& item)
  848. ^
  849. /usr/local/include/OGRE/SdkTrays.h:890:31: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  850. void selectItem(const Ogre::DisplayString& item, bool notifyListener = true)
  851. ^
  852. /usr/local/include/OGRE/SdkTrays.h:890:52: error: ISO C++ forbids declaration of ‘item’ with no type [-fpermissive]
  853. void selectItem(const Ogre::DisplayString& item, bool notifyListener = true)
  854. ^
  855. /usr/local/include/OGRE/SdkTrays.h:905:9: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  856. Ogre::DisplayString getSelectedItem()
  857. ^
  858. /usr/local/include/OGRE/SdkTrays.h:1121:9: error: ‘BorderPanelOverlayElement’ in namespace ‘Ogre’ does not name a type
  859. Ogre::BorderPanelOverlayElement* mSmallBox;
  860. ^
  861. /usr/local/include/OGRE/SdkTrays.h:1122:9: error: ‘BorderPanelOverlayElement’ in namespace ‘Ogre’ does not name a type
  862. Ogre::BorderPanelOverlayElement* mExpandedBox;
  863. ^
  864. /usr/local/include/OGRE/SdkTrays.h:1123:9: error: ‘TextAreaOverlayElement’ in namespace ‘Ogre’ does not name a type
  865. Ogre::TextAreaOverlayElement* mTextArea;
  866. ^
  867. /usr/local/include/OGRE/SdkTrays.h:1124:9: error: ‘TextAreaOverlayElement’ in namespace ‘Ogre’ does not name a type
  868. Ogre::TextAreaOverlayElement* mSmallTextArea;
  869. ^
  870. /usr/local/include/OGRE/SdkTrays.h:1125:9: error: ‘BorderPanelOverlayElement’ in namespace ‘Ogre’ does not name a type
  871. Ogre::BorderPanelOverlayElement* mScrollTrack;
  872. ^
  873. /usr/local/include/OGRE/SdkTrays.h:1126:9: error: ‘PanelOverlayElement’ in namespace ‘Ogre’ does not name a type
  874. Ogre::PanelOverlayElement* mScrollHandle;
  875. ^
  876. /usr/local/include/OGRE/SdkTrays.h:1127:21: error: ‘BorderPanelOverlayElement’ is not a member of ‘Ogre’
  877. std::vector<Ogre::BorderPanelOverlayElement*> mItemElements;
  878. ^
  879. /usr/local/include/OGRE/SdkTrays.h:1127:21: note: suggested alternative:
  880. In file included from /usr/local/include/OGRE/SdkTrays.h:34:0,
  881. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  882. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  883. /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:58:30: note: ‘Ogre::v1::BorderPanelOverlayElement’
  884. class _OgreOverlayExport BorderPanelOverlayElement : public PanelOverlayElement
  885. ^
  886. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  887. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  888. /usr/local/include/OGRE/SdkTrays.h:1127:21: error: ‘BorderPanelOverlayElement’ is not a member of ‘Ogre’
  889. std::vector<Ogre::BorderPanelOverlayElement*> mItemElements;
  890. ^
  891. /usr/local/include/OGRE/SdkTrays.h:1127:21: note: suggested alternative:
  892. In file included from /usr/local/include/OGRE/SdkTrays.h:34:0,
  893. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  894. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  895. /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:58:30: note: ‘Ogre::v1::BorderPanelOverlayElement’
  896. class _OgreOverlayExport BorderPanelOverlayElement : public PanelOverlayElement
  897. ^
  898. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  899. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  900. /usr/local/include/OGRE/SdkTrays.h:1127:53: error: template argument 1 is invalid
  901. std::vector<Ogre::BorderPanelOverlayElement*> mItemElements;
  902. ^
  903. /usr/local/include/OGRE/SdkTrays.h:1127:53: error: template argument 2 is invalid
  904. /usr/local/include/OGRE/SdkTrays.h: In constructor ‘OgreBites::SelectMenu::SelectMenu(const String&, const int&, Ogre::Real, Ogre::Real, unsigned int)’:
  905. /usr/local/include/OGRE/SdkTrays.h:694:13: error: ‘mElement’ was not declared in this scope
  906. mElement = (Ogre::BorderPanelOverlayElement*)Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate
  907. ^
  908. /usr/local/include/OGRE/SdkTrays.h:694:25: error: ‘BorderPanelOverlayElement’ is not a member of ‘Ogre’
  909. mElement = (Ogre::BorderPanelOverlayElement*)Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate
  910. ^
  911. /usr/local/include/OGRE/SdkTrays.h:694:25: note: suggested alternative:
  912. In file included from /usr/local/include/OGRE/SdkTrays.h:34:0,
  913. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  914. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  915. /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:58:30: note: ‘Ogre::v1::BorderPanelOverlayElement’
  916. class _OgreOverlayExport BorderPanelOverlayElement : public PanelOverlayElement
  917. ^
  918. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  919. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  920. /usr/local/include/OGRE/SdkTrays.h:694:57: error: expected primary-expression before ‘)’ token
  921. mElement = (Ogre::BorderPanelOverlayElement*)Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate
  922. ^
  923. /usr/local/include/OGRE/SdkTrays.h:694:58: error: expected ‘;’ before ‘Ogre’
  924. mElement = (Ogre::BorderPanelOverlayElement*)Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate
  925. ^
  926. /usr/local/include/OGRE/SdkTrays.h:696:13: error: ‘mTextArea’ was not declared in this scope
  927. mTextArea = (Ogre::TextAreaOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(name + "/MenuCaption");
  928. ^
  929. /usr/local/include/OGRE/SdkTrays.h:696:26: error: ‘TextAreaOverlayElement’ is not a member of ‘Ogre’
  930. mTextArea = (Ogre::TextAreaOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(name + "/MenuCaption");
  931. ^
  932. /usr/local/include/OGRE/SdkTrays.h:696:26: note: suggested alternative:
  933. In file included from /usr/local/include/OGRE/SdkTrays.h:35:0,
  934. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  935. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  936. /usr/local/include/OGRE/Overlay/OgreTextAreaOverlayElement.h:45:30: note: ‘Ogre::v1::TextAreaOverlayElement’
  937. class _OgreOverlayExport TextAreaOverlayElement : public OverlayElement
  938. ^
  939. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  940. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  941. /usr/local/include/OGRE/SdkTrays.h:696:55: error: expected primary-expression before ‘)’ token
  942. mTextArea = (Ogre::TextAreaOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(name + "/MenuCaption");
  943. ^
  944. /usr/local/include/OGRE/SdkTrays.h:696:58: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  945. mTextArea = (Ogre::TextAreaOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(name + "/MenuCaption");
  946. ^
  947. /usr/local/include/OGRE/SdkTrays.h:696:58: note: suggested alternative:
  948. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  949. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  950. from /usr/local/include/OGRE/SdkTrays.h:34,
  951. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  952. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  953. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  954. class _OgreOverlayExport OverlayContainer : public OverlayElement
  955. ^
  956. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  957. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  958. /usr/local/include/OGRE/SdkTrays.h:696:81: error: expected primary-expression before ‘)’ token
  959. mTextArea = (Ogre::TextAreaOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(name + "/MenuCaption");
  960. ^
  961. /usr/local/include/OGRE/SdkTrays.h:697:13: error: ‘mSmallBox’ was not declared in this scope
  962. mSmallBox = (Ogre::BorderPanelOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(name + "/MenuSmallBox");
  963. ^
  964. /usr/local/include/OGRE/SdkTrays.h:697:26: error: ‘BorderPanelOverlayElement’ is not a member of ‘Ogre’
  965. mSmallBox = (Ogre::BorderPanelOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(name + "/MenuSmallBox");
  966. ^
  967. /usr/local/include/OGRE/SdkTrays.h:697:26: note: suggested alternative:
  968. In file included from /usr/local/include/OGRE/SdkTrays.h:34:0,
  969. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  970. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  971. /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:58:30: note: ‘Ogre::v1::BorderPanelOverlayElement’
  972. class _OgreOverlayExport BorderPanelOverlayElement : public PanelOverlayElement
  973. ^
  974. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  975. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  976. /usr/local/include/OGRE/SdkTrays.h:697:58: error: expected primary-expression before ‘)’ token
  977. mSmallBox = (Ogre::BorderPanelOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(name + "/MenuSmallBox");
  978. ^
  979. /usr/local/include/OGRE/SdkTrays.h:697:61: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  980. mSmallBox = (Ogre::BorderPanelOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(name + "/MenuSmallBox");
  981. ^
  982. /usr/local/include/OGRE/SdkTrays.h:697:61: note: suggested alternative:
  983. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  984. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  985. from /usr/local/include/OGRE/SdkTrays.h:34,
  986. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  987. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  988. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  989. class _OgreOverlayExport OverlayContainer : public OverlayElement
  990. ^
  991. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  992. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  993. /usr/local/include/OGRE/SdkTrays.h:697:84: error: expected primary-expression before ‘)’ token
  994. mSmallBox = (Ogre::BorderPanelOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(name + "/MenuSmallBox");
  995. ^
  996. /usr/local/include/OGRE/SdkTrays.h:699:13: error: ‘mSmallTextArea’ was not declared in this scope
  997. mSmallTextArea = (Ogre::TextAreaOverlayElement*)mSmallBox->getChild(name + "/MenuSmallBox/MenuSmallText");
  998. ^
  999. /usr/local/include/OGRE/SdkTrays.h:699:31: error: ‘TextAreaOverlayElement’ is not a member of ‘Ogre’
  1000. mSmallTextArea = (Ogre::TextAreaOverlayElement*)mSmallBox->getChild(name + "/MenuSmallBox/MenuSmallText");
  1001. ^
  1002. /usr/local/include/OGRE/SdkTrays.h:699:31: note: suggested alternative:
  1003. In file included from /usr/local/include/OGRE/SdkTrays.h:35:0,
  1004. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  1005. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1006. /usr/local/include/OGRE/Overlay/OgreTextAreaOverlayElement.h:45:30: note: ‘Ogre::v1::TextAreaOverlayElement’
  1007. class _OgreOverlayExport TextAreaOverlayElement : public OverlayElement
  1008. ^
  1009. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1010. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1011. /usr/local/include/OGRE/SdkTrays.h:699:60: error: expected primary-expression before ‘)’ token
  1012. mSmallTextArea = (Ogre::TextAreaOverlayElement*)mSmallBox->getChild(name + "/MenuSmallBox/MenuSmallText");
  1013. ^
  1014. /usr/local/include/OGRE/SdkTrays.h:699:61: error: expected ‘;’ before ‘mSmallBox’
  1015. mSmallTextArea = (Ogre::TextAreaOverlayElement*)mSmallBox->getChild(name + "/MenuSmallBox/MenuSmallText");
  1016. ^
  1017. /usr/local/include/OGRE/SdkTrays.h:713:51: error: ‘GHA_LEFT’ is not a member of ‘Ogre’
  1018. mTextArea->setHorizontalAlignment(Ogre::GHA_LEFT);
  1019. ^
  1020. /usr/local/include/OGRE/SdkTrays.h:713:51: note: suggested alternative:
  1021. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  1022. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  1023. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  1024. from /usr/local/include/OGRE/SdkTrays.h:34,
  1025. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  1026. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1027. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:72:9: note: ‘GHA_LEFT’
  1028. GHA_LEFT,
  1029. ^
  1030. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1031. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1032. /usr/local/include/OGRE/SdkTrays.h:714:47: error: ‘Ogre::TextAreaOverlayElement’ has not been declared
  1033. mTextArea->setAlignment(Ogre::TextAreaOverlayElement::Left);
  1034. ^
  1035. /usr/local/include/OGRE/SdkTrays.h:719:13: error: ‘mExpandedBox’ was not declared in this scope
  1036. mExpandedBox = (Ogre::BorderPanelOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(name + "/MenuExpandedBox");
  1037. ^
  1038. /usr/local/include/OGRE/SdkTrays.h:719:29: error: ‘BorderPanelOverlayElement’ is not a member of ‘Ogre’
  1039. mExpandedBox = (Ogre::BorderPanelOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(name + "/MenuExpandedBox");
  1040. ^
  1041. /usr/local/include/OGRE/SdkTrays.h:719:29: note: suggested alternative:
  1042. In file included from /usr/local/include/OGRE/SdkTrays.h:34:0,
  1043. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  1044. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1045. /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:58:30: note: ‘Ogre::v1::BorderPanelOverlayElement’
  1046. class _OgreOverlayExport BorderPanelOverlayElement : public PanelOverlayElement
  1047. ^
  1048. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1049. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1050. /usr/local/include/OGRE/SdkTrays.h:719:61: error: expected primary-expression before ‘)’ token
  1051. mExpandedBox = (Ogre::BorderPanelOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(name + "/MenuExpandedBox");
  1052. ^
  1053. /usr/local/include/OGRE/SdkTrays.h:719:64: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  1054. mExpandedBox = (Ogre::BorderPanelOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(name + "/MenuExpandedBox");
  1055. ^
  1056. /usr/local/include/OGRE/SdkTrays.h:719:64: note: suggested alternative:
  1057. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  1058. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  1059. from /usr/local/include/OGRE/SdkTrays.h:34,
  1060. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  1061. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1062. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  1063. class _OgreOverlayExport OverlayContainer : public OverlayElement
  1064. ^
  1065. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1066. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1067. /usr/local/include/OGRE/SdkTrays.h:719:87: error: expected primary-expression before ‘)’ token
  1068. mExpandedBox = (Ogre::BorderPanelOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(name + "/MenuExpandedBox");
  1069. ^
  1070. /usr/local/include/OGRE/SdkTrays.h:722:13: error: ‘mScrollTrack’ was not declared in this scope
  1071. mScrollTrack = (Ogre::BorderPanelOverlayElement*)mExpandedBox->getChild(mExpandedBox->getName() + "/MenuScrollTrack");
  1072. ^
  1073. /usr/local/include/OGRE/SdkTrays.h:722:29: error: ‘BorderPanelOverlayElement’ is not a member of ‘Ogre’
  1074. mScrollTrack = (Ogre::BorderPanelOverlayElement*)mExpandedBox->getChild(mExpandedBox->getName() + "/MenuScrollTrack");
  1075. ^
  1076. /usr/local/include/OGRE/SdkTrays.h:722:29: note: suggested alternative:
  1077. In file included from /usr/local/include/OGRE/SdkTrays.h:34:0,
  1078. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  1079. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1080. /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:58:30: note: ‘Ogre::v1::BorderPanelOverlayElement’
  1081. class _OgreOverlayExport BorderPanelOverlayElement : public PanelOverlayElement
  1082. ^
  1083. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1084. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1085. /usr/local/include/OGRE/SdkTrays.h:722:61: error: expected primary-expression before ‘)’ token
  1086. mScrollTrack = (Ogre::BorderPanelOverlayElement*)mExpandedBox->getChild(mExpandedBox->getName() + "/MenuScrollTrack");
  1087. ^
  1088. /usr/local/include/OGRE/SdkTrays.h:722:62: error: expected ‘;’ before ‘mExpandedBox’
  1089. mScrollTrack = (Ogre::BorderPanelOverlayElement*)mExpandedBox->getChild(mExpandedBox->getName() + "/MenuScrollTrack");
  1090. ^
  1091. /usr/local/include/OGRE/SdkTrays.h:723:13: error: ‘mScrollHandle’ was not declared in this scope
  1092. mScrollHandle = (Ogre::PanelOverlayElement*)mScrollTrack->getChild(mScrollTrack->getName() + "/MenuScrollHandle");
  1093. ^
  1094. /usr/local/include/OGRE/SdkTrays.h:723:30: error: ‘PanelOverlayElement’ is not a member of ‘Ogre’
  1095. mScrollHandle = (Ogre::PanelOverlayElement*)mScrollTrack->getChild(mScrollTrack->getName() + "/MenuScrollHandle");
  1096. ^
  1097. /usr/local/include/OGRE/SdkTrays.h:723:30: note: suggested alternative:
  1098. In file included from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32:0,
  1099. from /usr/local/include/OGRE/SdkTrays.h:34,
  1100. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  1101. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1102. /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:59:30: note: ‘Ogre::v1::PanelOverlayElement’
  1103. class _OgreOverlayExport PanelOverlayElement : public OverlayContainer
  1104. ^
  1105. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1106. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1107. /usr/local/include/OGRE/SdkTrays.h:723:56: error: expected primary-expression before ‘)’ token
  1108. mScrollHandle = (Ogre::PanelOverlayElement*)mScrollTrack->getChild(mScrollTrack->getName() + "/MenuScrollHandle");
  1109. ^
  1110. /usr/local/include/OGRE/SdkTrays.h:723:57: error: expected ‘;’ before ‘mScrollTrack’
  1111. mScrollHandle = (Ogre::PanelOverlayElement*)mScrollTrack->getChild(mScrollTrack->getName() + "/MenuScrollHandle");
  1112. ^
  1113. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SelectMenu::copyItemsFrom(OgreBites::SelectMenu*)’:
  1114. /usr/local/include/OGRE/SdkTrays.h:732:34: error: no matching function for call to ‘OgreBites::SelectMenu::addItem(const std::basic_string<char>&)’
  1115. this->addItem(*it);
  1116. ^
  1117. /usr/local/include/OGRE/SdkTrays.h:732:34: note: candidate is:
  1118. /usr/local/include/OGRE/SdkTrays.h:796:14: note: void OgreBites::SelectMenu::addItem(const int&)
  1119. void addItem(const Ogre::DisplayString& item)
  1120. ^
  1121. /usr/local/include/OGRE/SdkTrays.h:796:14: note: no known conversion for argument 1 from ‘const std::basic_string<char>’ to ‘const int&’
  1122. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SelectMenu::setCaption(const int&)’:
  1123. /usr/local/include/OGRE/SdkTrays.h:747:13: error: ‘mTextArea’ was not declared in this scope
  1124. mTextArea->setCaption(caption);
  1125. ^
  1126. /usr/local/include/OGRE/SdkTrays.h:750:17: error: ‘mElement’ was not declared in this scope
  1127. mElement->setWidth(getCaptionWidth(caption, mTextArea) + mSmallBox->getWidth() + 23);
  1128. ^
  1129. /usr/local/include/OGRE/SdkTrays.h:750:74: error: ‘mSmallBox’ was not declared in this scope
  1130. mElement->setWidth(getCaptionWidth(caption, mTextArea) + mSmallBox->getWidth() + 23);
  1131. ^
  1132. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SelectMenu::setItems(const StringVector&)’:
  1133. /usr/local/include/OGRE/SdkTrays.h:770:56: error: request for member ‘size’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  1134. for (unsigned int i = 0; i < mItemElements.size(); i++) // destroy all the item elements
  1135. ^
  1136. /usr/local/include/OGRE/SdkTrays.h:772:51: error: invalid types ‘int[unsigned int]’ for array subscript
  1137. nukeOverlayElement(mItemElements[i]);
  1138. ^
  1139. /usr/local/include/OGRE/SdkTrays.h:774:27: error: request for member ‘clear’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  1140. mItemElements.clear();
  1141. ^
  1142. /usr/local/include/OGRE/SdkTrays.h:780:17: error: ‘BorderPanelOverlayElement’ is not a member of ‘Ogre’
  1143. Ogre::BorderPanelOverlayElement* e =
  1144. ^
  1145. /usr/local/include/OGRE/SdkTrays.h:780:17: note: suggested alternative:
  1146. In file included from /usr/local/include/OGRE/SdkTrays.h:34:0,
  1147. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  1148. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1149. /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:58:30: note: ‘Ogre::v1::BorderPanelOverlayElement’
  1150. class _OgreOverlayExport BorderPanelOverlayElement : public PanelOverlayElement
  1151. ^
  1152. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1153. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1154. /usr/local/include/OGRE/SdkTrays.h:780:50: error: ‘e’ was not declared in this scope
  1155. Ogre::BorderPanelOverlayElement* e =
  1156. ^
  1157. /usr/local/include/OGRE/SdkTrays.h:781:22: error: ‘BorderPanelOverlayElement’ is not a member of ‘Ogre’
  1158. (Ogre::BorderPanelOverlayElement*)Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate
  1159. ^
  1160. /usr/local/include/OGRE/SdkTrays.h:781:22: note: suggested alternative:
  1161. In file included from /usr/local/include/OGRE/SdkTrays.h:34:0,
  1162. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  1163. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1164. /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:58:30: note: ‘Ogre::v1::BorderPanelOverlayElement’
  1165. class _OgreOverlayExport BorderPanelOverlayElement : public PanelOverlayElement
  1166. ^
  1167. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1168. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1169. /usr/local/include/OGRE/SdkTrays.h:781:54: error: expected primary-expression before ‘)’ token
  1170. (Ogre::BorderPanelOverlayElement*)Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate
  1171. ^
  1172. /usr/local/include/OGRE/SdkTrays.h:781:55: error: expected ‘;’ before ‘Ogre’
  1173. (Ogre::BorderPanelOverlayElement*)Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate
  1174. ^
  1175. /usr/local/include/OGRE/SdkTrays.h:785:36: error: ‘mSmallBox’ was not declared in this scope
  1176. e->setTop(6 + i * (mSmallBox->getHeight() - 8));
  1177. ^
  1178. /usr/local/include/OGRE/SdkTrays.h:786:29: error: ‘mExpandedBox’ was not declared in this scope
  1179. e->setWidth(mExpandedBox->getWidth() - 32);
  1180. ^
  1181. /usr/local/include/OGRE/SdkTrays.h:789:31: error: request for member ‘push_back’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  1182. mItemElements.push_back(e);
  1183. ^
  1184. /usr/local/include/OGRE/SdkTrays.h:793:18: error: ‘mSmallTextArea’ was not declared in this scope
  1185. else mSmallTextArea->setCaption("");
  1186. ^
  1187. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SelectMenu::addItem(const int&)’:
  1188. /usr/local/include/OGRE/SdkTrays.h:798:34: error: invalid user-defined conversion from ‘const int’ to ‘const value_type& {aka const std::basic_string<char>&}’ [-fpermissive]
  1189. mItems.push_back(item);
  1190. ^
  1191. In file included from /usr/include/c++/4.8/string:53:0,
  1192. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  1193. from /usr/local/include/OGRE/OgreCamera.h:32,
  1194. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1195. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1196. /usr/include/c++/4.8/bits/basic_string.tcc:212:5: note: candidate is: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>] <near match>
  1197. basic_string<_CharT, _Traits, _Alloc>::
  1198. ^
  1199. /usr/include/c++/4.8/bits/basic_string.tcc:212:5: note: no known conversion for argument 1 from ‘const int’ to ‘const char*’
  1200. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1201. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1202. /usr/local/include/OGRE/SdkTrays.h:798:34: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
  1203. mItems.push_back(item);
  1204. ^
  1205. In file included from /usr/include/c++/4.8/string:53:0,
  1206. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  1207. from /usr/local/include/OGRE/OgreCamera.h:32,
  1208. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1209. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1210. /usr/include/c++/4.8/bits/basic_string.tcc:212:5: error: initializing argument 1 of ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ [-fpermissive]
  1211. basic_string<_CharT, _Traits, _Alloc>::
  1212. ^
  1213. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1214. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1215. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SelectMenu::insertItem(int, const int&)’:
  1216. /usr/local/include/OGRE/SdkTrays.h:804:55: error: invalid user-defined conversion from ‘const int’ to ‘const value_type& {aka const std::basic_string<char>&}’ [-fpermissive]
  1217. mItems.insert(mItems.begin() + index, item);
  1218. ^
  1219. In file included from /usr/include/c++/4.8/string:53:0,
  1220. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  1221. from /usr/local/include/OGRE/OgreCamera.h:32,
  1222. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1223. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1224. /usr/include/c++/4.8/bits/basic_string.tcc:212:5: note: candidate is: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>] <near match>
  1225. basic_string<_CharT, _Traits, _Alloc>::
  1226. ^
  1227. /usr/include/c++/4.8/bits/basic_string.tcc:212:5: note: no known conversion for argument 1 from ‘const int’ to ‘const char*’
  1228. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1229. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1230. /usr/local/include/OGRE/SdkTrays.h:804:55: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
  1231. mItems.insert(mItems.begin() + index, item);
  1232. ^
  1233. In file included from /usr/include/c++/4.8/string:53:0,
  1234. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  1235. from /usr/local/include/OGRE/OgreCamera.h:32,
  1236. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1237. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1238. /usr/include/c++/4.8/bits/basic_string.tcc:212:5: error: initializing argument 1 of ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ [-fpermissive]
  1239. basic_string<_CharT, _Traits, _Alloc>::
  1240. ^
  1241. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1242. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1243. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SelectMenu::removeItem(const int&)’:
  1244. /usr/local/include/OGRE/SdkTrays.h:812:26: error: no match for ‘operator==’ (operand types are ‘const int’ and ‘Ogre::STLAllocator<std::basic_string<char>, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0u> >::value_type {aka std::basic_string<char>}’)
  1245. if (item == mItems[i]) {
  1246. ^
  1247. /usr/local/include/OGRE/SdkTrays.h:812:26: note: candidates are:
  1248. In file included from /usr/include/boost/detail/container_fwd.hpp:98:0,
  1249. from /usr/include/boost/functional/hash/extensions.hpp:17,
  1250. from /usr/include/boost/functional/hash/hash.hpp:529,
  1251. from /usr/include/boost/functional/hash.hpp:6,
  1252. from /usr/include/boost/thread/detail/thread.hpp:37,
  1253. from /usr/include/boost/thread/thread_only.hpp:22,
  1254. from /usr/include/boost/thread/thread.hpp:12,
  1255. from /usr/local/include/OGRE/Threading/OgreThreadHeadersBoost.h:50,
  1256. from /usr/local/include/OGRE/Threading/OgreThreadHeaders.h:34,
  1257. from /usr/local/include/OGRE/OgreStringInterface.h:34,
  1258. from /usr/local/include/OGRE/OgreResource.h:33,
  1259. from /usr/local/include/OGRE/OgreGpuProgram.h:33,
  1260. from /usr/local/include/OGRE/OgreRenderable.h:35,
  1261. from /usr/local/include/OGRE/OgreNode.h:34,
  1262. from /usr/local/include/OGRE/OgreSceneNode.h:33,
  1263. from /usr/local/include/OGRE/OgreMovableObject.h:37,
  1264. from /usr/local/include/OGRE/OgreFrustum.h:32,
  1265. from /usr/local/include/OGRE/OgreCamera.h:36,
  1266. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1267. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1268. /usr/include/c++/4.8/complex:466:5: note: template<class _Tp> bool std::operator==(const _Tp&, const std::complex<_Tp>&)
  1269. operator==(const _Tp& __x, const complex<_Tp>& __y)
  1270. ^
  1271. /usr/include/c++/4.8/complex:466:5: note: template argument deduction/substitution failed:
  1272. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1273. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1274. /usr/local/include/OGRE/SdkTrays.h:812:37: note: ‘Ogre::STLAllocator<std::basic_string<char>, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0u> >::value_type {aka std::basic_string<char>}’ is not derived from ‘const std::complex<_Tp>’
  1275. if (item == mItems[i]) {
  1276. ^
  1277. In file included from /usr/include/boost/detail/container_fwd.hpp:98:0,
  1278. from /usr/include/boost/functional/hash/extensions.hpp:17,
  1279. from /usr/include/boost/functional/hash/hash.hpp:529,
  1280. from /usr/include/boost/functional/hash.hpp:6,
  1281. from /usr/include/boost/thread/detail/thread.hpp:37,
  1282. from /usr/include/boost/thread/thread_only.hpp:22,
  1283. from /usr/include/boost/thread/thread.hpp:12,
  1284. from /usr/local/include/OGRE/Threading/OgreThreadHeadersBoost.h:50,
  1285. from /usr/local/include/OGRE/Threading/OgreThreadHeaders.h:34,
  1286. from /usr/local/include/OGRE/OgreStringInterface.h:34,
  1287. from /usr/local/include/OGRE/OgreResource.h:33,
  1288. from /usr/local/include/OGRE/OgreGpuProgram.h:33,
  1289. from /usr/local/include/OGRE/OgreRenderable.h:35,
  1290. from /usr/local/include/OGRE/OgreNode.h:34,
  1291. from /usr/local/include/OGRE/OgreSceneNode.h:33,
  1292. from /usr/local/include/OGRE/OgreMovableObject.h:37,
  1293. from /usr/local/include/OGRE/OgreFrustum.h:32,
  1294. from /usr/local/include/OGRE/OgreCamera.h:36,
  1295. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1296. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1297. /usr/include/c++/4.8/complex:461:5: note: template<class _Tp> bool std::operator==(const std::complex<_Tp>&, const _Tp&)
  1298. operator==(const complex<_Tp>& __x, const _Tp& __y)
  1299. ^
  1300. /usr/include/c++/4.8/complex:461:5: note: template argument deduction/substitution failed:
  1301. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1302. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1303. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::complex<_Tp>’ and ‘const int’
  1304. if (item == mItems[i]) {
  1305. ^
  1306. In file included from /usr/include/boost/detail/container_fwd.hpp:98:0,
  1307. from /usr/include/boost/functional/hash/extensions.hpp:17,
  1308. from /usr/include/boost/functional/hash/hash.hpp:529,
  1309. from /usr/include/boost/functional/hash.hpp:6,
  1310. from /usr/include/boost/thread/detail/thread.hpp:37,
  1311. from /usr/include/boost/thread/thread_only.hpp:22,
  1312. from /usr/include/boost/thread/thread.hpp:12,
  1313. from /usr/local/include/OGRE/Threading/OgreThreadHeadersBoost.h:50,
  1314. from /usr/local/include/OGRE/Threading/OgreThreadHeaders.h:34,
  1315. from /usr/local/include/OGRE/OgreStringInterface.h:34,
  1316. from /usr/local/include/OGRE/OgreResource.h:33,
  1317. from /usr/local/include/OGRE/OgreGpuProgram.h:33,
  1318. from /usr/local/include/OGRE/OgreRenderable.h:35,
  1319. from /usr/local/include/OGRE/OgreNode.h:34,
  1320. from /usr/local/include/OGRE/OgreSceneNode.h:33,
  1321. from /usr/local/include/OGRE/OgreMovableObject.h:37,
  1322. from /usr/local/include/OGRE/OgreFrustum.h:32,
  1323. from /usr/local/include/OGRE/OgreCamera.h:36,
  1324. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1325. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1326. /usr/include/c++/4.8/complex:456:5: note: template<class _Tp> bool std::operator==(const std::complex<_Tp>&, const std::complex<_Tp>&)
  1327. operator==(const complex<_Tp>& __x, const complex<_Tp>& __y)
  1328. ^
  1329. /usr/include/c++/4.8/complex:456:5: note: template argument deduction/substitution failed:
  1330. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1331. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1332. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::complex<_Tp>’ and ‘const int’
  1333. if (item == mItems[i]) {
  1334. ^
  1335. In file included from /usr/include/c++/4.8/iterator:66:0,
  1336. from /usr/include/boost/iterator.hpp:17,
  1337. from /usr/include/boost/operators.hpp:86,
  1338. from /usr/include/boost/system/error_code.hpp:17,
  1339. from /usr/include/boost/system/system_error.hpp:14,
  1340. from /usr/include/boost/thread/exceptions.hpp:22,
  1341. from /usr/include/boost/thread/pthread/recursive_mutex.hpp:11,
  1342. from /usr/include/boost/thread/recursive_mutex.hpp:16,
  1343. from /usr/local/include/OGRE/Threading/OgreThreadHeadersBoost.h:48,
  1344. from /usr/local/include/OGRE/Threading/OgreThreadHeaders.h:34,
  1345. from /usr/local/include/OGRE/OgreStringInterface.h:34,
  1346. from /usr/local/include/OGRE/OgreResource.h:33,
  1347. from /usr/local/include/OGRE/OgreGpuProgram.h:33,
  1348. from /usr/local/include/OGRE/OgreRenderable.h:35,
  1349. from /usr/local/include/OGRE/OgreNode.h:34,
  1350. from /usr/local/include/OGRE/OgreSceneNode.h:33,
  1351. from /usr/local/include/OGRE/OgreMovableObject.h:37,
  1352. from /usr/local/include/OGRE/OgreFrustum.h:32,
  1353. from /usr/local/include/OGRE/OgreCamera.h:36,
  1354. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1355. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1356. /usr/include/c++/4.8/bits/stream_iterator.h:130:5: note: template<class _Tp, class _CharT, class _Traits, class _Dist> bool std::operator==(const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>&, const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>&)
  1357. operator==(const istream_iterator<_Tp, _CharT, _Traits, _Dist>& __x,
  1358. ^
  1359. /usr/include/c++/4.8/bits/stream_iterator.h:130:5: note: template argument deduction/substitution failed:
  1360. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1361. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1362. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>’ and ‘const int’
  1363. if (item == mItems[i]) {
  1364. ^
  1365. In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
  1366. from /usr/include/c++/4.8/bits/basic_ios.h:37,
  1367. from /usr/include/c++/4.8/ios:44,
  1368. from /usr/include/c++/4.8/istream:38,
  1369. from /usr/include/c++/4.8/fstream:38,
  1370. from /usr/local/include/OGRE/OgreStdHeaders.h:78,
  1371. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1372. from /usr/local/include/OGRE/OgreCamera.h:32,
  1373. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1374. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1375. /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
  1376. operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
  1377. ^
  1378. /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
  1379. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1380. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1381. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::istreambuf_iterator<_CharT, _Traits>’ and ‘const int’
  1382. if (item == mItems[i]) {
  1383. ^
  1384. In file included from /usr/include/c++/4.8/queue:64:0,
  1385. from /usr/local/include/OGRE/OgreStdHeaders.h:37,
  1386. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1387. from /usr/local/include/OGRE/OgreCamera.h:32,
  1388. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1389. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1390. /usr/include/c++/4.8/bits/stl_queue.h:268:5: note: template<class _Tp, class _Seq> bool std::operator==(const std::queue<_Tp, _Seq>&, const std::queue<_Tp, _Seq>&)
  1391. operator==(const queue<_Tp, _Seq>& __x, const queue<_Tp, _Seq>& __y)
  1392. ^
  1393. /usr/include/c++/4.8/bits/stl_queue.h:268:5: note: template argument deduction/substitution failed:
  1394. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1395. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1396. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::queue<_Tp, _Seq>’ and ‘const int’
  1397. if (item == mItems[i]) {
  1398. ^
  1399. In file included from /usr/include/c++/4.8/deque:64:0,
  1400. from /usr/local/include/OGRE/OgreStdHeaders.h:36,
  1401. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1402. from /usr/local/include/OGRE/OgreCamera.h:32,
  1403. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1404. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1405. /usr/include/c++/4.8/bits/stl_deque.h:1957:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::deque<_Tp, _Alloc>&, const std::deque<_Tp, _Alloc>&)
  1406. operator==(const deque<_Tp, _Alloc>& __x,
  1407. ^
  1408. /usr/include/c++/4.8/bits/stl_deque.h:1957:5: note: template argument deduction/substitution failed:
  1409. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1410. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1411. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::deque<_Tp, _Alloc>’ and ‘const int’
  1412. if (item == mItems[i]) {
  1413. ^
  1414. In file included from /usr/include/c++/4.8/deque:64:0,
  1415. from /usr/local/include/OGRE/OgreStdHeaders.h:36,
  1416. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1417. from /usr/local/include/OGRE/OgreCamera.h:32,
  1418. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1419. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1420. /usr/include/c++/4.8/bits/stl_deque.h:254:5: note: template<class _Tp, class _RefL, class _PtrL, class _RefR, class _PtrR> bool std::operator==(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _RefR, _PtrR>&)
  1421. operator==(const _Deque_iterator<_Tp, _RefL, _PtrL>& __x,
  1422. ^
  1423. /usr/include/c++/4.8/bits/stl_deque.h:254:5: note: template argument deduction/substitution failed:
  1424. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1425. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1426. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::_Deque_iterator<_Tp, _Ref, _Ptr>’ and ‘const int’
  1427. if (item == mItems[i]) {
  1428. ^
  1429. In file included from /usr/include/c++/4.8/deque:64:0,
  1430. from /usr/local/include/OGRE/OgreStdHeaders.h:36,
  1431. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1432. from /usr/local/include/OGRE/OgreCamera.h:32,
  1433. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1434. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1435. /usr/include/c++/4.8/bits/stl_deque.h:247:5: note: template<class _Tp, class _Ref, class _Ptr> bool std::operator==(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&)
  1436. operator==(const _Deque_iterator<_Tp, _Ref, _Ptr>& __x,
  1437. ^
  1438. /usr/include/c++/4.8/bits/stl_deque.h:247:5: note: template argument deduction/substitution failed:
  1439. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1440. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1441. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::_Deque_iterator<_Tp, _Ref, _Ptr>’ and ‘const int’
  1442. if (item == mItems[i]) {
  1443. ^
  1444. In file included from /usr/include/c++/4.8/list:63:0,
  1445. from /usr/local/include/OGRE/OgreStdHeaders.h:35,
  1446. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1447. from /usr/local/include/OGRE/OgreCamera.h:32,
  1448. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1449. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1450. /usr/include/c++/4.8/bits/stl_list.h:1602:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::list<_Tp, _Alloc>&, const std::list<_Tp, _Alloc>&)
  1451. operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
  1452. ^
  1453. /usr/include/c++/4.8/bits/stl_list.h:1602:5: note: template argument deduction/substitution failed:
  1454. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1455. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1456. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::list<_Tp, _Alloc>’ and ‘const int’
  1457. if (item == mItems[i]) {
  1458. ^
  1459. In file included from /usr/include/c++/4.8/list:63:0,
  1460. from /usr/local/include/OGRE/OgreStdHeaders.h:35,
  1461. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1462. from /usr/local/include/OGRE/OgreCamera.h:32,
  1463. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1464. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1465. /usr/include/c++/4.8/bits/stl_list.h:276:5: note: template<class _Val> bool std::operator==(const std::_List_iterator<_Tp>&, const std::_List_const_iterator<_Val>&)
  1466. operator==(const _List_iterator<_Val>& __x,
  1467. ^
  1468. /usr/include/c++/4.8/bits/stl_list.h:276:5: note: template argument deduction/substitution failed:
  1469. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1470. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1471. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::_List_iterator<_Tp>’ and ‘const int’
  1472. if (item == mItems[i]) {
  1473. ^
  1474. In file included from /usr/include/c++/4.8/set:62:0,
  1475. from /usr/local/include/OGRE/OgreStdHeaders.h:34,
  1476. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1477. from /usr/local/include/OGRE/OgreCamera.h:32,
  1478. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1479. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1480. /usr/include/c++/4.8/bits/stl_multiset.h:739:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator==(const std::multiset<_Key, _Compare, _Alloc>&, const std::multiset<_Key, _Compare, _Alloc>&)
  1481. operator==(const multiset<_Key, _Compare, _Alloc>& __x,
  1482. ^
  1483. /usr/include/c++/4.8/bits/stl_multiset.h:739:5: note: template argument deduction/substitution failed:
  1484. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1485. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1486. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::multiset<_Key, _Compare, _Alloc>’ and ‘const int’
  1487. if (item == mItems[i]) {
  1488. ^
  1489. In file included from /usr/include/c++/4.8/set:61:0,
  1490. from /usr/local/include/OGRE/OgreStdHeaders.h:34,
  1491. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1492. from /usr/local/include/OGRE/OgreCamera.h:32,
  1493. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1494. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1495. /usr/include/c++/4.8/bits/stl_set.h:754:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator==(const std::set<_Key, _Compare, _Alloc>&, const std::set<_Key, _Compare, _Alloc>&)
  1496. operator==(const set<_Key, _Compare, _Alloc>& __x,
  1497. ^
  1498. /usr/include/c++/4.8/bits/stl_set.h:754:5: note: template argument deduction/substitution failed:
  1499. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1500. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1501. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::set<_Key, _Compare, _Alloc>’ and ‘const int’
  1502. if (item == mItems[i]) {
  1503. ^
  1504. In file included from /usr/include/c++/4.8/map:62:0,
  1505. from /usr/local/include/OGRE/OgreStdHeaders.h:32,
  1506. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1507. from /usr/local/include/OGRE/OgreCamera.h:32,
  1508. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1509. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1510. /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
  1511. operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
  1512. ^
  1513. /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template argument deduction/substitution failed:
  1514. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1515. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1516. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::multimap<_Key, _Tp, _Compare, _Alloc>’ and ‘const int’
  1517. if (item == mItems[i]) {
  1518. ^
  1519. In file included from /usr/include/c++/4.8/map:61:0,
  1520. from /usr/local/include/OGRE/OgreStdHeaders.h:32,
  1521. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1522. from /usr/local/include/OGRE/OgreCamera.h:32,
  1523. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1524. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1525. /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
  1526. operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
  1527. ^
  1528. /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template argument deduction/substitution failed:
  1529. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1530. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1531. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::map<_Key, _Tp, _Compare, _Alloc>’ and ‘const int’
  1532. if (item == mItems[i]) {
  1533. ^
  1534. In file included from /usr/include/c++/4.8/map:60:0,
  1535. from /usr/local/include/OGRE/OgreStdHeaders.h:32,
  1536. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1537. from /usr/local/include/OGRE/OgreCamera.h:32,
  1538. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1539. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1540. /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator==(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
  1541. operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
  1542. ^
  1543. /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template argument deduction/substitution failed:
  1544. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1545. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1546. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>’ and ‘const int’
  1547. if (item == mItems[i]) {
  1548. ^
  1549. In file included from /usr/include/c++/4.8/map:60:0,
  1550. from /usr/local/include/OGRE/OgreStdHeaders.h:32,
  1551. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1552. from /usr/local/include/OGRE/OgreCamera.h:32,
  1553. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1554. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1555. /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template<class _Val> bool std::operator==(const std::_Rb_tree_iterator<_Tp>&, const std::_Rb_tree_const_iterator<_Val>&)
  1556. operator==(const _Rb_tree_iterator<_Val>& __x,
  1557. ^
  1558. /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template argument deduction/substitution failed:
  1559. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1560. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1561. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::_Rb_tree_iterator<_Tp>’ and ‘const int’
  1562. if (item == mItems[i]) {
  1563. ^
  1564. In file included from /usr/include/c++/4.8/vector:64:0,
  1565. from /usr/local/include/OGRE/OgreStdHeaders.h:31,
  1566. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1567. from /usr/local/include/OGRE/OgreCamera.h:32,
  1568. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1569. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1570. /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
  1571. operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
  1572. ^
  1573. /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template argument deduction/substitution failed:
  1574. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1575. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1576. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::vector<_Tp, _Alloc>’ and ‘const int’
  1577. if (item == mItems[i]) {
  1578. ^
  1579. In file included from /usr/include/c++/4.8/string:52:0,
  1580. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  1581. from /usr/local/include/OGRE/OgreCamera.h:32,
  1582. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1583. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1584. /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
  1585. operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  1586. ^
  1587. /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template argument deduction/substitution failed:
  1588. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1589. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1590. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::basic_string<_CharT, _Traits, _Alloc>’ and ‘const int’
  1591. if (item == mItems[i]) {
  1592. ^
  1593. In file included from /usr/include/c++/4.8/string:52:0,
  1594. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  1595. from /usr/local/include/OGRE/OgreCamera.h:32,
  1596. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1597. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1598. /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
  1599. operator==(const _CharT* __lhs,
  1600. ^
  1601. /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template argument deduction/substitution failed:
  1602. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1603. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1604. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const _CharT*’ and ‘int’
  1605. if (item == mItems[i]) {
  1606. ^
  1607. In file included from /usr/include/c++/4.8/string:52:0,
  1608. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  1609. from /usr/local/include/OGRE/OgreCamera.h:32,
  1610. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1611. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1612. /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::basic_string<_CharT>&, const std::basic_string<_CharT>&)
  1613. operator==(const basic_string<_CharT>& __lhs,
  1614. ^
  1615. /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template argument deduction/substitution failed:
  1616. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1617. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1618. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::basic_string<_CharT>’ and ‘const int’
  1619. if (item == mItems[i]) {
  1620. ^
  1621. In file included from /usr/include/c++/4.8/string:52:0,
  1622. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  1623. from /usr/local/include/OGRE/OgreCamera.h:32,
  1624. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1625. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1626. /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
  1627. operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  1628. ^
  1629. /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template argument deduction/substitution failed:
  1630. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1631. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1632. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::basic_string<_CharT, _Traits, _Alloc>’ and ‘const int’
  1633. if (item == mItems[i]) {
  1634. ^
  1635. In file included from /usr/include/c++/4.8/string:41:0,
  1636. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  1637. from /usr/local/include/OGRE/OgreCamera.h:32,
  1638. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1639. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1640. /usr/include/c++/4.8/bits/allocator.h:133:5: note: template<class _Tp> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
  1641. operator==(const allocator<_Tp>&, const allocator<_Tp>&)
  1642. ^
  1643. /usr/include/c++/4.8/bits/allocator.h:133:5: note: template argument deduction/substitution failed:
  1644. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1645. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1646. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::allocator<_CharT>’ and ‘const int’
  1647. if (item == mItems[i]) {
  1648. ^
  1649. In file included from /usr/include/c++/4.8/string:41:0,
  1650. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  1651. from /usr/local/include/OGRE/OgreCamera.h:32,
  1652. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1653. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1654. /usr/include/c++/4.8/bits/allocator.h:128:5: note: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
  1655. operator==(const allocator<_T1>&, const allocator<_T2>&)
  1656. ^
  1657. /usr/include/c++/4.8/bits/allocator.h:128:5: note: template argument deduction/substitution failed:
  1658. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1659. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1660. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::allocator<_CharT>’ and ‘const int’
  1661. if (item == mItems[i]) {
  1662. ^
  1663. In file included from /usr/include/c++/4.8/bits/char_traits.h:40:0,
  1664. from /usr/include/c++/4.8/string:40,
  1665. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  1666. from /usr/local/include/OGRE/OgreCamera.h:32,
  1667. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1668. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1669. /usr/include/c++/4.8/bits/postypes.h:216:5: note: template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
  1670. operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
  1671. ^
  1672. /usr/include/c++/4.8/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
  1673. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1674. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1675. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::fpos<_StateT>’ and ‘const int’
  1676. if (item == mItems[i]) {
  1677. ^
  1678. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  1679. from /usr/include/c++/4.8/bits/char_traits.h:39,
  1680. from /usr/include/c++/4.8/string:40,
  1681. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  1682. from /usr/local/include/OGRE/OgreCamera.h:32,
  1683. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1684. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1685. /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
  1686. operator==(const reverse_iterator<_IteratorL>& __x,
  1687. ^
  1688. /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template argument deduction/substitution failed:
  1689. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1690. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1691. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::reverse_iterator<_Iterator>’ and ‘const int’
  1692. if (item == mItems[i]) {
  1693. ^
  1694. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  1695. from /usr/include/c++/4.8/bits/char_traits.h:39,
  1696. from /usr/include/c++/4.8/string:40,
  1697. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  1698. from /usr/local/include/OGRE/OgreCamera.h:32,
  1699. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1700. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1701. /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
  1702. operator==(const reverse_iterator<_Iterator>& __x,
  1703. ^
  1704. /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template argument deduction/substitution failed:
  1705. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1706. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1707. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::reverse_iterator<_Iterator>’ and ‘const int’
  1708. if (item == mItems[i]) {
  1709. ^
  1710. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
  1711. from /usr/include/c++/4.8/bits/char_traits.h:39,
  1712. from /usr/include/c++/4.8/string:40,
  1713. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  1714. from /usr/local/include/OGRE/OgreCamera.h:32,
  1715. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1716. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1717. /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
  1718. operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  1719. ^
  1720. /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template argument deduction/substitution failed:
  1721. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1722. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1723. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const std::pair<_T1, _T2>’ and ‘const int’
  1724. if (item == mItems[i]) {
  1725. ^
  1726. In file included from /usr/include/x86_64-linux-gnu/c++/4.8/bits/c++allocator.h:33:0,
  1727. from /usr/include/c++/4.8/bits/allocator.h:46,
  1728. from /usr/include/c++/4.8/string:41,
  1729. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  1730. from /usr/local/include/OGRE/OgreCamera.h:32,
  1731. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1732. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1733. /usr/include/c++/4.8/ext/new_allocator.h:139:5: note: template<class _Tp> bool __gnu_cxx::operator==(const __gnu_cxx::new_allocator<_Tp>&, const __gnu_cxx::new_allocator<_Tp>&)
  1734. operator==(const new_allocator<_Tp>&, const new_allocator<_Tp>&)
  1735. ^
  1736. /usr/include/c++/4.8/ext/new_allocator.h:139:5: note: template argument deduction/substitution failed:
  1737. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1738. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1739. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const __gnu_cxx::new_allocator<_Tp>’ and ‘const int’
  1740. if (item == mItems[i]) {
  1741. ^
  1742. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  1743. from /usr/include/c++/4.8/bits/char_traits.h:39,
  1744. from /usr/include/c++/4.8/string:40,
  1745. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  1746. from /usr/local/include/OGRE/OgreCamera.h:32,
  1747. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1748. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1749. /usr/include/c++/4.8/bits/stl_iterator.h:811:5: note: template<class _Iterator, class _Container> bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator<_Iterator, _Container>&, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&)
  1750. operator==(const __normal_iterator<_Iterator, _Container>& __lhs,
  1751. ^
  1752. /usr/include/c++/4.8/bits/stl_iterator.h:811:5: note: template argument deduction/substitution failed:
  1753. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1754. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1755. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const __gnu_cxx::__normal_iterator<_Iterator, _Container>’ and ‘const int’
  1756. if (item == mItems[i]) {
  1757. ^
  1758. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  1759. from /usr/include/c++/4.8/bits/char_traits.h:39,
  1760. from /usr/include/c++/4.8/string:40,
  1761. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  1762. from /usr/local/include/OGRE/OgreCamera.h:32,
  1763. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1764. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1765. /usr/include/c++/4.8/bits/stl_iterator.h:805:5: note: template<class _IteratorL, class _IteratorR, class _Container> bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator<_IteratorL, _Container>&, const __gnu_cxx::__normal_iterator<_IteratorR, _Container>&)
  1766. operator==(const __normal_iterator<_IteratorL, _Container>& __lhs,
  1767. ^
  1768. /usr/include/c++/4.8/bits/stl_iterator.h:805:5: note: template argument deduction/substitution failed:
  1769. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1770. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1771. /usr/local/include/OGRE/SdkTrays.h:812:37: note: mismatched types ‘const __gnu_cxx::__normal_iterator<_IteratorL, _Container>’ and ‘const int’
  1772. if (item == mItems[i]) {
  1773. ^
  1774. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SelectMenu::removeItem(unsigned int)’:
  1775. /usr/local/include/OGRE/SdkTrays.h:831:50: error: request for member ‘back’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  1776. nukeOverlayElement(mItemElements.back());
  1777. ^
  1778. /usr/local/include/OGRE/SdkTrays.h:832:31: error: request for member ‘pop_back’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  1779. mItemElements.pop_back();
  1780. ^
  1781. /usr/local/include/OGRE/SdkTrays.h:843:21: error: ‘mSmallTextArea’ was not declared in this scope
  1782. mSmallTextArea->setCaption("");
  1783. ^
  1784. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SelectMenu::clearItems()’:
  1785. /usr/local/include/OGRE/SdkTrays.h:852:13: error: ‘mSmallTextArea’ was not declared in this scope
  1786. mSmallTextArea->setCaption("");
  1787. ^
  1788. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SelectMenu::selectItem(unsigned int, bool)’:
  1789. /usr/local/include/OGRE/SdkTrays.h:870:45: error: ‘mSmallTextArea’ was not declared in this scope
  1790. fitCaptionToArea(mItems[index], mSmallTextArea, mSmallBox->getWidth() - mSmallTextArea->getLeft() * 2);
  1791. ^
  1792. /usr/local/include/OGRE/SdkTrays.h:870:61: error: ‘mSmallBox’ was not declared in this scope
  1793. fitCaptionToArea(mItems[index], mSmallTextArea, mSmallBox->getWidth() - mSmallTextArea->getLeft() * 2);
  1794. ^
  1795. /usr/local/include/OGRE/SdkTrays.h: In member function ‘bool OgreBites::SelectMenu::containsItem(const int&)’:
  1796. /usr/local/include/OGRE/SdkTrays.h:880:26: error: no match for ‘operator==’ (operand types are ‘const int’ and ‘Ogre::STLAllocator<std::basic_string<char>, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0u> >::value_type {aka std::basic_string<char>}’)
  1797. if (item == mItems[i])
  1798. ^
  1799. /usr/local/include/OGRE/SdkTrays.h:880:26: note: candidates are:
  1800. In file included from /usr/include/boost/detail/container_fwd.hpp:98:0,
  1801. from /usr/include/boost/functional/hash/extensions.hpp:17,
  1802. from /usr/include/boost/functional/hash/hash.hpp:529,
  1803. from /usr/include/boost/functional/hash.hpp:6,
  1804. from /usr/include/boost/thread/detail/thread.hpp:37,
  1805. from /usr/include/boost/thread/thread_only.hpp:22,
  1806. from /usr/include/boost/thread/thread.hpp:12,
  1807. from /usr/local/include/OGRE/Threading/OgreThreadHeadersBoost.h:50,
  1808. from /usr/local/include/OGRE/Threading/OgreThreadHeaders.h:34,
  1809. from /usr/local/include/OGRE/OgreStringInterface.h:34,
  1810. from /usr/local/include/OGRE/OgreResource.h:33,
  1811. from /usr/local/include/OGRE/OgreGpuProgram.h:33,
  1812. from /usr/local/include/OGRE/OgreRenderable.h:35,
  1813. from /usr/local/include/OGRE/OgreNode.h:34,
  1814. from /usr/local/include/OGRE/OgreSceneNode.h:33,
  1815. from /usr/local/include/OGRE/OgreMovableObject.h:37,
  1816. from /usr/local/include/OGRE/OgreFrustum.h:32,
  1817. from /usr/local/include/OGRE/OgreCamera.h:36,
  1818. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1819. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1820. /usr/include/c++/4.8/complex:466:5: note: template<class _Tp> bool std::operator==(const _Tp&, const std::complex<_Tp>&)
  1821. operator==(const _Tp& __x, const complex<_Tp>& __y)
  1822. ^
  1823. /usr/include/c++/4.8/complex:466:5: note: template argument deduction/substitution failed:
  1824. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1825. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1826. /usr/local/include/OGRE/SdkTrays.h:880:37: note: ‘Ogre::STLAllocator<std::basic_string<char>, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0u> >::value_type {aka std::basic_string<char>}’ is not derived from ‘const std::complex<_Tp>’
  1827. if (item == mItems[i])
  1828. ^
  1829. In file included from /usr/include/boost/detail/container_fwd.hpp:98:0,
  1830. from /usr/include/boost/functional/hash/extensions.hpp:17,
  1831. from /usr/include/boost/functional/hash/hash.hpp:529,
  1832. from /usr/include/boost/functional/hash.hpp:6,
  1833. from /usr/include/boost/thread/detail/thread.hpp:37,
  1834. from /usr/include/boost/thread/thread_only.hpp:22,
  1835. from /usr/include/boost/thread/thread.hpp:12,
  1836. from /usr/local/include/OGRE/Threading/OgreThreadHeadersBoost.h:50,
  1837. from /usr/local/include/OGRE/Threading/OgreThreadHeaders.h:34,
  1838. from /usr/local/include/OGRE/OgreStringInterface.h:34,
  1839. from /usr/local/include/OGRE/OgreResource.h:33,
  1840. from /usr/local/include/OGRE/OgreGpuProgram.h:33,
  1841. from /usr/local/include/OGRE/OgreRenderable.h:35,
  1842. from /usr/local/include/OGRE/OgreNode.h:34,
  1843. from /usr/local/include/OGRE/OgreSceneNode.h:33,
  1844. from /usr/local/include/OGRE/OgreMovableObject.h:37,
  1845. from /usr/local/include/OGRE/OgreFrustum.h:32,
  1846. from /usr/local/include/OGRE/OgreCamera.h:36,
  1847. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1848. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1849. /usr/include/c++/4.8/complex:461:5: note: template<class _Tp> bool std::operator==(const std::complex<_Tp>&, const _Tp&)
  1850. operator==(const complex<_Tp>& __x, const _Tp& __y)
  1851. ^
  1852. /usr/include/c++/4.8/complex:461:5: note: template argument deduction/substitution failed:
  1853. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1854. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1855. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::complex<_Tp>’ and ‘const int’
  1856. if (item == mItems[i])
  1857. ^
  1858. In file included from /usr/include/boost/detail/container_fwd.hpp:98:0,
  1859. from /usr/include/boost/functional/hash/extensions.hpp:17,
  1860. from /usr/include/boost/functional/hash/hash.hpp:529,
  1861. from /usr/include/boost/functional/hash.hpp:6,
  1862. from /usr/include/boost/thread/detail/thread.hpp:37,
  1863. from /usr/include/boost/thread/thread_only.hpp:22,
  1864. from /usr/include/boost/thread/thread.hpp:12,
  1865. from /usr/local/include/OGRE/Threading/OgreThreadHeadersBoost.h:50,
  1866. from /usr/local/include/OGRE/Threading/OgreThreadHeaders.h:34,
  1867. from /usr/local/include/OGRE/OgreStringInterface.h:34,
  1868. from /usr/local/include/OGRE/OgreResource.h:33,
  1869. from /usr/local/include/OGRE/OgreGpuProgram.h:33,
  1870. from /usr/local/include/OGRE/OgreRenderable.h:35,
  1871. from /usr/local/include/OGRE/OgreNode.h:34,
  1872. from /usr/local/include/OGRE/OgreSceneNode.h:33,
  1873. from /usr/local/include/OGRE/OgreMovableObject.h:37,
  1874. from /usr/local/include/OGRE/OgreFrustum.h:32,
  1875. from /usr/local/include/OGRE/OgreCamera.h:36,
  1876. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1877. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1878. /usr/include/c++/4.8/complex:456:5: note: template<class _Tp> bool std::operator==(const std::complex<_Tp>&, const std::complex<_Tp>&)
  1879. operator==(const complex<_Tp>& __x, const complex<_Tp>& __y)
  1880. ^
  1881. /usr/include/c++/4.8/complex:456:5: note: template argument deduction/substitution failed:
  1882. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1883. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1884. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::complex<_Tp>’ and ‘const int’
  1885. if (item == mItems[i])
  1886. ^
  1887. In file included from /usr/include/c++/4.8/iterator:66:0,
  1888. from /usr/include/boost/iterator.hpp:17,
  1889. from /usr/include/boost/operators.hpp:86,
  1890. from /usr/include/boost/system/error_code.hpp:17,
  1891. from /usr/include/boost/system/system_error.hpp:14,
  1892. from /usr/include/boost/thread/exceptions.hpp:22,
  1893. from /usr/include/boost/thread/pthread/recursive_mutex.hpp:11,
  1894. from /usr/include/boost/thread/recursive_mutex.hpp:16,
  1895. from /usr/local/include/OGRE/Threading/OgreThreadHeadersBoost.h:48,
  1896. from /usr/local/include/OGRE/Threading/OgreThreadHeaders.h:34,
  1897. from /usr/local/include/OGRE/OgreStringInterface.h:34,
  1898. from /usr/local/include/OGRE/OgreResource.h:33,
  1899. from /usr/local/include/OGRE/OgreGpuProgram.h:33,
  1900. from /usr/local/include/OGRE/OgreRenderable.h:35,
  1901. from /usr/local/include/OGRE/OgreNode.h:34,
  1902. from /usr/local/include/OGRE/OgreSceneNode.h:33,
  1903. from /usr/local/include/OGRE/OgreMovableObject.h:37,
  1904. from /usr/local/include/OGRE/OgreFrustum.h:32,
  1905. from /usr/local/include/OGRE/OgreCamera.h:36,
  1906. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1907. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1908. /usr/include/c++/4.8/bits/stream_iterator.h:130:5: note: template<class _Tp, class _CharT, class _Traits, class _Dist> bool std::operator==(const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>&, const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>&)
  1909. operator==(const istream_iterator<_Tp, _CharT, _Traits, _Dist>& __x,
  1910. ^
  1911. /usr/include/c++/4.8/bits/stream_iterator.h:130:5: note: template argument deduction/substitution failed:
  1912. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1913. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1914. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>’ and ‘const int’
  1915. if (item == mItems[i])
  1916. ^
  1917. In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
  1918. from /usr/include/c++/4.8/bits/basic_ios.h:37,
  1919. from /usr/include/c++/4.8/ios:44,
  1920. from /usr/include/c++/4.8/istream:38,
  1921. from /usr/include/c++/4.8/fstream:38,
  1922. from /usr/local/include/OGRE/OgreStdHeaders.h:78,
  1923. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1924. from /usr/local/include/OGRE/OgreCamera.h:32,
  1925. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1926. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1927. /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
  1928. operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
  1929. ^
  1930. /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
  1931. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1932. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1933. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::istreambuf_iterator<_CharT, _Traits>’ and ‘const int’
  1934. if (item == mItems[i])
  1935. ^
  1936. In file included from /usr/include/c++/4.8/queue:64:0,
  1937. from /usr/local/include/OGRE/OgreStdHeaders.h:37,
  1938. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1939. from /usr/local/include/OGRE/OgreCamera.h:32,
  1940. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1941. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1942. /usr/include/c++/4.8/bits/stl_queue.h:268:5: note: template<class _Tp, class _Seq> bool std::operator==(const std::queue<_Tp, _Seq>&, const std::queue<_Tp, _Seq>&)
  1943. operator==(const queue<_Tp, _Seq>& __x, const queue<_Tp, _Seq>& __y)
  1944. ^
  1945. /usr/include/c++/4.8/bits/stl_queue.h:268:5: note: template argument deduction/substitution failed:
  1946. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1947. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1948. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::queue<_Tp, _Seq>’ and ‘const int’
  1949. if (item == mItems[i])
  1950. ^
  1951. In file included from /usr/include/c++/4.8/deque:64:0,
  1952. from /usr/local/include/OGRE/OgreStdHeaders.h:36,
  1953. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1954. from /usr/local/include/OGRE/OgreCamera.h:32,
  1955. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1956. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1957. /usr/include/c++/4.8/bits/stl_deque.h:1957:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::deque<_Tp, _Alloc>&, const std::deque<_Tp, _Alloc>&)
  1958. operator==(const deque<_Tp, _Alloc>& __x,
  1959. ^
  1960. /usr/include/c++/4.8/bits/stl_deque.h:1957:5: note: template argument deduction/substitution failed:
  1961. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1962. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1963. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::deque<_Tp, _Alloc>’ and ‘const int’
  1964. if (item == mItems[i])
  1965. ^
  1966. In file included from /usr/include/c++/4.8/deque:64:0,
  1967. from /usr/local/include/OGRE/OgreStdHeaders.h:36,
  1968. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1969. from /usr/local/include/OGRE/OgreCamera.h:32,
  1970. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1971. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1972. /usr/include/c++/4.8/bits/stl_deque.h:254:5: note: template<class _Tp, class _RefL, class _PtrL, class _RefR, class _PtrR> bool std::operator==(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _RefR, _PtrR>&)
  1973. operator==(const _Deque_iterator<_Tp, _RefL, _PtrL>& __x,
  1974. ^
  1975. /usr/include/c++/4.8/bits/stl_deque.h:254:5: note: template argument deduction/substitution failed:
  1976. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1977. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1978. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::_Deque_iterator<_Tp, _Ref, _Ptr>’ and ‘const int’
  1979. if (item == mItems[i])
  1980. ^
  1981. In file included from /usr/include/c++/4.8/deque:64:0,
  1982. from /usr/local/include/OGRE/OgreStdHeaders.h:36,
  1983. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1984. from /usr/local/include/OGRE/OgreCamera.h:32,
  1985. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  1986. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1987. /usr/include/c++/4.8/bits/stl_deque.h:247:5: note: template<class _Tp, class _Ref, class _Ptr> bool std::operator==(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&)
  1988. operator==(const _Deque_iterator<_Tp, _Ref, _Ptr>& __x,
  1989. ^
  1990. /usr/include/c++/4.8/bits/stl_deque.h:247:5: note: template argument deduction/substitution failed:
  1991. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  1992. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  1993. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::_Deque_iterator<_Tp, _Ref, _Ptr>’ and ‘const int’
  1994. if (item == mItems[i])
  1995. ^
  1996. In file included from /usr/include/c++/4.8/list:63:0,
  1997. from /usr/local/include/OGRE/OgreStdHeaders.h:35,
  1998. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  1999. from /usr/local/include/OGRE/OgreCamera.h:32,
  2000. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2001. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2002. /usr/include/c++/4.8/bits/stl_list.h:1602:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::list<_Tp, _Alloc>&, const std::list<_Tp, _Alloc>&)
  2003. operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
  2004. ^
  2005. /usr/include/c++/4.8/bits/stl_list.h:1602:5: note: template argument deduction/substitution failed:
  2006. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2007. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2008. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::list<_Tp, _Alloc>’ and ‘const int’
  2009. if (item == mItems[i])
  2010. ^
  2011. In file included from /usr/include/c++/4.8/list:63:0,
  2012. from /usr/local/include/OGRE/OgreStdHeaders.h:35,
  2013. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2014. from /usr/local/include/OGRE/OgreCamera.h:32,
  2015. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2016. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2017. /usr/include/c++/4.8/bits/stl_list.h:276:5: note: template<class _Val> bool std::operator==(const std::_List_iterator<_Tp>&, const std::_List_const_iterator<_Val>&)
  2018. operator==(const _List_iterator<_Val>& __x,
  2019. ^
  2020. /usr/include/c++/4.8/bits/stl_list.h:276:5: note: template argument deduction/substitution failed:
  2021. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2022. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2023. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::_List_iterator<_Tp>’ and ‘const int’
  2024. if (item == mItems[i])
  2025. ^
  2026. In file included from /usr/include/c++/4.8/set:62:0,
  2027. from /usr/local/include/OGRE/OgreStdHeaders.h:34,
  2028. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2029. from /usr/local/include/OGRE/OgreCamera.h:32,
  2030. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2031. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2032. /usr/include/c++/4.8/bits/stl_multiset.h:739:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator==(const std::multiset<_Key, _Compare, _Alloc>&, const std::multiset<_Key, _Compare, _Alloc>&)
  2033. operator==(const multiset<_Key, _Compare, _Alloc>& __x,
  2034. ^
  2035. /usr/include/c++/4.8/bits/stl_multiset.h:739:5: note: template argument deduction/substitution failed:
  2036. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2037. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2038. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::multiset<_Key, _Compare, _Alloc>’ and ‘const int’
  2039. if (item == mItems[i])
  2040. ^
  2041. In file included from /usr/include/c++/4.8/set:61:0,
  2042. from /usr/local/include/OGRE/OgreStdHeaders.h:34,
  2043. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2044. from /usr/local/include/OGRE/OgreCamera.h:32,
  2045. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2046. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2047. /usr/include/c++/4.8/bits/stl_set.h:754:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator==(const std::set<_Key, _Compare, _Alloc>&, const std::set<_Key, _Compare, _Alloc>&)
  2048. operator==(const set<_Key, _Compare, _Alloc>& __x,
  2049. ^
  2050. /usr/include/c++/4.8/bits/stl_set.h:754:5: note: template argument deduction/substitution failed:
  2051. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2052. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2053. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::set<_Key, _Compare, _Alloc>’ and ‘const int’
  2054. if (item == mItems[i])
  2055. ^
  2056. In file included from /usr/include/c++/4.8/map:62:0,
  2057. from /usr/local/include/OGRE/OgreStdHeaders.h:32,
  2058. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2059. from /usr/local/include/OGRE/OgreCamera.h:32,
  2060. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2061. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2062. /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
  2063. operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
  2064. ^
  2065. /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template argument deduction/substitution failed:
  2066. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2067. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2068. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::multimap<_Key, _Tp, _Compare, _Alloc>’ and ‘const int’
  2069. if (item == mItems[i])
  2070. ^
  2071. In file included from /usr/include/c++/4.8/map:61:0,
  2072. from /usr/local/include/OGRE/OgreStdHeaders.h:32,
  2073. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2074. from /usr/local/include/OGRE/OgreCamera.h:32,
  2075. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2076. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2077. /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
  2078. operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
  2079. ^
  2080. /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template argument deduction/substitution failed:
  2081. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2082. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2083. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::map<_Key, _Tp, _Compare, _Alloc>’ and ‘const int’
  2084. if (item == mItems[i])
  2085. ^
  2086. In file included from /usr/include/c++/4.8/map:60:0,
  2087. from /usr/local/include/OGRE/OgreStdHeaders.h:32,
  2088. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2089. from /usr/local/include/OGRE/OgreCamera.h:32,
  2090. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2091. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2092. /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator==(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
  2093. operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
  2094. ^
  2095. /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template argument deduction/substitution failed:
  2096. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2097. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2098. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>’ and ‘const int’
  2099. if (item == mItems[i])
  2100. ^
  2101. In file included from /usr/include/c++/4.8/map:60:0,
  2102. from /usr/local/include/OGRE/OgreStdHeaders.h:32,
  2103. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2104. from /usr/local/include/OGRE/OgreCamera.h:32,
  2105. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2106. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2107. /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template<class _Val> bool std::operator==(const std::_Rb_tree_iterator<_Tp>&, const std::_Rb_tree_const_iterator<_Val>&)
  2108. operator==(const _Rb_tree_iterator<_Val>& __x,
  2109. ^
  2110. /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template argument deduction/substitution failed:
  2111. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2112. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2113. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::_Rb_tree_iterator<_Tp>’ and ‘const int’
  2114. if (item == mItems[i])
  2115. ^
  2116. In file included from /usr/include/c++/4.8/vector:64:0,
  2117. from /usr/local/include/OGRE/OgreStdHeaders.h:31,
  2118. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2119. from /usr/local/include/OGRE/OgreCamera.h:32,
  2120. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2121. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2122. /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
  2123. operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
  2124. ^
  2125. /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template argument deduction/substitution failed:
  2126. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2127. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2128. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::vector<_Tp, _Alloc>’ and ‘const int’
  2129. if (item == mItems[i])
  2130. ^
  2131. In file included from /usr/include/c++/4.8/string:52:0,
  2132. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2133. from /usr/local/include/OGRE/OgreCamera.h:32,
  2134. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2135. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2136. /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
  2137. operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  2138. ^
  2139. /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template argument deduction/substitution failed:
  2140. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2141. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2142. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::basic_string<_CharT, _Traits, _Alloc>’ and ‘const int’
  2143. if (item == mItems[i])
  2144. ^
  2145. In file included from /usr/include/c++/4.8/string:52:0,
  2146. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2147. from /usr/local/include/OGRE/OgreCamera.h:32,
  2148. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2149. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2150. /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
  2151. operator==(const _CharT* __lhs,
  2152. ^
  2153. /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template argument deduction/substitution failed:
  2154. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2155. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2156. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const _CharT*’ and ‘int’
  2157. if (item == mItems[i])
  2158. ^
  2159. In file included from /usr/include/c++/4.8/string:52:0,
  2160. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2161. from /usr/local/include/OGRE/OgreCamera.h:32,
  2162. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2163. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2164. /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::basic_string<_CharT>&, const std::basic_string<_CharT>&)
  2165. operator==(const basic_string<_CharT>& __lhs,
  2166. ^
  2167. /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template argument deduction/substitution failed:
  2168. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2169. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2170. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::basic_string<_CharT>’ and ‘const int’
  2171. if (item == mItems[i])
  2172. ^
  2173. In file included from /usr/include/c++/4.8/string:52:0,
  2174. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2175. from /usr/local/include/OGRE/OgreCamera.h:32,
  2176. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2177. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2178. /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
  2179. operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  2180. ^
  2181. /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template argument deduction/substitution failed:
  2182. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2183. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2184. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::basic_string<_CharT, _Traits, _Alloc>’ and ‘const int’
  2185. if (item == mItems[i])
  2186. ^
  2187. In file included from /usr/include/c++/4.8/string:41:0,
  2188. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2189. from /usr/local/include/OGRE/OgreCamera.h:32,
  2190. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2191. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2192. /usr/include/c++/4.8/bits/allocator.h:133:5: note: template<class _Tp> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
  2193. operator==(const allocator<_Tp>&, const allocator<_Tp>&)
  2194. ^
  2195. /usr/include/c++/4.8/bits/allocator.h:133:5: note: template argument deduction/substitution failed:
  2196. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2197. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2198. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::allocator<_CharT>’ and ‘const int’
  2199. if (item == mItems[i])
  2200. ^
  2201. In file included from /usr/include/c++/4.8/string:41:0,
  2202. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2203. from /usr/local/include/OGRE/OgreCamera.h:32,
  2204. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2205. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2206. /usr/include/c++/4.8/bits/allocator.h:128:5: note: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
  2207. operator==(const allocator<_T1>&, const allocator<_T2>&)
  2208. ^
  2209. /usr/include/c++/4.8/bits/allocator.h:128:5: note: template argument deduction/substitution failed:
  2210. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2211. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2212. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::allocator<_CharT>’ and ‘const int’
  2213. if (item == mItems[i])
  2214. ^
  2215. In file included from /usr/include/c++/4.8/bits/char_traits.h:40:0,
  2216. from /usr/include/c++/4.8/string:40,
  2217. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2218. from /usr/local/include/OGRE/OgreCamera.h:32,
  2219. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2220. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2221. /usr/include/c++/4.8/bits/postypes.h:216:5: note: template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
  2222. operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
  2223. ^
  2224. /usr/include/c++/4.8/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
  2225. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2226. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2227. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::fpos<_StateT>’ and ‘const int’
  2228. if (item == mItems[i])
  2229. ^
  2230. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  2231. from /usr/include/c++/4.8/bits/char_traits.h:39,
  2232. from /usr/include/c++/4.8/string:40,
  2233. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2234. from /usr/local/include/OGRE/OgreCamera.h:32,
  2235. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2236. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2237. /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
  2238. operator==(const reverse_iterator<_IteratorL>& __x,
  2239. ^
  2240. /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template argument deduction/substitution failed:
  2241. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2242. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2243. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::reverse_iterator<_Iterator>’ and ‘const int’
  2244. if (item == mItems[i])
  2245. ^
  2246. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  2247. from /usr/include/c++/4.8/bits/char_traits.h:39,
  2248. from /usr/include/c++/4.8/string:40,
  2249. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2250. from /usr/local/include/OGRE/OgreCamera.h:32,
  2251. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2252. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2253. /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
  2254. operator==(const reverse_iterator<_Iterator>& __x,
  2255. ^
  2256. /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template argument deduction/substitution failed:
  2257. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2258. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2259. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::reverse_iterator<_Iterator>’ and ‘const int’
  2260. if (item == mItems[i])
  2261. ^
  2262. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
  2263. from /usr/include/c++/4.8/bits/char_traits.h:39,
  2264. from /usr/include/c++/4.8/string:40,
  2265. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2266. from /usr/local/include/OGRE/OgreCamera.h:32,
  2267. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2268. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2269. /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
  2270. operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  2271. ^
  2272. /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template argument deduction/substitution failed:
  2273. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2274. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2275. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const std::pair<_T1, _T2>’ and ‘const int’
  2276. if (item == mItems[i])
  2277. ^
  2278. In file included from /usr/include/x86_64-linux-gnu/c++/4.8/bits/c++allocator.h:33:0,
  2279. from /usr/include/c++/4.8/bits/allocator.h:46,
  2280. from /usr/include/c++/4.8/string:41,
  2281. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2282. from /usr/local/include/OGRE/OgreCamera.h:32,
  2283. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2284. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2285. /usr/include/c++/4.8/ext/new_allocator.h:139:5: note: template<class _Tp> bool __gnu_cxx::operator==(const __gnu_cxx::new_allocator<_Tp>&, const __gnu_cxx::new_allocator<_Tp>&)
  2286. operator==(const new_allocator<_Tp>&, const new_allocator<_Tp>&)
  2287. ^
  2288. /usr/include/c++/4.8/ext/new_allocator.h:139:5: note: template argument deduction/substitution failed:
  2289. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2290. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2291. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const __gnu_cxx::new_allocator<_Tp>’ and ‘const int’
  2292. if (item == mItems[i])
  2293. ^
  2294. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  2295. from /usr/include/c++/4.8/bits/char_traits.h:39,
  2296. from /usr/include/c++/4.8/string:40,
  2297. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2298. from /usr/local/include/OGRE/OgreCamera.h:32,
  2299. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2300. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2301. /usr/include/c++/4.8/bits/stl_iterator.h:811:5: note: template<class _Iterator, class _Container> bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator<_Iterator, _Container>&, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&)
  2302. operator==(const __normal_iterator<_Iterator, _Container>& __lhs,
  2303. ^
  2304. /usr/include/c++/4.8/bits/stl_iterator.h:811:5: note: template argument deduction/substitution failed:
  2305. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2306. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2307. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const __gnu_cxx::__normal_iterator<_Iterator, _Container>’ and ‘const int’
  2308. if (item == mItems[i])
  2309. ^
  2310. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  2311. from /usr/include/c++/4.8/bits/char_traits.h:39,
  2312. from /usr/include/c++/4.8/string:40,
  2313. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2314. from /usr/local/include/OGRE/OgreCamera.h:32,
  2315. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2316. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2317. /usr/include/c++/4.8/bits/stl_iterator.h:805:5: note: template<class _IteratorL, class _IteratorR, class _Container> bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator<_IteratorL, _Container>&, const __gnu_cxx::__normal_iterator<_IteratorR, _Container>&)
  2318. operator==(const __normal_iterator<_IteratorL, _Container>& __lhs,
  2319. ^
  2320. /usr/include/c++/4.8/bits/stl_iterator.h:805:5: note: template argument deduction/substitution failed:
  2321. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2322. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2323. /usr/local/include/OGRE/SdkTrays.h:880:37: note: mismatched types ‘const __gnu_cxx::__normal_iterator<_IteratorL, _Container>’ and ‘const int’
  2324. if (item == mItems[i])
  2325. ^
  2326. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SelectMenu::selectItem(const int&, bool)’:
  2327. /usr/local/include/OGRE/SdkTrays.h:894:26: error: no match for ‘operator==’ (operand types are ‘const int’ and ‘Ogre::STLAllocator<std::basic_string<char>, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0u> >::value_type {aka std::basic_string<char>}’)
  2328. if (item == mItems[i])
  2329. ^
  2330. /usr/local/include/OGRE/SdkTrays.h:894:26: note: candidates are:
  2331. In file included from /usr/include/boost/detail/container_fwd.hpp:98:0,
  2332. from /usr/include/boost/functional/hash/extensions.hpp:17,
  2333. from /usr/include/boost/functional/hash/hash.hpp:529,
  2334. from /usr/include/boost/functional/hash.hpp:6,
  2335. from /usr/include/boost/thread/detail/thread.hpp:37,
  2336. from /usr/include/boost/thread/thread_only.hpp:22,
  2337. from /usr/include/boost/thread/thread.hpp:12,
  2338. from /usr/local/include/OGRE/Threading/OgreThreadHeadersBoost.h:50,
  2339. from /usr/local/include/OGRE/Threading/OgreThreadHeaders.h:34,
  2340. from /usr/local/include/OGRE/OgreStringInterface.h:34,
  2341. from /usr/local/include/OGRE/OgreResource.h:33,
  2342. from /usr/local/include/OGRE/OgreGpuProgram.h:33,
  2343. from /usr/local/include/OGRE/OgreRenderable.h:35,
  2344. from /usr/local/include/OGRE/OgreNode.h:34,
  2345. from /usr/local/include/OGRE/OgreSceneNode.h:33,
  2346. from /usr/local/include/OGRE/OgreMovableObject.h:37,
  2347. from /usr/local/include/OGRE/OgreFrustum.h:32,
  2348. from /usr/local/include/OGRE/OgreCamera.h:36,
  2349. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2350. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2351. /usr/include/c++/4.8/complex:466:5: note: template<class _Tp> bool std::operator==(const _Tp&, const std::complex<_Tp>&)
  2352. operator==(const _Tp& __x, const complex<_Tp>& __y)
  2353. ^
  2354. /usr/include/c++/4.8/complex:466:5: note: template argument deduction/substitution failed:
  2355. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2356. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2357. /usr/local/include/OGRE/SdkTrays.h:894:37: note: ‘Ogre::STLAllocator<std::basic_string<char>, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0u> >::value_type {aka std::basic_string<char>}’ is not derived from ‘const std::complex<_Tp>’
  2358. if (item == mItems[i])
  2359. ^
  2360. In file included from /usr/include/boost/detail/container_fwd.hpp:98:0,
  2361. from /usr/include/boost/functional/hash/extensions.hpp:17,
  2362. from /usr/include/boost/functional/hash/hash.hpp:529,
  2363. from /usr/include/boost/functional/hash.hpp:6,
  2364. from /usr/include/boost/thread/detail/thread.hpp:37,
  2365. from /usr/include/boost/thread/thread_only.hpp:22,
  2366. from /usr/include/boost/thread/thread.hpp:12,
  2367. from /usr/local/include/OGRE/Threading/OgreThreadHeadersBoost.h:50,
  2368. from /usr/local/include/OGRE/Threading/OgreThreadHeaders.h:34,
  2369. from /usr/local/include/OGRE/OgreStringInterface.h:34,
  2370. from /usr/local/include/OGRE/OgreResource.h:33,
  2371. from /usr/local/include/OGRE/OgreGpuProgram.h:33,
  2372. from /usr/local/include/OGRE/OgreRenderable.h:35,
  2373. from /usr/local/include/OGRE/OgreNode.h:34,
  2374. from /usr/local/include/OGRE/OgreSceneNode.h:33,
  2375. from /usr/local/include/OGRE/OgreMovableObject.h:37,
  2376. from /usr/local/include/OGRE/OgreFrustum.h:32,
  2377. from /usr/local/include/OGRE/OgreCamera.h:36,
  2378. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2379. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2380. /usr/include/c++/4.8/complex:461:5: note: template<class _Tp> bool std::operator==(const std::complex<_Tp>&, const _Tp&)
  2381. operator==(const complex<_Tp>& __x, const _Tp& __y)
  2382. ^
  2383. /usr/include/c++/4.8/complex:461:5: note: template argument deduction/substitution failed:
  2384. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2385. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2386. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::complex<_Tp>’ and ‘const int’
  2387. if (item == mItems[i])
  2388. ^
  2389. In file included from /usr/include/boost/detail/container_fwd.hpp:98:0,
  2390. from /usr/include/boost/functional/hash/extensions.hpp:17,
  2391. from /usr/include/boost/functional/hash/hash.hpp:529,
  2392. from /usr/include/boost/functional/hash.hpp:6,
  2393. from /usr/include/boost/thread/detail/thread.hpp:37,
  2394. from /usr/include/boost/thread/thread_only.hpp:22,
  2395. from /usr/include/boost/thread/thread.hpp:12,
  2396. from /usr/local/include/OGRE/Threading/OgreThreadHeadersBoost.h:50,
  2397. from /usr/local/include/OGRE/Threading/OgreThreadHeaders.h:34,
  2398. from /usr/local/include/OGRE/OgreStringInterface.h:34,
  2399. from /usr/local/include/OGRE/OgreResource.h:33,
  2400. from /usr/local/include/OGRE/OgreGpuProgram.h:33,
  2401. from /usr/local/include/OGRE/OgreRenderable.h:35,
  2402. from /usr/local/include/OGRE/OgreNode.h:34,
  2403. from /usr/local/include/OGRE/OgreSceneNode.h:33,
  2404. from /usr/local/include/OGRE/OgreMovableObject.h:37,
  2405. from /usr/local/include/OGRE/OgreFrustum.h:32,
  2406. from /usr/local/include/OGRE/OgreCamera.h:36,
  2407. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2408. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2409. /usr/include/c++/4.8/complex:456:5: note: template<class _Tp> bool std::operator==(const std::complex<_Tp>&, const std::complex<_Tp>&)
  2410. operator==(const complex<_Tp>& __x, const complex<_Tp>& __y)
  2411. ^
  2412. /usr/include/c++/4.8/complex:456:5: note: template argument deduction/substitution failed:
  2413. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2414. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2415. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::complex<_Tp>’ and ‘const int’
  2416. if (item == mItems[i])
  2417. ^
  2418. In file included from /usr/include/c++/4.8/iterator:66:0,
  2419. from /usr/include/boost/iterator.hpp:17,
  2420. from /usr/include/boost/operators.hpp:86,
  2421. from /usr/include/boost/system/error_code.hpp:17,
  2422. from /usr/include/boost/system/system_error.hpp:14,
  2423. from /usr/include/boost/thread/exceptions.hpp:22,
  2424. from /usr/include/boost/thread/pthread/recursive_mutex.hpp:11,
  2425. from /usr/include/boost/thread/recursive_mutex.hpp:16,
  2426. from /usr/local/include/OGRE/Threading/OgreThreadHeadersBoost.h:48,
  2427. from /usr/local/include/OGRE/Threading/OgreThreadHeaders.h:34,
  2428. from /usr/local/include/OGRE/OgreStringInterface.h:34,
  2429. from /usr/local/include/OGRE/OgreResource.h:33,
  2430. from /usr/local/include/OGRE/OgreGpuProgram.h:33,
  2431. from /usr/local/include/OGRE/OgreRenderable.h:35,
  2432. from /usr/local/include/OGRE/OgreNode.h:34,
  2433. from /usr/local/include/OGRE/OgreSceneNode.h:33,
  2434. from /usr/local/include/OGRE/OgreMovableObject.h:37,
  2435. from /usr/local/include/OGRE/OgreFrustum.h:32,
  2436. from /usr/local/include/OGRE/OgreCamera.h:36,
  2437. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2438. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2439. /usr/include/c++/4.8/bits/stream_iterator.h:130:5: note: template<class _Tp, class _CharT, class _Traits, class _Dist> bool std::operator==(const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>&, const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>&)
  2440. operator==(const istream_iterator<_Tp, _CharT, _Traits, _Dist>& __x,
  2441. ^
  2442. /usr/include/c++/4.8/bits/stream_iterator.h:130:5: note: template argument deduction/substitution failed:
  2443. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2444. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2445. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>’ and ‘const int’
  2446. if (item == mItems[i])
  2447. ^
  2448. In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
  2449. from /usr/include/c++/4.8/bits/basic_ios.h:37,
  2450. from /usr/include/c++/4.8/ios:44,
  2451. from /usr/include/c++/4.8/istream:38,
  2452. from /usr/include/c++/4.8/fstream:38,
  2453. from /usr/local/include/OGRE/OgreStdHeaders.h:78,
  2454. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2455. from /usr/local/include/OGRE/OgreCamera.h:32,
  2456. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2457. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2458. /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
  2459. operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
  2460. ^
  2461. /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
  2462. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2463. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2464. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::istreambuf_iterator<_CharT, _Traits>’ and ‘const int’
  2465. if (item == mItems[i])
  2466. ^
  2467. In file included from /usr/include/c++/4.8/queue:64:0,
  2468. from /usr/local/include/OGRE/OgreStdHeaders.h:37,
  2469. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2470. from /usr/local/include/OGRE/OgreCamera.h:32,
  2471. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2472. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2473. /usr/include/c++/4.8/bits/stl_queue.h:268:5: note: template<class _Tp, class _Seq> bool std::operator==(const std::queue<_Tp, _Seq>&, const std::queue<_Tp, _Seq>&)
  2474. operator==(const queue<_Tp, _Seq>& __x, const queue<_Tp, _Seq>& __y)
  2475. ^
  2476. /usr/include/c++/4.8/bits/stl_queue.h:268:5: note: template argument deduction/substitution failed:
  2477. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2478. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2479. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::queue<_Tp, _Seq>’ and ‘const int’
  2480. if (item == mItems[i])
  2481. ^
  2482. In file included from /usr/include/c++/4.8/deque:64:0,
  2483. from /usr/local/include/OGRE/OgreStdHeaders.h:36,
  2484. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2485. from /usr/local/include/OGRE/OgreCamera.h:32,
  2486. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2487. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2488. /usr/include/c++/4.8/bits/stl_deque.h:1957:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::deque<_Tp, _Alloc>&, const std::deque<_Tp, _Alloc>&)
  2489. operator==(const deque<_Tp, _Alloc>& __x,
  2490. ^
  2491. /usr/include/c++/4.8/bits/stl_deque.h:1957:5: note: template argument deduction/substitution failed:
  2492. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2493. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2494. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::deque<_Tp, _Alloc>’ and ‘const int’
  2495. if (item == mItems[i])
  2496. ^
  2497. In file included from /usr/include/c++/4.8/deque:64:0,
  2498. from /usr/local/include/OGRE/OgreStdHeaders.h:36,
  2499. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2500. from /usr/local/include/OGRE/OgreCamera.h:32,
  2501. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2502. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2503. /usr/include/c++/4.8/bits/stl_deque.h:254:5: note: template<class _Tp, class _RefL, class _PtrL, class _RefR, class _PtrR> bool std::operator==(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _RefR, _PtrR>&)
  2504. operator==(const _Deque_iterator<_Tp, _RefL, _PtrL>& __x,
  2505. ^
  2506. /usr/include/c++/4.8/bits/stl_deque.h:254:5: note: template argument deduction/substitution failed:
  2507. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2508. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2509. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::_Deque_iterator<_Tp, _Ref, _Ptr>’ and ‘const int’
  2510. if (item == mItems[i])
  2511. ^
  2512. In file included from /usr/include/c++/4.8/deque:64:0,
  2513. from /usr/local/include/OGRE/OgreStdHeaders.h:36,
  2514. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2515. from /usr/local/include/OGRE/OgreCamera.h:32,
  2516. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2517. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2518. /usr/include/c++/4.8/bits/stl_deque.h:247:5: note: template<class _Tp, class _Ref, class _Ptr> bool std::operator==(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&)
  2519. operator==(const _Deque_iterator<_Tp, _Ref, _Ptr>& __x,
  2520. ^
  2521. /usr/include/c++/4.8/bits/stl_deque.h:247:5: note: template argument deduction/substitution failed:
  2522. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2523. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2524. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::_Deque_iterator<_Tp, _Ref, _Ptr>’ and ‘const int’
  2525. if (item == mItems[i])
  2526. ^
  2527. In file included from /usr/include/c++/4.8/list:63:0,
  2528. from /usr/local/include/OGRE/OgreStdHeaders.h:35,
  2529. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2530. from /usr/local/include/OGRE/OgreCamera.h:32,
  2531. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2532. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2533. /usr/include/c++/4.8/bits/stl_list.h:1602:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::list<_Tp, _Alloc>&, const std::list<_Tp, _Alloc>&)
  2534. operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
  2535. ^
  2536. /usr/include/c++/4.8/bits/stl_list.h:1602:5: note: template argument deduction/substitution failed:
  2537. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2538. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2539. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::list<_Tp, _Alloc>’ and ‘const int’
  2540. if (item == mItems[i])
  2541. ^
  2542. In file included from /usr/include/c++/4.8/list:63:0,
  2543. from /usr/local/include/OGRE/OgreStdHeaders.h:35,
  2544. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2545. from /usr/local/include/OGRE/OgreCamera.h:32,
  2546. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2547. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2548. /usr/include/c++/4.8/bits/stl_list.h:276:5: note: template<class _Val> bool std::operator==(const std::_List_iterator<_Tp>&, const std::_List_const_iterator<_Val>&)
  2549. operator==(const _List_iterator<_Val>& __x,
  2550. ^
  2551. /usr/include/c++/4.8/bits/stl_list.h:276:5: note: template argument deduction/substitution failed:
  2552. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2553. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2554. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::_List_iterator<_Tp>’ and ‘const int’
  2555. if (item == mItems[i])
  2556. ^
  2557. In file included from /usr/include/c++/4.8/set:62:0,
  2558. from /usr/local/include/OGRE/OgreStdHeaders.h:34,
  2559. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2560. from /usr/local/include/OGRE/OgreCamera.h:32,
  2561. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2562. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2563. /usr/include/c++/4.8/bits/stl_multiset.h:739:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator==(const std::multiset<_Key, _Compare, _Alloc>&, const std::multiset<_Key, _Compare, _Alloc>&)
  2564. operator==(const multiset<_Key, _Compare, _Alloc>& __x,
  2565. ^
  2566. /usr/include/c++/4.8/bits/stl_multiset.h:739:5: note: template argument deduction/substitution failed:
  2567. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2568. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2569. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::multiset<_Key, _Compare, _Alloc>’ and ‘const int’
  2570. if (item == mItems[i])
  2571. ^
  2572. In file included from /usr/include/c++/4.8/set:61:0,
  2573. from /usr/local/include/OGRE/OgreStdHeaders.h:34,
  2574. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2575. from /usr/local/include/OGRE/OgreCamera.h:32,
  2576. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2577. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2578. /usr/include/c++/4.8/bits/stl_set.h:754:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator==(const std::set<_Key, _Compare, _Alloc>&, const std::set<_Key, _Compare, _Alloc>&)
  2579. operator==(const set<_Key, _Compare, _Alloc>& __x,
  2580. ^
  2581. /usr/include/c++/4.8/bits/stl_set.h:754:5: note: template argument deduction/substitution failed:
  2582. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2583. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2584. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::set<_Key, _Compare, _Alloc>’ and ‘const int’
  2585. if (item == mItems[i])
  2586. ^
  2587. In file included from /usr/include/c++/4.8/map:62:0,
  2588. from /usr/local/include/OGRE/OgreStdHeaders.h:32,
  2589. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2590. from /usr/local/include/OGRE/OgreCamera.h:32,
  2591. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2592. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2593. /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
  2594. operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
  2595. ^
  2596. /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template argument deduction/substitution failed:
  2597. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2598. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2599. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::multimap<_Key, _Tp, _Compare, _Alloc>’ and ‘const int’
  2600. if (item == mItems[i])
  2601. ^
  2602. In file included from /usr/include/c++/4.8/map:61:0,
  2603. from /usr/local/include/OGRE/OgreStdHeaders.h:32,
  2604. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2605. from /usr/local/include/OGRE/OgreCamera.h:32,
  2606. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2607. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2608. /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
  2609. operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
  2610. ^
  2611. /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template argument deduction/substitution failed:
  2612. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2613. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2614. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::map<_Key, _Tp, _Compare, _Alloc>’ and ‘const int’
  2615. if (item == mItems[i])
  2616. ^
  2617. In file included from /usr/include/c++/4.8/map:60:0,
  2618. from /usr/local/include/OGRE/OgreStdHeaders.h:32,
  2619. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2620. from /usr/local/include/OGRE/OgreCamera.h:32,
  2621. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2622. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2623. /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator==(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
  2624. operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
  2625. ^
  2626. /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template argument deduction/substitution failed:
  2627. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2628. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2629. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>’ and ‘const int’
  2630. if (item == mItems[i])
  2631. ^
  2632. In file included from /usr/include/c++/4.8/map:60:0,
  2633. from /usr/local/include/OGRE/OgreStdHeaders.h:32,
  2634. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2635. from /usr/local/include/OGRE/OgreCamera.h:32,
  2636. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2637. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2638. /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template<class _Val> bool std::operator==(const std::_Rb_tree_iterator<_Tp>&, const std::_Rb_tree_const_iterator<_Val>&)
  2639. operator==(const _Rb_tree_iterator<_Val>& __x,
  2640. ^
  2641. /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template argument deduction/substitution failed:
  2642. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2643. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2644. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::_Rb_tree_iterator<_Tp>’ and ‘const int’
  2645. if (item == mItems[i])
  2646. ^
  2647. In file included from /usr/include/c++/4.8/vector:64:0,
  2648. from /usr/local/include/OGRE/OgreStdHeaders.h:31,
  2649. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2650. from /usr/local/include/OGRE/OgreCamera.h:32,
  2651. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2652. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2653. /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
  2654. operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
  2655. ^
  2656. /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template argument deduction/substitution failed:
  2657. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2658. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2659. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::vector<_Tp, _Alloc>’ and ‘const int’
  2660. if (item == mItems[i])
  2661. ^
  2662. In file included from /usr/include/c++/4.8/string:52:0,
  2663. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2664. from /usr/local/include/OGRE/OgreCamera.h:32,
  2665. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2666. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2667. /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
  2668. operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  2669. ^
  2670. /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template argument deduction/substitution failed:
  2671. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2672. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2673. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::basic_string<_CharT, _Traits, _Alloc>’ and ‘const int’
  2674. if (item == mItems[i])
  2675. ^
  2676. In file included from /usr/include/c++/4.8/string:52:0,
  2677. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2678. from /usr/local/include/OGRE/OgreCamera.h:32,
  2679. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2680. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2681. /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
  2682. operator==(const _CharT* __lhs,
  2683. ^
  2684. /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template argument deduction/substitution failed:
  2685. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2686. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2687. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const _CharT*’ and ‘int’
  2688. if (item == mItems[i])
  2689. ^
  2690. In file included from /usr/include/c++/4.8/string:52:0,
  2691. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2692. from /usr/local/include/OGRE/OgreCamera.h:32,
  2693. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2694. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2695. /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::basic_string<_CharT>&, const std::basic_string<_CharT>&)
  2696. operator==(const basic_string<_CharT>& __lhs,
  2697. ^
  2698. /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template argument deduction/substitution failed:
  2699. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2700. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2701. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::basic_string<_CharT>’ and ‘const int’
  2702. if (item == mItems[i])
  2703. ^
  2704. In file included from /usr/include/c++/4.8/string:52:0,
  2705. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2706. from /usr/local/include/OGRE/OgreCamera.h:32,
  2707. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2708. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2709. /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
  2710. operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  2711. ^
  2712. /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template argument deduction/substitution failed:
  2713. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2714. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2715. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::basic_string<_CharT, _Traits, _Alloc>’ and ‘const int’
  2716. if (item == mItems[i])
  2717. ^
  2718. In file included from /usr/include/c++/4.8/string:41:0,
  2719. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2720. from /usr/local/include/OGRE/OgreCamera.h:32,
  2721. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2722. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2723. /usr/include/c++/4.8/bits/allocator.h:133:5: note: template<class _Tp> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
  2724. operator==(const allocator<_Tp>&, const allocator<_Tp>&)
  2725. ^
  2726. /usr/include/c++/4.8/bits/allocator.h:133:5: note: template argument deduction/substitution failed:
  2727. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2728. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2729. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::allocator<_CharT>’ and ‘const int’
  2730. if (item == mItems[i])
  2731. ^
  2732. In file included from /usr/include/c++/4.8/string:41:0,
  2733. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2734. from /usr/local/include/OGRE/OgreCamera.h:32,
  2735. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2736. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2737. /usr/include/c++/4.8/bits/allocator.h:128:5: note: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
  2738. operator==(const allocator<_T1>&, const allocator<_T2>&)
  2739. ^
  2740. /usr/include/c++/4.8/bits/allocator.h:128:5: note: template argument deduction/substitution failed:
  2741. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2742. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2743. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::allocator<_CharT>’ and ‘const int’
  2744. if (item == mItems[i])
  2745. ^
  2746. In file included from /usr/include/c++/4.8/bits/char_traits.h:40:0,
  2747. from /usr/include/c++/4.8/string:40,
  2748. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2749. from /usr/local/include/OGRE/OgreCamera.h:32,
  2750. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2751. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2752. /usr/include/c++/4.8/bits/postypes.h:216:5: note: template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
  2753. operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
  2754. ^
  2755. /usr/include/c++/4.8/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
  2756. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2757. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2758. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::fpos<_StateT>’ and ‘const int’
  2759. if (item == mItems[i])
  2760. ^
  2761. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  2762. from /usr/include/c++/4.8/bits/char_traits.h:39,
  2763. from /usr/include/c++/4.8/string:40,
  2764. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2765. from /usr/local/include/OGRE/OgreCamera.h:32,
  2766. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2767. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2768. /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
  2769. operator==(const reverse_iterator<_IteratorL>& __x,
  2770. ^
  2771. /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template argument deduction/substitution failed:
  2772. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2773. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2774. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::reverse_iterator<_Iterator>’ and ‘const int’
  2775. if (item == mItems[i])
  2776. ^
  2777. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  2778. from /usr/include/c++/4.8/bits/char_traits.h:39,
  2779. from /usr/include/c++/4.8/string:40,
  2780. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2781. from /usr/local/include/OGRE/OgreCamera.h:32,
  2782. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2783. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2784. /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
  2785. operator==(const reverse_iterator<_Iterator>& __x,
  2786. ^
  2787. /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template argument deduction/substitution failed:
  2788. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2789. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2790. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::reverse_iterator<_Iterator>’ and ‘const int’
  2791. if (item == mItems[i])
  2792. ^
  2793. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
  2794. from /usr/include/c++/4.8/bits/char_traits.h:39,
  2795. from /usr/include/c++/4.8/string:40,
  2796. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2797. from /usr/local/include/OGRE/OgreCamera.h:32,
  2798. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2799. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2800. /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
  2801. operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  2802. ^
  2803. /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template argument deduction/substitution failed:
  2804. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2805. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2806. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const std::pair<_T1, _T2>’ and ‘const int’
  2807. if (item == mItems[i])
  2808. ^
  2809. In file included from /usr/include/x86_64-linux-gnu/c++/4.8/bits/c++allocator.h:33:0,
  2810. from /usr/include/c++/4.8/bits/allocator.h:46,
  2811. from /usr/include/c++/4.8/string:41,
  2812. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2813. from /usr/local/include/OGRE/OgreCamera.h:32,
  2814. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2815. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2816. /usr/include/c++/4.8/ext/new_allocator.h:139:5: note: template<class _Tp> bool __gnu_cxx::operator==(const __gnu_cxx::new_allocator<_Tp>&, const __gnu_cxx::new_allocator<_Tp>&)
  2817. operator==(const new_allocator<_Tp>&, const new_allocator<_Tp>&)
  2818. ^
  2819. /usr/include/c++/4.8/ext/new_allocator.h:139:5: note: template argument deduction/substitution failed:
  2820. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2821. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2822. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const __gnu_cxx::new_allocator<_Tp>’ and ‘const int’
  2823. if (item == mItems[i])
  2824. ^
  2825. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  2826. from /usr/include/c++/4.8/bits/char_traits.h:39,
  2827. from /usr/include/c++/4.8/string:40,
  2828. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2829. from /usr/local/include/OGRE/OgreCamera.h:32,
  2830. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2831. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2832. /usr/include/c++/4.8/bits/stl_iterator.h:811:5: note: template<class _Iterator, class _Container> bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator<_Iterator, _Container>&, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&)
  2833. operator==(const __normal_iterator<_Iterator, _Container>& __lhs,
  2834. ^
  2835. /usr/include/c++/4.8/bits/stl_iterator.h:811:5: note: template argument deduction/substitution failed:
  2836. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2837. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2838. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const __gnu_cxx::__normal_iterator<_Iterator, _Container>’ and ‘const int’
  2839. if (item == mItems[i])
  2840. ^
  2841. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  2842. from /usr/include/c++/4.8/bits/char_traits.h:39,
  2843. from /usr/include/c++/4.8/string:40,
  2844. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  2845. from /usr/local/include/OGRE/OgreCamera.h:32,
  2846. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2847. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2848. /usr/include/c++/4.8/bits/stl_iterator.h:805:5: note: template<class _IteratorL, class _IteratorR, class _Container> bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator<_IteratorL, _Container>&, const __gnu_cxx::__normal_iterator<_IteratorR, _Container>&)
  2849. operator==(const __normal_iterator<_IteratorL, _Container>& __lhs,
  2850. ^
  2851. /usr/include/c++/4.8/bits/stl_iterator.h:805:5: note: template argument deduction/substitution failed:
  2852. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2853. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2854. /usr/local/include/OGRE/SdkTrays.h:894:37: note: mismatched types ‘const __gnu_cxx::__normal_iterator<_IteratorL, _Container>’ and ‘const int’
  2855. if (item == mItems[i])
  2856. ^
  2857. /usr/local/include/OGRE/SdkTrays.h:901:82: error: no match for ‘operator+’ (operand types are ‘std::basic_string<char>’ and ‘const int’)
  2858. Ogre::String desc = "Menu \"" + getName() + "\" contains no item \"" + item + "\".";
  2859. ^
  2860. /usr/local/include/OGRE/SdkTrays.h:901:82: note: candidates are:
  2861. In file included from /usr/include/boost/detail/container_fwd.hpp:98:0,
  2862. from /usr/include/boost/functional/hash/extensions.hpp:17,
  2863. from /usr/include/boost/functional/hash/hash.hpp:529,
  2864. from /usr/include/boost/functional/hash.hpp:6,
  2865. from /usr/include/boost/thread/detail/thread.hpp:37,
  2866. from /usr/include/boost/thread/thread_only.hpp:22,
  2867. from /usr/include/boost/thread/thread.hpp:12,
  2868. from /usr/local/include/OGRE/Threading/OgreThreadHeadersBoost.h:50,
  2869. from /usr/local/include/OGRE/Threading/OgreThreadHeaders.h:34,
  2870. from /usr/local/include/OGRE/OgreStringInterface.h:34,
  2871. from /usr/local/include/OGRE/OgreResource.h:33,
  2872. from /usr/local/include/OGRE/OgreGpuProgram.h:33,
  2873. from /usr/local/include/OGRE/OgreRenderable.h:35,
  2874. from /usr/local/include/OGRE/OgreNode.h:34,
  2875. from /usr/local/include/OGRE/OgreSceneNode.h:33,
  2876. from /usr/local/include/OGRE/OgreMovableObject.h:37,
  2877. from /usr/local/include/OGRE/OgreFrustum.h:32,
  2878. from /usr/local/include/OGRE/OgreCamera.h:36,
  2879. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2880. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2881. /usr/include/c++/4.8/complex:443:5: note: template<class _Tp> std::complex<_Tp> std::operator+(const std::complex<_Tp>&)
  2882. operator+(const complex<_Tp>& __x)
  2883. ^
  2884. /usr/include/c++/4.8/complex:443:5: note: template argument deduction/substitution failed:
  2885. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2886. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2887. /usr/local/include/OGRE/SdkTrays.h:901:84: note: ‘std::basic_string<char>’ is not derived from ‘const std::complex<_Tp>’
  2888. Ogre::String desc = "Menu \"" + getName() + "\" contains no item \"" + item + "\".";
  2889. ^
  2890. In file included from /usr/include/boost/detail/container_fwd.hpp:98:0,
  2891. from /usr/include/boost/functional/hash/extensions.hpp:17,
  2892. from /usr/include/boost/functional/hash/hash.hpp:529,
  2893. from /usr/include/boost/functional/hash.hpp:6,
  2894. from /usr/include/boost/thread/detail/thread.hpp:37,
  2895. from /usr/include/boost/thread/thread_only.hpp:22,
  2896. from /usr/include/boost/thread/thread.hpp:12,
  2897. from /usr/local/include/OGRE/Threading/OgreThreadHeadersBoost.h:50,
  2898. from /usr/local/include/OGRE/Threading/OgreThreadHeaders.h:34,
  2899. from /usr/local/include/OGRE/OgreStringInterface.h:34,
  2900. from /usr/local/include/OGRE/OgreResource.h:33,
  2901. from /usr/local/include/OGRE/OgreGpuProgram.h:33,
  2902. from /usr/local/include/OGRE/OgreRenderable.h:35,
  2903. from /usr/local/include/OGRE/OgreNode.h:34,
  2904. from /usr/local/include/OGRE/OgreSceneNode.h:33,
  2905. from /usr/local/include/OGRE/OgreMovableObject.h:37,
  2906. from /usr/local/include/OGRE/OgreFrustum.h:32,
  2907. from /usr/local/include/OGRE/OgreCamera.h:36,
  2908. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2909. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2910. /usr/include/c++/4.8/complex:342:5: note: template<class _Tp> std::complex<_Tp> std::operator+(const _Tp&, const std::complex<_Tp>&)
  2911. operator+(const _Tp& __x, const complex<_Tp>& __y)
  2912. ^
  2913. /usr/include/c++/4.8/complex:342:5: note: template argument deduction/substitution failed:
  2914. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2915. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2916. /usr/local/include/OGRE/SdkTrays.h:901:84: note: mismatched types ‘const std::complex<_Tp>’ and ‘const int’
  2917. Ogre::String desc = "Menu \"" + getName() + "\" contains no item \"" + item + "\".";
  2918. ^
  2919. In file included from /usr/include/boost/detail/container_fwd.hpp:98:0,
  2920. from /usr/include/boost/functional/hash/extensions.hpp:17,
  2921. from /usr/include/boost/functional/hash/hash.hpp:529,
  2922. from /usr/include/boost/functional/hash.hpp:6,
  2923. from /usr/include/boost/thread/detail/thread.hpp:37,
  2924. from /usr/include/boost/thread/thread_only.hpp:22,
  2925. from /usr/include/boost/thread/thread.hpp:12,
  2926. from /usr/local/include/OGRE/Threading/OgreThreadHeadersBoost.h:50,
  2927. from /usr/local/include/OGRE/Threading/OgreThreadHeaders.h:34,
  2928. from /usr/local/include/OGRE/OgreStringInterface.h:34,
  2929. from /usr/local/include/OGRE/OgreResource.h:33,
  2930. from /usr/local/include/OGRE/OgreGpuProgram.h:33,
  2931. from /usr/local/include/OGRE/OgreRenderable.h:35,
  2932. from /usr/local/include/OGRE/OgreNode.h:34,
  2933. from /usr/local/include/OGRE/OgreSceneNode.h:33,
  2934. from /usr/local/include/OGRE/OgreMovableObject.h:37,
  2935. from /usr/local/include/OGRE/OgreFrustum.h:32,
  2936. from /usr/local/include/OGRE/OgreCamera.h:36,
  2937. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2938. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2939. /usr/include/c++/4.8/complex:333:5: note: template<class _Tp> std::complex<_Tp> std::operator+(const std::complex<_Tp>&, const _Tp&)
  2940. operator+(const complex<_Tp>& __x, const _Tp& __y)
  2941. ^
  2942. /usr/include/c++/4.8/complex:333:5: note: template argument deduction/substitution failed:
  2943. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2944. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2945. /usr/local/include/OGRE/SdkTrays.h:901:84: note: ‘std::basic_string<char>’ is not derived from ‘const std::complex<_Tp>’
  2946. Ogre::String desc = "Menu \"" + getName() + "\" contains no item \"" + item + "\".";
  2947. ^
  2948. In file included from /usr/include/boost/detail/container_fwd.hpp:98:0,
  2949. from /usr/include/boost/functional/hash/extensions.hpp:17,
  2950. from /usr/include/boost/functional/hash/hash.hpp:529,
  2951. from /usr/include/boost/functional/hash.hpp:6,
  2952. from /usr/include/boost/thread/detail/thread.hpp:37,
  2953. from /usr/include/boost/thread/thread_only.hpp:22,
  2954. from /usr/include/boost/thread/thread.hpp:12,
  2955. from /usr/local/include/OGRE/Threading/OgreThreadHeadersBoost.h:50,
  2956. from /usr/local/include/OGRE/Threading/OgreThreadHeaders.h:34,
  2957. from /usr/local/include/OGRE/OgreStringInterface.h:34,
  2958. from /usr/local/include/OGRE/OgreResource.h:33,
  2959. from /usr/local/include/OGRE/OgreGpuProgram.h:33,
  2960. from /usr/local/include/OGRE/OgreRenderable.h:35,
  2961. from /usr/local/include/OGRE/OgreNode.h:34,
  2962. from /usr/local/include/OGRE/OgreSceneNode.h:33,
  2963. from /usr/local/include/OGRE/OgreMovableObject.h:37,
  2964. from /usr/local/include/OGRE/OgreFrustum.h:32,
  2965. from /usr/local/include/OGRE/OgreCamera.h:36,
  2966. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2967. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2968. /usr/include/c++/4.8/complex:324:5: note: template<class _Tp> std::complex<_Tp> std::operator+(const std::complex<_Tp>&, const std::complex<_Tp>&)
  2969. operator+(const complex<_Tp>& __x, const complex<_Tp>& __y)
  2970. ^
  2971. /usr/include/c++/4.8/complex:324:5: note: template argument deduction/substitution failed:
  2972. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2973. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2974. /usr/local/include/OGRE/SdkTrays.h:901:84: note: ‘std::basic_string<char>’ is not derived from ‘const std::complex<_Tp>’
  2975. Ogre::String desc = "Menu \"" + getName() + "\" contains no item \"" + item + "\".";
  2976. ^
  2977. In file included from /usr/include/c++/4.8/deque:64:0,
  2978. from /usr/local/include/OGRE/OgreStdHeaders.h:36,
  2979. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2980. from /usr/local/include/OGRE/OgreCamera.h:32,
  2981. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2982. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2983. /usr/include/c++/4.8/bits/stl_deque.h:354:5: note: template<class _Tp, class _Ref, class _Ptr> std::_Deque_iterator<_Tp, _Ref, _Ptr> std::operator+(std::ptrdiff_t, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&)
  2984. operator+(ptrdiff_t __n, const _Deque_iterator<_Tp, _Ref, _Ptr>& __x)
  2985. ^
  2986. /usr/include/c++/4.8/bits/stl_deque.h:354:5: note: template argument deduction/substitution failed:
  2987. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  2988. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2989. /usr/local/include/OGRE/SdkTrays.h:901:84: note: cannot convert ‘std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>](((const char*)"\" contains no item \""))’ (type ‘std::basic_string<char>’) to type ‘std::ptrdiff_t {aka long int}’
  2990. Ogre::String desc = "Menu \"" + getName() + "\" contains no item \"" + item + "\".";
  2991. ^
  2992. In file included from /usr/include/c++/4.8/vector:65:0,
  2993. from /usr/local/include/OGRE/OgreStdHeaders.h:31,
  2994. from /usr/local/include/OGRE/OgrePrerequisites.h:421,
  2995. from /usr/local/include/OGRE/OgreCamera.h:32,
  2996. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  2997. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  2998. /usr/include/c++/4.8/bits/stl_bvector.h:379:3: note: std::_Bit_const_iterator std::operator+(std::ptrdiff_t, const std::_Bit_const_iterator&)
  2999. operator+(ptrdiff_t __n, const _Bit_const_iterator& __x)
  3000. ^
  3001. /usr/include/c++/4.8/bits/stl_bvector.h:379:3: note: no known conversion for argument 1 from ‘std::basic_string<char>’ to ‘std::ptrdiff_t {aka long int}’
  3002. /usr/include/c++/4.8/bits/stl_bvector.h:293:3: note: std::_Bit_iterator std::operator+(std::ptrdiff_t, const std::_Bit_iterator&)
  3003. operator+(ptrdiff_t __n, const _Bit_iterator& __x)
  3004. ^
  3005. /usr/include/c++/4.8/bits/stl_bvector.h:293:3: note: no known conversion for argument 1 from ‘std::basic_string<char>’ to ‘std::ptrdiff_t {aka long int}’
  3006. In file included from /usr/include/c++/4.8/string:52:0,
  3007. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  3008. from /usr/local/include/OGRE/OgreCamera.h:32,
  3009. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  3010. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3011. /usr/include/c++/4.8/bits/basic_string.h:2418:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, _CharT)
  3012. operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs)
  3013. ^
  3014. /usr/include/c++/4.8/bits/basic_string.h:2418:5: note: template argument deduction/substitution failed:
  3015. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3016. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3017. /usr/local/include/OGRE/SdkTrays.h:901:84: note: deduced conflicting types for parameter ‘_CharT’ (‘char’ and ‘int’)
  3018. Ogre::String desc = "Menu \"" + getName() + "\" contains no item \"" + item + "\".";
  3019. ^
  3020. In file included from /usr/include/c++/4.8/string:52:0,
  3021. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  3022. from /usr/local/include/OGRE/OgreCamera.h:32,
  3023. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  3024. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3025. /usr/include/c++/4.8/bits/basic_string.h:2402:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
  3026. operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  3027. ^
  3028. /usr/include/c++/4.8/bits/basic_string.h:2402:5: note: template argument deduction/substitution failed:
  3029. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3030. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3031. /usr/local/include/OGRE/SdkTrays.h:901:84: note: mismatched types ‘const _CharT*’ and ‘int’
  3032. Ogre::String desc = "Menu \"" + getName() + "\" contains no item \"" + item + "\".";
  3033. ^
  3034. In file included from /usr/include/c++/4.8/string:53:0,
  3035. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  3036. from /usr/local/include/OGRE/OgreCamera.h:32,
  3037. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  3038. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3039. /usr/include/c++/4.8/bits/basic_string.tcc:708:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, const std::basic_string<_CharT, _Traits, _Alloc>&)
  3040. operator+(_CharT __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs)
  3041. ^
  3042. /usr/include/c++/4.8/bits/basic_string.tcc:708:5: note: template argument deduction/substitution failed:
  3043. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3044. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3045. /usr/local/include/OGRE/SdkTrays.h:901:84: note: mismatched types ‘const std::basic_string<_CharT, _Traits, _Alloc>’ and ‘const int’
  3046. Ogre::String desc = "Menu \"" + getName() + "\" contains no item \"" + item + "\".";
  3047. ^
  3048. In file included from /usr/include/c++/4.8/string:53:0,
  3049. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  3050. from /usr/local/include/OGRE/OgreCamera.h:32,
  3051. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  3052. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3053. /usr/include/c++/4.8/bits/basic_string.tcc:692:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
  3054. operator+(const _CharT* __lhs,
  3055. ^
  3056. /usr/include/c++/4.8/bits/basic_string.tcc:692:5: note: template argument deduction/substitution failed:
  3057. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3058. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3059. /usr/local/include/OGRE/SdkTrays.h:901:84: note: mismatched types ‘const _CharT*’ and ‘std::basic_string<char>’
  3060. Ogre::String desc = "Menu \"" + getName() + "\" contains no item \"" + item + "\".";
  3061. ^
  3062. In file included from /usr/include/c++/4.8/string:52:0,
  3063. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  3064. from /usr/local/include/OGRE/OgreCamera.h:32,
  3065. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  3066. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3067. /usr/include/c++/4.8/bits/basic_string.h:2365:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
  3068. operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  3069. ^
  3070. /usr/include/c++/4.8/bits/basic_string.h:2365:5: note: template argument deduction/substitution failed:
  3071. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3072. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3073. /usr/local/include/OGRE/SdkTrays.h:901:84: note: mismatched types ‘const std::basic_string<_CharT, _Traits, _Alloc>’ and ‘const int’
  3074. Ogre::String desc = "Menu \"" + getName() + "\" contains no item \"" + item + "\".";
  3075. ^
  3076. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  3077. from /usr/include/c++/4.8/bits/char_traits.h:39,
  3078. from /usr/include/c++/4.8/string:40,
  3079. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  3080. from /usr/local/include/OGRE/OgreCamera.h:32,
  3081. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  3082. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3083. /usr/include/c++/4.8/bits/stl_iterator.h:333:5: note: template<class _Iterator> std::reverse_iterator<_Iterator> std::operator+(typename std::reverse_iterator<_Iterator>::difference_type, const std::reverse_iterator<_Iterator>&)
  3084. operator+(typename reverse_iterator<_Iterator>::difference_type __n,
  3085. ^
  3086. /usr/include/c++/4.8/bits/stl_iterator.h:333:5: note: template argument deduction/substitution failed:
  3087. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3088. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3089. /usr/local/include/OGRE/SdkTrays.h:901:84: note: mismatched types ‘const std::reverse_iterator<_Iterator>’ and ‘const int’
  3090. Ogre::String desc = "Menu \"" + getName() + "\" contains no item \"" + item + "\".";
  3091. ^
  3092. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  3093. from /usr/include/c++/4.8/bits/char_traits.h:39,
  3094. from /usr/include/c++/4.8/string:40,
  3095. from /usr/local/include/OGRE/OgrePrerequisites.h:33,
  3096. from /usr/local/include/OGRE/OgreCamera.h:32,
  3097. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:20,
  3098. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3099. /usr/include/c++/4.8/bits/stl_iterator.h:902:5: note: template<class _Iterator, class _Container> __gnu_cxx::__normal_iterator<_Iterator, _Container> __gnu_cxx::operator+(typename __gnu_cxx::__normal_iterator<_Iterator, _Container>::difference_type, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&)
  3100. operator+(typename __normal_iterator<_Iterator, _Container>::difference_type
  3101. ^
  3102. /usr/include/c++/4.8/bits/stl_iterator.h:902:5: note: template argument deduction/substitution failed:
  3103. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3104. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3105. /usr/local/include/OGRE/SdkTrays.h:901:84: note: mismatched types ‘const __gnu_cxx::__normal_iterator<_Iterator, _Container>’ and ‘const int’
  3106. Ogre::String desc = "Menu \"" + getName() + "\" contains no item \"" + item + "\".";
  3107. ^
  3108. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::SelectMenu::_cursorPressed(const Ogre::Vector2&)’:
  3109. /usr/local/include/OGRE/SdkTrays.h:923:13: error: ‘OverlayManager’ is not a member of ‘Ogre’
  3110. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  3111. ^
  3112. /usr/local/include/OGRE/SdkTrays.h:923:13: note: suggested alternative:
  3113. In file included from /usr/local/include/OGRE/SdkTrays.h:33:0,
  3114. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3115. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3116. /usr/local/include/OGRE/Overlay/OgreOverlayManager.h:52:30: note: ‘Ogre::v1::OverlayManager’
  3117. class _OgreOverlayExport OverlayManager : public Singleton<OverlayManager>, public ScriptLoader, public OverlayAlloc
  3118. ^
  3119. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3120. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3121. /usr/local/include/OGRE/SdkTrays.h:923:35: error: ‘om’ was not declared in this scope
  3122. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  3123. ^
  3124. /usr/local/include/OGRE/SdkTrays.h:923:46: error: ‘Ogre::OverlayManager’ has not been declared
  3125. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  3126. ^
  3127. /usr/local/include/OGRE/SdkTrays.h:927:21: error: ‘mScrollHandle’ was not declared in this scope
  3128. if (mScrollHandle->isVisible()) // check for scrolling
  3129. ^
  3130. /usr/local/include/OGRE/SdkTrays.h:937:51: error: ‘mScrollTrack’ was not declared in this scope
  3131. else if (Widget::isCursorOver(mScrollTrack, cursorPos))
  3132. ^
  3133. /usr/local/include/OGRE/SdkTrays.h:944:106: error: request for member ‘size’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3134. setDisplayIndex((unsigned int)(scrollPercentage * (mItems.size() - mItemElements.size()) + 0.5));
  3135. ^
  3136. /usr/local/include/OGRE/SdkTrays.h:949:35: error: ‘mExpandedBox’ was not declared in this scope
  3137. if (!isCursorOver(mExpandedBox, cursorPos, 3)) retract();
  3138. ^
  3139. /usr/local/include/OGRE/SdkTrays.h:952:50: error: request for member ‘front’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3140. Ogre::Real l = mItemElements.front()->_getDerivedLeft() * om.getViewportWidth() + 5;
  3141. ^
  3142. /usr/local/include/OGRE/SdkTrays.h:953:50: error: request for member ‘front’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3143. Ogre::Real t = mItemElements.front()->_getDerivedTop() * om.getViewportHeight() + 5;
  3144. ^
  3145. /usr/local/include/OGRE/SdkTrays.h:954:54: error: request for member ‘back’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3146. Ogre::Real r = l + mItemElements.back()->getWidth() - 10;
  3147. ^
  3148. /usr/local/include/OGRE/SdkTrays.h:955:50: error: request for member ‘back’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3149. Ogre::Real b = mItemElements.back()->_getDerivedTop() * om.getViewportHeight() +
  3150. ^
  3151. /usr/local/include/OGRE/SdkTrays.h:956:39: error: request for member ‘back’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3152. mItemElements.back()->getHeight() - 5;
  3153. ^
  3154. /usr/local/include/OGRE/SdkTrays.h:969:34: error: ‘mSmallBox’ was not declared in this scope
  3155. if (isCursorOver(mSmallBox, cursorPos, 4))
  3156. ^
  3157. /usr/local/include/OGRE/SdkTrays.h:971:21: error: ‘mExpandedBox’ was not declared in this scope
  3158. mExpandedBox->show();
  3159. ^
  3160. /usr/local/include/OGRE/SdkTrays.h:977:21: error: ‘mScrollTrack’ was not declared in this scope
  3161. mScrollTrack->setHeight(mExpandedBox->getHeight() - 20);
  3162. ^
  3163. /usr/local/include/OGRE/SdkTrays.h:986:29: error: ‘mTextArea’ was not declared in this scope
  3164. if (mTextArea->getHorizontalAlignment() == Ogre::GHA_CENTER) mTextArea->hide();
  3165. ^
  3166. /usr/local/include/OGRE/SdkTrays.h:986:68: error: ‘GHA_CENTER’ is not a member of ‘Ogre’
  3167. if (mTextArea->getHorizontalAlignment() == Ogre::GHA_CENTER) mTextArea->hide();
  3168. ^
  3169. /usr/local/include/OGRE/SdkTrays.h:986:68: note: suggested alternative:
  3170. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  3171. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  3172. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  3173. from /usr/local/include/OGRE/SdkTrays.h:34,
  3174. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3175. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3176. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:73:9: note: ‘GHA_CENTER’
  3177. GHA_CENTER,
  3178. ^
  3179. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3180. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3181. /usr/local/include/OGRE/SdkTrays.h:996:25: error: ‘mScrollHandle’ was not declared in this scope
  3182. mScrollHandle->show();
  3183. ^
  3184. /usr/local/include/OGRE/SdkTrays.h:998:116: error: request for member ‘size’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3185. mScrollHandle->setTop((int)(mDisplayIndex * lowerBoundary / (mItems.size() - mItemElements.size())));
  3186. ^
  3187. /usr/local/include/OGRE/SdkTrays.h:1000:26: error: ‘mScrollHandle’ was not declared in this scope
  3188. else mScrollHandle->hide();
  3189. ^
  3190. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::SelectMenu::_cursorMoved(const Ogre::Vector2&, float)’:
  3191. /usr/local/include/OGRE/SdkTrays.h:1012:13: error: ‘OverlayManager’ is not a member of ‘Ogre’
  3192. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  3193. ^
  3194. /usr/local/include/OGRE/SdkTrays.h:1012:13: note: suggested alternative:
  3195. In file included from /usr/local/include/OGRE/SdkTrays.h:33:0,
  3196. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3197. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3198. /usr/local/include/OGRE/Overlay/OgreOverlayManager.h:52:30: note: ‘Ogre::v1::OverlayManager’
  3199. class _OgreOverlayExport OverlayManager : public Singleton<OverlayManager>, public ScriptLoader, public OverlayAlloc
  3200. ^
  3201. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3202. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3203. /usr/local/include/OGRE/SdkTrays.h:1012:35: error: ‘om’ was not declared in this scope
  3204. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  3205. ^
  3206. /usr/local/include/OGRE/SdkTrays.h:1012:46: error: ‘Ogre::OverlayManager’ has not been declared
  3207. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  3208. ^
  3209. /usr/local/include/OGRE/SdkTrays.h:1018:61: error: ‘mScrollHandle’ was not declared in this scope
  3210. Ogre::Vector2 co = Widget::cursorOffset(mScrollHandle, cursorPos);
  3211. ^
  3212. /usr/local/include/OGRE/SdkTrays.h:1020:48: error: ‘mScrollTrack’ was not declared in this scope
  3213. Ogre::Real lowerBoundary = mScrollTrack->getHeight() - mScrollHandle->getHeight();
  3214. ^
  3215. /usr/local/include/OGRE/SdkTrays.h:1024:93: error: request for member ‘size’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3216. int newIndex = (int) (scrollPercentage * (mItems.size() - mItemElements.size()) + 0.5);
  3217. ^
  3218. /usr/local/include/OGRE/SdkTrays.h:1030:141: error: request for member ‘size’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3219. int newIndex = Ogre::Math::Clamp<int>(mDisplayIndex + (wheelDelta > 0 ? -1 : 1), 0, (int)(mItems.size() - mItemElements.size()));
  3220. ^
  3221. /usr/local/include/OGRE/SdkTrays.h:1031:48: error: ‘mScrollTrack’ was not declared in this scope
  3222. Ogre::Real lowerBoundary = mScrollTrack->getHeight() - mScrollHandle->getHeight();
  3223. ^
  3224. /usr/local/include/OGRE/SdkTrays.h:1031:76: error: ‘mScrollHandle’ was not declared in this scope
  3225. Ogre::Real lowerBoundary = mScrollTrack->getHeight() - mScrollHandle->getHeight();
  3226. ^
  3227. /usr/local/include/OGRE/SdkTrays.h:1032:107: error: request for member ‘size’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3228. mScrollHandle->setTop((int)(newIndex * lowerBoundary / (mItems.size() - mItemElements.size())));
  3229. ^
  3230. /usr/local/include/OGRE/SdkTrays.h:1036:46: error: request for member ‘front’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3231. Ogre::Real l = mItemElements.front()->_getDerivedLeft() * om.getViewportWidth() + 5;
  3232. ^
  3233. /usr/local/include/OGRE/SdkTrays.h:1037:46: error: request for member ‘front’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3234. Ogre::Real t = mItemElements.front()->_getDerivedTop() * om.getViewportHeight() + 5;
  3235. ^
  3236. /usr/local/include/OGRE/SdkTrays.h:1038:50: error: request for member ‘back’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3237. Ogre::Real r = l + mItemElements.back()->getWidth() - 10;
  3238. ^
  3239. /usr/local/include/OGRE/SdkTrays.h:1039:46: error: request for member ‘back’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3240. Ogre::Real b = mItemElements.back()->_getDerivedTop() * om.getViewportHeight() +
  3241. ^
  3242. /usr/local/include/OGRE/SdkTrays.h:1040:35: error: request for member ‘back’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3243. mItemElements.back()->getHeight() - 5;
  3244. ^
  3245. /usr/local/include/OGRE/SdkTrays.h:1044:102: error: request for member ‘size’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3246. int newIndex = (int)(mDisplayIndex + (cursorPos.y - t) / (b - t) * mItemElements.size());
  3247. ^
  3248. /usr/local/include/OGRE/SdkTrays.h:1054:34: error: ‘mSmallBox’ was not declared in this scope
  3249. if (isCursorOver(mSmallBox, cursorPos, 4))
  3250. ^
  3251. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::SelectMenu::_focusLost()’:
  3252. /usr/local/include/OGRE/SdkTrays.h:1074:17: error: ‘mExpandedBox’ was not declared in this scope
  3253. if (mExpandedBox->isVisible()) retract();
  3254. ^
  3255. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SelectMenu::setDisplayIndex(unsigned int)’:
  3256. /usr/local/include/OGRE/SdkTrays.h:1084:78: error: request for member ‘size’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3257. index = std::min<int>(index, (int)(mItems.size() - mItemElements.size()));
  3258. ^
  3259. /usr/local/include/OGRE/SdkTrays.h:1087:52: error: request for member ‘size’ in ‘((OgreBites::SelectMenu*)this)->OgreBites::SelectMenu::mItemElements’, which is of non-class type ‘int’
  3260. for (int i = 0; i < (int)mItemElements.size(); i++)
  3261. ^
  3262. /usr/local/include/OGRE/SdkTrays.h:1089:17: error: ‘BorderPanelOverlayElement’ is not a member of ‘Ogre’
  3263. Ogre::BorderPanelOverlayElement *ie = mItemElements[i];
  3264. ^
  3265. /usr/local/include/OGRE/SdkTrays.h:1089:17: note: suggested alternative:
  3266. In file included from /usr/local/include/OGRE/SdkTrays.h:34:0,
  3267. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3268. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3269. /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:58:30: note: ‘Ogre::v1::BorderPanelOverlayElement’
  3270. class _OgreOverlayExport BorderPanelOverlayElement : public PanelOverlayElement
  3271. ^
  3272. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3273. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3274. /usr/local/include/OGRE/SdkTrays.h:1089:50: error: ‘ie’ was not declared in this scope
  3275. Ogre::BorderPanelOverlayElement *ie = mItemElements[i];
  3276. ^
  3277. /usr/local/include/OGRE/SdkTrays.h:1089:70: error: invalid types ‘int[int]’ for array subscript
  3278. Ogre::BorderPanelOverlayElement *ie = mItemElements[i];
  3279. ^
  3280. /usr/local/include/OGRE/SdkTrays.h:1090:17: error: ‘TextAreaOverlayElement’ is not a member of ‘Ogre’
  3281. Ogre::TextAreaOverlayElement *ta = (Ogre::TextAreaOverlayElement*)ie->getChild(ie->getName() + "/MenuItemText");
  3282. ^
  3283. /usr/local/include/OGRE/SdkTrays.h:1090:17: note: suggested alternative:
  3284. In file included from /usr/local/include/OGRE/SdkTrays.h:35:0,
  3285. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3286. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3287. /usr/local/include/OGRE/Overlay/OgreTextAreaOverlayElement.h:45:30: note: ‘Ogre::v1::TextAreaOverlayElement’
  3288. class _OgreOverlayExport TextAreaOverlayElement : public OverlayElement
  3289. ^
  3290. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3291. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3292. /usr/local/include/OGRE/SdkTrays.h:1090:47: error: ‘ta’ was not declared in this scope
  3293. Ogre::TextAreaOverlayElement *ta = (Ogre::TextAreaOverlayElement*)ie->getChild(ie->getName() + "/MenuItemText");
  3294. ^
  3295. /usr/local/include/OGRE/SdkTrays.h:1090:53: error: ‘TextAreaOverlayElement’ is not a member of ‘Ogre’
  3296. Ogre::TextAreaOverlayElement *ta = (Ogre::TextAreaOverlayElement*)ie->getChild(ie->getName() + "/MenuItemText");
  3297. ^
  3298. /usr/local/include/OGRE/SdkTrays.h:1090:53: note: suggested alternative:
  3299. In file included from /usr/local/include/OGRE/SdkTrays.h:35:0,
  3300. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3301. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3302. /usr/local/include/OGRE/Overlay/OgreTextAreaOverlayElement.h:45:30: note: ‘Ogre::v1::TextAreaOverlayElement’
  3303. class _OgreOverlayExport TextAreaOverlayElement : public OverlayElement
  3304. ^
  3305. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3306. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3307. /usr/local/include/OGRE/SdkTrays.h:1090:82: error: expected primary-expression before ‘)’ token
  3308. Ogre::TextAreaOverlayElement *ta = (Ogre::TextAreaOverlayElement*)ie->getChild(ie->getName() + "/MenuItemText");
  3309. ^
  3310. /usr/local/include/OGRE/SdkTrays.h:1090:83: error: expected ‘;’ before ‘ie’
  3311. Ogre::TextAreaOverlayElement *ta = (Ogre::TextAreaOverlayElement*)ie->getChild(ie->getName() + "/MenuItemText");
  3312. ^
  3313. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SelectMenu::retract()’:
  3314. /usr/local/include/OGRE/SdkTrays.h:1114:13: error: ‘mExpandedBox’ was not declared in this scope
  3315. mExpandedBox->hide();
  3316. ^
  3317. /usr/local/include/OGRE/SdkTrays.h:1115:13: error: ‘mTextArea’ was not declared in this scope
  3318. mTextArea->show();
  3319. ^
  3320. /usr/local/include/OGRE/SdkTrays.h:1116:13: error: ‘mSmallBox’ was not declared in this scope
  3321. mSmallBox->show();
  3322. ^
  3323. /usr/local/include/OGRE/SdkTrays.h: At global scope:
  3324. /usr/local/include/OGRE/SdkTrays.h:1149:47: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  3325. Label(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width)
  3326. ^
  3327. /usr/local/include/OGRE/SdkTrays.h:1149:68: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  3328. Label(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width)
  3329. ^
  3330. /usr/local/include/OGRE/SdkTrays.h:1165:15: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  3331. const Ogre::DisplayString& getCaption()
  3332. ^
  3333. /usr/local/include/OGRE/SdkTrays.h:1170:31: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  3334. void setCaption(const Ogre::DisplayString& caption)
  3335. ^
  3336. /usr/local/include/OGRE/SdkTrays.h:1170:52: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  3337. void setCaption(const Ogre::DisplayString& caption)
  3338. ^
  3339. /usr/local/include/OGRE/SdkTrays.h:1187:9: error: ‘TextAreaOverlayElement’ in namespace ‘Ogre’ does not name a type
  3340. Ogre::TextAreaOverlayElement* mTextArea;
  3341. ^
  3342. /usr/local/include/OGRE/SdkTrays.h: In constructor ‘OgreBites::Label::Label(const String&, const int&, Ogre::Real)’:
  3343. /usr/local/include/OGRE/SdkTrays.h:1151:13: error: ‘mElement’ was not declared in this scope
  3344. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate("SdkTrays/Label", "BorderPanel", name);
  3345. ^
  3346. /usr/local/include/OGRE/SdkTrays.h:1151:30: error: ‘Ogre::OverlayManager’ has not been declared
  3347. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate("SdkTrays/Label", "BorderPanel", name);
  3348. ^
  3349. /usr/local/include/OGRE/SdkTrays.h:1152:13: error: ‘mTextArea’ was not declared in this scope
  3350. mTextArea = (Ogre::TextAreaOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(getName() + "/LabelCaption");
  3351. ^
  3352. /usr/local/include/OGRE/SdkTrays.h:1152:26: error: ‘TextAreaOverlayElement’ is not a member of ‘Ogre’
  3353. mTextArea = (Ogre::TextAreaOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(getName() + "/LabelCaption");
  3354. ^
  3355. /usr/local/include/OGRE/SdkTrays.h:1152:26: note: suggested alternative:
  3356. In file included from /usr/local/include/OGRE/SdkTrays.h:35:0,
  3357. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3358. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3359. /usr/local/include/OGRE/Overlay/OgreTextAreaOverlayElement.h:45:30: note: ‘Ogre::v1::TextAreaOverlayElement’
  3360. class _OgreOverlayExport TextAreaOverlayElement : public OverlayElement
  3361. ^
  3362. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3363. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3364. /usr/local/include/OGRE/SdkTrays.h:1152:55: error: expected primary-expression before ‘)’ token
  3365. mTextArea = (Ogre::TextAreaOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(getName() + "/LabelCaption");
  3366. ^
  3367. /usr/local/include/OGRE/SdkTrays.h:1152:58: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  3368. mTextArea = (Ogre::TextAreaOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(getName() + "/LabelCaption");
  3369. ^
  3370. /usr/local/include/OGRE/SdkTrays.h:1152:58: note: suggested alternative:
  3371. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  3372. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  3373. from /usr/local/include/OGRE/SdkTrays.h:34,
  3374. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3375. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3376. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  3377. class _OgreOverlayExport OverlayContainer : public OverlayElement
  3378. ^
  3379. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3380. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3381. /usr/local/include/OGRE/SdkTrays.h:1152:81: error: expected primary-expression before ‘)’ token
  3382. mTextArea = (Ogre::TextAreaOverlayElement*)((Ogre::OverlayContainer*)mElement)->getChild(getName() + "/LabelCaption");
  3383. ^
  3384. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::Label::setCaption(const int&)’:
  3385. /usr/local/include/OGRE/SdkTrays.h:1172:13: error: ‘mTextArea’ was not declared in this scope
  3386. mTextArea->setCaption(caption);
  3387. ^
  3388. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::Label::_cursorPressed(const Ogre::Vector2&)’:
  3389. /usr/local/include/OGRE/SdkTrays.h:1177:43: error: ‘mElement’ was not declared in this scope
  3390. if (mListener && isCursorOver(mElement, cursorPos, 3)) mListener->labelHit(this);
  3391. ^
  3392. /usr/local/include/OGRE/SdkTrays.h: In constructor ‘OgreBites::Separator::Separator(const String&, Ogre::Real)’:
  3393. /usr/local/include/OGRE/SdkTrays.h:1201:13: error: ‘mElement’ was not declared in this scope
  3394. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate("SdkTrays/Separator", "Panel", name);
  3395. ^
  3396. /usr/local/include/OGRE/SdkTrays.h:1201:30: error: ‘Ogre::OverlayManager’ has not been declared
  3397. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate("SdkTrays/Separator", "Panel", name);
  3398. ^
  3399. /usr/local/include/OGRE/SdkTrays.h: At global scope:
  3400. /usr/local/include/OGRE/SdkTrays.h:1228:48: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  3401. Slider(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width, Ogre::Real trackWidth,
  3402. ^
  3403. /usr/local/include/OGRE/SdkTrays.h:1228:69: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  3404. Slider(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width, Ogre::Real trackWidth,
  3405. ^
  3406. /usr/local/include/OGRE/SdkTrays.h:1298:15: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  3407. const Ogre::DisplayString& getValueCaption()
  3408. ^
  3409. /usr/local/include/OGRE/SdkTrays.h:1306:36: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  3410. void setValueCaption(const Ogre::DisplayString& caption)
  3411. ^
  3412. /usr/local/include/OGRE/SdkTrays.h:1306:57: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  3413. void setValueCaption(const Ogre::DisplayString& caption)
  3414. ^
  3415. /usr/local/include/OGRE/SdkTrays.h:1330:15: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  3416. const Ogre::DisplayString& getCaption()
  3417. ^
  3418. /usr/local/include/OGRE/SdkTrays.h:1335:31: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  3419. void setCaption(const Ogre::DisplayString& caption)
  3420. ^
  3421. /usr/local/include/OGRE/SdkTrays.h:1335:52: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  3422. void setCaption(const Ogre::DisplayString& caption)
  3423. ^
  3424. /usr/local/include/OGRE/SdkTrays.h:1405:9: error: ‘TextAreaOverlayElement’ in namespace ‘Ogre’ does not name a type
  3425. Ogre::TextAreaOverlayElement* mTextArea;
  3426. ^
  3427. /usr/local/include/OGRE/SdkTrays.h:1406:9: error: ‘TextAreaOverlayElement’ in namespace ‘Ogre’ does not name a type
  3428. Ogre::TextAreaOverlayElement* mValueTextArea;
  3429. ^
  3430. /usr/local/include/OGRE/SdkTrays.h:1407:9: error: ‘BorderPanelOverlayElement’ in namespace ‘Ogre’ does not name a type
  3431. Ogre::BorderPanelOverlayElement* mTrack;
  3432. ^
  3433. /usr/local/include/OGRE/SdkTrays.h:1408:9: error: ‘PanelOverlayElement’ in namespace ‘Ogre’ does not name a type
  3434. Ogre::PanelOverlayElement* mHandle;
  3435. ^
  3436. /usr/local/include/OGRE/SdkTrays.h: In constructor ‘OgreBites::Slider::Slider(const String&, const int&, Ogre::Real, Ogre::Real, Ogre::Real, Ogre::Real, Ogre::Real, unsigned int)’:
  3437. /usr/local/include/OGRE/SdkTrays.h:1238:13: error: ‘mElement’ was not declared in this scope
  3438. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate
  3439. ^
  3440. /usr/local/include/OGRE/SdkTrays.h:1238:30: error: ‘Ogre::OverlayManager’ has not been declared
  3441. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate
  3442. ^
  3443. /usr/local/include/OGRE/SdkTrays.h:1241:13: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  3444. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  3445. ^
  3446. /usr/local/include/OGRE/SdkTrays.h:1241:13: note: suggested alternative:
  3447. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  3448. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  3449. from /usr/local/include/OGRE/SdkTrays.h:34,
  3450. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3451. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3452. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  3453. class _OgreOverlayExport OverlayContainer : public OverlayElement
  3454. ^
  3455. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3456. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3457. /usr/local/include/OGRE/SdkTrays.h:1241:37: error: ‘c’ was not declared in this scope
  3458. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  3459. ^
  3460. /usr/local/include/OGRE/SdkTrays.h:1241:42: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  3461. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  3462. ^
  3463. /usr/local/include/OGRE/SdkTrays.h:1241:42: note: suggested alternative:
  3464. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  3465. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  3466. from /usr/local/include/OGRE/SdkTrays.h:34,
  3467. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3468. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3469. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  3470. class _OgreOverlayExport OverlayContainer : public OverlayElement
  3471. ^
  3472. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3473. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3474. /usr/local/include/OGRE/SdkTrays.h:1241:65: error: expected primary-expression before ‘)’ token
  3475. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  3476. ^
  3477. /usr/local/include/OGRE/SdkTrays.h:1241:66: error: expected ‘;’ before ‘mElement’
  3478. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  3479. ^
  3480. /usr/local/include/OGRE/SdkTrays.h:1242:13: error: ‘mTextArea’ was not declared in this scope
  3481. mTextArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/SliderCaption");
  3482. ^
  3483. /usr/local/include/OGRE/SdkTrays.h:1242:26: error: ‘TextAreaOverlayElement’ is not a member of ‘Ogre’
  3484. mTextArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/SliderCaption");
  3485. ^
  3486. /usr/local/include/OGRE/SdkTrays.h:1242:26: note: suggested alternative:
  3487. In file included from /usr/local/include/OGRE/SdkTrays.h:35:0,
  3488. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3489. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3490. /usr/local/include/OGRE/Overlay/OgreTextAreaOverlayElement.h:45:30: note: ‘Ogre::v1::TextAreaOverlayElement’
  3491. class _OgreOverlayExport TextAreaOverlayElement : public OverlayElement
  3492. ^
  3493. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3494. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3495. /usr/local/include/OGRE/SdkTrays.h:1242:55: error: expected primary-expression before ‘)’ token
  3496. mTextArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/SliderCaption");
  3497. ^
  3498. /usr/local/include/OGRE/SdkTrays.h:1242:56: error: expected ‘;’ before ‘c’
  3499. mTextArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/SliderCaption");
  3500. ^
  3501. /usr/local/include/OGRE/SdkTrays.h:1243:13: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  3502. Ogre::OverlayContainer* valueBox = (Ogre::OverlayContainer*)c->getChild(getName() + "/SliderValueBox");
  3503. ^
  3504. /usr/local/include/OGRE/SdkTrays.h:1243:13: note: suggested alternative:
  3505. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  3506. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  3507. from /usr/local/include/OGRE/SdkTrays.h:34,
  3508. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3509. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3510. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  3511. class _OgreOverlayExport OverlayContainer : public OverlayElement
  3512. ^
  3513. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3514. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3515. /usr/local/include/OGRE/SdkTrays.h:1243:37: error: ‘valueBox’ was not declared in this scope
  3516. Ogre::OverlayContainer* valueBox = (Ogre::OverlayContainer*)c->getChild(getName() + "/SliderValueBox");
  3517. ^
  3518. /usr/local/include/OGRE/SdkTrays.h:1243:49: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  3519. Ogre::OverlayContainer* valueBox = (Ogre::OverlayContainer*)c->getChild(getName() + "/SliderValueBox");
  3520. ^
  3521. /usr/local/include/OGRE/SdkTrays.h:1243:49: note: suggested alternative:
  3522. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  3523. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  3524. from /usr/local/include/OGRE/SdkTrays.h:34,
  3525. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3526. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3527. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  3528. class _OgreOverlayExport OverlayContainer : public OverlayElement
  3529. ^
  3530. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3531. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3532. /usr/local/include/OGRE/SdkTrays.h:1243:72: error: expected primary-expression before ‘)’ token
  3533. Ogre::OverlayContainer* valueBox = (Ogre::OverlayContainer*)c->getChild(getName() + "/SliderValueBox");
  3534. ^
  3535. /usr/local/include/OGRE/SdkTrays.h:1243:73: error: expected ‘;’ before ‘c’
  3536. Ogre::OverlayContainer* valueBox = (Ogre::OverlayContainer*)c->getChild(getName() + "/SliderValueBox");
  3537. ^
  3538. /usr/local/include/OGRE/SdkTrays.h:1246:13: error: ‘mValueTextArea’ was not declared in this scope
  3539. mValueTextArea = (Ogre::TextAreaOverlayElement*)valueBox->getChild(valueBox->getName() + "/SliderValueText");
  3540. ^
  3541. /usr/local/include/OGRE/SdkTrays.h:1246:31: error: ‘TextAreaOverlayElement’ is not a member of ‘Ogre’
  3542. mValueTextArea = (Ogre::TextAreaOverlayElement*)valueBox->getChild(valueBox->getName() + "/SliderValueText");
  3543. ^
  3544. /usr/local/include/OGRE/SdkTrays.h:1246:31: note: suggested alternative:
  3545. In file included from /usr/local/include/OGRE/SdkTrays.h:35:0,
  3546. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3547. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3548. /usr/local/include/OGRE/Overlay/OgreTextAreaOverlayElement.h:45:30: note: ‘Ogre::v1::TextAreaOverlayElement’
  3549. class _OgreOverlayExport TextAreaOverlayElement : public OverlayElement
  3550. ^
  3551. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3552. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3553. /usr/local/include/OGRE/SdkTrays.h:1246:60: error: expected primary-expression before ‘)’ token
  3554. mValueTextArea = (Ogre::TextAreaOverlayElement*)valueBox->getChild(valueBox->getName() + "/SliderValueText");
  3555. ^
  3556. /usr/local/include/OGRE/SdkTrays.h:1246:61: error: expected ‘;’ before ‘valueBox’
  3557. mValueTextArea = (Ogre::TextAreaOverlayElement*)valueBox->getChild(valueBox->getName() + "/SliderValueText");
  3558. ^
  3559. /usr/local/include/OGRE/SdkTrays.h:1247:13: error: ‘mTrack’ was not declared in this scope
  3560. mTrack = (Ogre::BorderPanelOverlayElement*)c->getChild(getName() + "/SliderTrack");
  3561. ^
  3562. /usr/local/include/OGRE/SdkTrays.h:1247:23: error: ‘BorderPanelOverlayElement’ is not a member of ‘Ogre’
  3563. mTrack = (Ogre::BorderPanelOverlayElement*)c->getChild(getName() + "/SliderTrack");
  3564. ^
  3565. /usr/local/include/OGRE/SdkTrays.h:1247:23: note: suggested alternative:
  3566. In file included from /usr/local/include/OGRE/SdkTrays.h:34:0,
  3567. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3568. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3569. /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:58:30: note: ‘Ogre::v1::BorderPanelOverlayElement’
  3570. class _OgreOverlayExport BorderPanelOverlayElement : public PanelOverlayElement
  3571. ^
  3572. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3573. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3574. /usr/local/include/OGRE/SdkTrays.h:1247:55: error: expected primary-expression before ‘)’ token
  3575. mTrack = (Ogre::BorderPanelOverlayElement*)c->getChild(getName() + "/SliderTrack");
  3576. ^
  3577. /usr/local/include/OGRE/SdkTrays.h:1247:56: error: expected ‘;’ before ‘c’
  3578. mTrack = (Ogre::BorderPanelOverlayElement*)c->getChild(getName() + "/SliderTrack");
  3579. ^
  3580. /usr/local/include/OGRE/SdkTrays.h:1248:13: error: ‘mHandle’ was not declared in this scope
  3581. mHandle = (Ogre::PanelOverlayElement*)mTrack->getChild(mTrack->getName() + "/SliderHandle");
  3582. ^
  3583. /usr/local/include/OGRE/SdkTrays.h:1248:24: error: ‘PanelOverlayElement’ is not a member of ‘Ogre’
  3584. mHandle = (Ogre::PanelOverlayElement*)mTrack->getChild(mTrack->getName() + "/SliderHandle");
  3585. ^
  3586. /usr/local/include/OGRE/SdkTrays.h:1248:24: note: suggested alternative:
  3587. In file included from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32:0,
  3588. from /usr/local/include/OGRE/SdkTrays.h:34,
  3589. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3590. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3591. /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:59:30: note: ‘Ogre::v1::PanelOverlayElement’
  3592. class _OgreOverlayExport PanelOverlayElement : public OverlayContainer
  3593. ^
  3594. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3595. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3596. /usr/local/include/OGRE/SdkTrays.h:1248:50: error: expected primary-expression before ‘)’ token
  3597. mHandle = (Ogre::PanelOverlayElement*)mTrack->getChild(mTrack->getName() + "/SliderHandle");
  3598. ^
  3599. /usr/local/include/OGRE/SdkTrays.h:1248:51: error: expected ‘;’ before ‘mTrack’
  3600. mHandle = (Ogre::PanelOverlayElement*)mTrack->getChild(mTrack->getName() + "/SliderHandle");
  3601. ^
  3602. /usr/local/include/OGRE/SdkTrays.h:1266:48: error: ‘GHA_RIGHT’ is not a member of ‘Ogre’
  3603. mTrack->setHorizontalAlignment(Ogre::GHA_RIGHT);
  3604. ^
  3605. /usr/local/include/OGRE/SdkTrays.h:1266:48: note: suggested alternative:
  3606. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  3607. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  3608. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  3609. from /usr/local/include/OGRE/SdkTrays.h:34,
  3610. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3611. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3612. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:74:9: note: ‘GHA_RIGHT’
  3613. GHA_RIGHT
  3614. ^
  3615. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3616. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3617. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::Slider::setRange(Ogre::Real, Ogre::Real, unsigned int, bool)’:
  3618. /usr/local/include/OGRE/SdkTrays.h:1285:17: error: ‘mHandle’ was not declared in this scope
  3619. mHandle->hide();
  3620. ^
  3621. /usr/local/include/OGRE/SdkTrays.h:1287:33: error: ‘mValueTextArea’ was not declared in this scope
  3622. if (snaps == 1) mValueTextArea->setCaption(Ogre::StringConverter::toString(mMinValue));
  3623. ^
  3624. /usr/local/include/OGRE/SdkTrays.h:1288:22: error: ‘mValueTextArea’ was not declared in this scope
  3625. else mValueTextArea->setCaption("");
  3626. ^
  3627. /usr/local/include/OGRE/SdkTrays.h:1292:17: error: ‘mHandle’ was not declared in this scope
  3628. mHandle->show();
  3629. ^
  3630. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::Slider::setValueCaption(const int&)’:
  3631. /usr/local/include/OGRE/SdkTrays.h:1308:13: error: ‘mValueTextArea’ was not declared in this scope
  3632. mValueTextArea->setCaption(caption);
  3633. ^
  3634. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::Slider::setValue(Ogre::Real, bool)’:
  3635. /usr/local/include/OGRE/SdkTrays.h:1317:68: error: no matching function for call to ‘OgreBites::Slider::setValueCaption(Ogre::String)’
  3636. setValueCaption(Ogre::StringConverter::toString(mValue));
  3637. ^
  3638. /usr/local/include/OGRE/SdkTrays.h:1317:68: note: candidate is:
  3639. /usr/local/include/OGRE/SdkTrays.h:1306:14: note: void OgreBites::Slider::setValueCaption(const int&)
  3640. void setValueCaption(const Ogre::DisplayString& caption)
  3641. ^
  3642. /usr/local/include/OGRE/SdkTrays.h:1306:14: note: no known conversion for argument 1 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  3643. /usr/local/include/OGRE/SdkTrays.h:1321:29: error: ‘mHandle’ was not declared in this scope
  3644. if (!mDragging) mHandle->setLeft((int)((mValue - mMinValue) / (mMaxValue - mMinValue) *
  3645. ^
  3646. /usr/local/include/OGRE/SdkTrays.h:1322:18: error: ‘mTrack’ was not declared in this scope
  3647. (mTrack->getWidth() - mHandle->getWidth())));
  3648. ^
  3649. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::Slider::setCaption(const int&)’:
  3650. /usr/local/include/OGRE/SdkTrays.h:1337:13: error: ‘mTextArea’ was not declared in this scope
  3651. mTextArea->setCaption(caption);
  3652. ^
  3653. /usr/local/include/OGRE/SdkTrays.h:1339:33: error: ‘mElement’ was not declared in this scope
  3654. if (mFitToContents) mElement->setWidth(getCaptionWidth(caption, mTextArea) +
  3655. ^
  3656. /usr/local/include/OGRE/SdkTrays.h:1340:17: error: ‘mValueTextArea’ was not declared in this scope
  3657. mValueTextArea->getParent()->getWidth() + mTrack->getWidth() + 26);
  3658. ^
  3659. /usr/local/include/OGRE/SdkTrays.h:1340:59: error: ‘mTrack’ was not declared in this scope
  3660. mValueTextArea->getParent()->getWidth() + mTrack->getWidth() + 26);
  3661. ^
  3662. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::Slider::_cursorPressed(const Ogre::Vector2&)’:
  3663. /usr/local/include/OGRE/SdkTrays.h:1345:18: error: ‘mHandle’ was not declared in this scope
  3664. if (!mHandle->isVisible()) return;
  3665. ^
  3666. /usr/local/include/OGRE/SdkTrays.h:1347:53: error: ‘mHandle’ was not declared in this scope
  3667. Ogre::Vector2 co = Widget::cursorOffset(mHandle, cursorPos);
  3668. ^
  3669. /usr/local/include/OGRE/SdkTrays.h:1354:43: error: ‘mTrack’ was not declared in this scope
  3670. else if (Widget::isCursorOver(mTrack, cursorPos))
  3671. ^
  3672. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::Slider::_cursorReleased(const Ogre::Vector2&)’:
  3673. /usr/local/include/OGRE/SdkTrays.h:1369:17: error: ‘mHandle’ was not declared in this scope
  3674. mHandle->setLeft((int)((mValue - mMinValue) / (mMaxValue - mMinValue) *
  3675. ^
  3676. /usr/local/include/OGRE/SdkTrays.h:1370:22: error: ‘mTrack’ was not declared in this scope
  3677. (mTrack->getWidth() - mHandle->getWidth())));
  3678. ^
  3679. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::Slider::_cursorMoved(const Ogre::Vector2&, float)’:
  3680. /usr/local/include/OGRE/SdkTrays.h:1378:57: error: ‘mHandle’ was not declared in this scope
  3681. Ogre::Vector2 co = Widget::cursorOffset(mHandle, cursorPos);
  3682. ^
  3683. /usr/local/include/OGRE/SdkTrays.h:1380:44: error: ‘mTrack’ was not declared in this scope
  3684. Ogre::Real rightBoundary = mTrack->getWidth() - mHandle->getWidth();
  3685. ^
  3686. /usr/local/include/OGRE/SdkTrays.h: At global scope:
  3687. /usr/local/include/OGRE/SdkTrays.h:1462:34: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  3688. void setParamValue(const Ogre::DisplayString& paramName, const Ogre::DisplayString& paramValue)
  3689. ^
  3690. /usr/local/include/OGRE/SdkTrays.h:1462:55: error: ISO C++ forbids declaration of ‘paramName’ with no type [-fpermissive]
  3691. void setParamValue(const Ogre::DisplayString& paramName, const Ogre::DisplayString& paramValue)
  3692. ^
  3693. /usr/local/include/OGRE/SdkTrays.h:1462:72: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  3694. void setParamValue(const Ogre::DisplayString& paramName, const Ogre::DisplayString& paramValue)
  3695. ^
  3696. /usr/local/include/OGRE/SdkTrays.h:1462:93: error: ISO C++ forbids declaration of ‘paramValue’ with no type [-fpermissive]
  3697. void setParamValue(const Ogre::DisplayString& paramName, const Ogre::DisplayString& paramValue)
  3698. ^
  3699. /usr/local/include/OGRE/SdkTrays.h:1478:54: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  3700. void setParamValue(unsigned int index, const Ogre::DisplayString& paramValue)
  3701. ^
  3702. /usr/local/include/OGRE/SdkTrays.h:1478:75: error: ISO C++ forbids declaration of ‘paramValue’ with no type [-fpermissive]
  3703. void setParamValue(unsigned int index, const Ogre::DisplayString& paramValue)
  3704. ^
  3705. /usr/local/include/OGRE/SdkTrays.h:1491:9: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  3706. Ogre::DisplayString getParamValue(const Ogre::DisplayString& paramName)
  3707. ^
  3708. /usr/local/include/OGRE/SdkTrays.h:1503:9: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  3709. Ogre::DisplayString getParamValue(unsigned int index)
  3710. ^
  3711. /usr/local/include/OGRE/SdkTrays.h:1540:9: error: ‘TextAreaOverlayElement’ in namespace ‘Ogre’ does not name a type
  3712. Ogre::TextAreaOverlayElement* mNamesArea;
  3713. ^
  3714. /usr/local/include/OGRE/SdkTrays.h:1541:9: error: ‘TextAreaOverlayElement’ in namespace ‘Ogre’ does not name a type
  3715. Ogre::TextAreaOverlayElement* mValuesArea;
  3716. ^
  3717. /usr/local/include/OGRE/SdkTrays.h: In constructor ‘OgreBites::ParamsPanel::ParamsPanel(const String&, Ogre::Real, unsigned int)’:
  3718. /usr/local/include/OGRE/SdkTrays.h:1428:13: error: ‘mElement’ was not declared in this scope
  3719. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate
  3720. ^
  3721. /usr/local/include/OGRE/SdkTrays.h:1428:30: error: ‘Ogre::OverlayManager’ has not been declared
  3722. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate
  3723. ^
  3724. /usr/local/include/OGRE/SdkTrays.h:1430:13: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  3725. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  3726. ^
  3727. /usr/local/include/OGRE/SdkTrays.h:1430:13: note: suggested alternative:
  3728. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  3729. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  3730. from /usr/local/include/OGRE/SdkTrays.h:34,
  3731. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3732. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3733. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  3734. class _OgreOverlayExport OverlayContainer : public OverlayElement
  3735. ^
  3736. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3737. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3738. /usr/local/include/OGRE/SdkTrays.h:1430:37: error: ‘c’ was not declared in this scope
  3739. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  3740. ^
  3741. /usr/local/include/OGRE/SdkTrays.h:1430:42: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  3742. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  3743. ^
  3744. /usr/local/include/OGRE/SdkTrays.h:1430:42: note: suggested alternative:
  3745. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  3746. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  3747. from /usr/local/include/OGRE/SdkTrays.h:34,
  3748. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3749. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3750. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  3751. class _OgreOverlayExport OverlayContainer : public OverlayElement
  3752. ^
  3753. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3754. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3755. /usr/local/include/OGRE/SdkTrays.h:1430:65: error: expected primary-expression before ‘)’ token
  3756. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  3757. ^
  3758. /usr/local/include/OGRE/SdkTrays.h:1430:66: error: expected ‘;’ before ‘mElement’
  3759. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  3760. ^
  3761. /usr/local/include/OGRE/SdkTrays.h:1431:13: error: ‘mNamesArea’ was not declared in this scope
  3762. mNamesArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/ParamsPanelNames");
  3763. ^
  3764. /usr/local/include/OGRE/SdkTrays.h:1431:27: error: ‘TextAreaOverlayElement’ is not a member of ‘Ogre’
  3765. mNamesArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/ParamsPanelNames");
  3766. ^
  3767. /usr/local/include/OGRE/SdkTrays.h:1431:27: note: suggested alternative:
  3768. In file included from /usr/local/include/OGRE/SdkTrays.h:35:0,
  3769. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3770. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3771. /usr/local/include/OGRE/Overlay/OgreTextAreaOverlayElement.h:45:30: note: ‘Ogre::v1::TextAreaOverlayElement’
  3772. class _OgreOverlayExport TextAreaOverlayElement : public OverlayElement
  3773. ^
  3774. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3775. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3776. /usr/local/include/OGRE/SdkTrays.h:1431:56: error: expected primary-expression before ‘)’ token
  3777. mNamesArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/ParamsPanelNames");
  3778. ^
  3779. /usr/local/include/OGRE/SdkTrays.h:1431:57: error: expected ‘;’ before ‘c’
  3780. mNamesArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/ParamsPanelNames");
  3781. ^
  3782. /usr/local/include/OGRE/SdkTrays.h:1432:13: error: ‘mValuesArea’ was not declared in this scope
  3783. mValuesArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/ParamsPanelValues");
  3784. ^
  3785. /usr/local/include/OGRE/SdkTrays.h:1432:28: error: ‘TextAreaOverlayElement’ is not a member of ‘Ogre’
  3786. mValuesArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/ParamsPanelValues");
  3787. ^
  3788. /usr/local/include/OGRE/SdkTrays.h:1432:28: note: suggested alternative:
  3789. In file included from /usr/local/include/OGRE/SdkTrays.h:35:0,
  3790. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3791. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3792. /usr/local/include/OGRE/Overlay/OgreTextAreaOverlayElement.h:45:30: note: ‘Ogre::v1::TextAreaOverlayElement’
  3793. class _OgreOverlayExport TextAreaOverlayElement : public OverlayElement
  3794. ^
  3795. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3796. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3797. /usr/local/include/OGRE/SdkTrays.h:1432:57: error: expected primary-expression before ‘)’ token
  3798. mValuesArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/ParamsPanelValues");
  3799. ^
  3800. /usr/local/include/OGRE/SdkTrays.h:1432:58: error: expected ‘;’ before ‘c’
  3801. mValuesArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/ParamsPanelValues");
  3802. ^
  3803. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::ParamsPanel::setAllParamNames(const StringVector&)’:
  3804. /usr/local/include/OGRE/SdkTrays.h:1446:13: error: ‘mElement’ was not declared in this scope
  3805. mElement->setHeight(mNamesArea->getTop() * 2 + mNames.size() * mNamesArea->getCharHeight());
  3806. ^
  3807. /usr/local/include/OGRE/SdkTrays.h:1446:33: error: ‘mNamesArea’ was not declared in this scope
  3808. mElement->setHeight(mNamesArea->getTop() * 2 + mNames.size() * mNamesArea->getCharHeight());
  3809. ^
  3810. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3811. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3812. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::ParamsPanel::setParamValue(const int&, const int&)’:
  3813. /usr/local/include/OGRE/SdkTrays.h:55:49: error: request for member ‘asUTF8’ in ‘paramName’, which is of non-class type ‘const int’
  3814. # define DISPLAY_STRING_TO_STRING(DS) (DS.asUTF8())
  3815. ^
  3816. /usr/local/include/OGRE/SdkTrays.h:1466:34: note: in expansion of macro ‘DISPLAY_STRING_TO_STRING’
  3817. if (mNames[i] == DISPLAY_STRING_TO_STRING(paramName))
  3818. ^
  3819. /usr/local/include/OGRE/SdkTrays.h:55:49: error: request for member ‘asUTF8’ in ‘paramValue’, which is of non-class type ‘const int’
  3820. # define DISPLAY_STRING_TO_STRING(DS) (DS.asUTF8())
  3821. ^
  3822. /usr/local/include/OGRE/SdkTrays.h:1468:34: note: in expansion of macro ‘DISPLAY_STRING_TO_STRING’
  3823. mValues[i] = DISPLAY_STRING_TO_STRING(paramValue);
  3824. ^
  3825. /usr/local/include/OGRE/SdkTrays.h:55:49: error: request for member ‘asUTF8’ in ‘paramName’, which is of non-class type ‘const int’
  3826. # define DISPLAY_STRING_TO_STRING(DS) (DS.asUTF8())
  3827. ^
  3828. /usr/local/include/OGRE/SdkTrays.h:1474:91: note: in expansion of macro ‘DISPLAY_STRING_TO_STRING’
  3829. Ogre::String desc = "ParamsPanel \"" + getName() + "\" has no parameter \"" + DISPLAY_STRING_TO_STRING(paramName) + "\".";
  3830. ^
  3831. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::ParamsPanel::setParamValue(unsigned int, const int&)’:
  3832. /usr/local/include/OGRE/SdkTrays.h:55:49: error: request for member ‘asUTF8’ in ‘paramValue’, which is of non-class type ‘const int’
  3833. # define DISPLAY_STRING_TO_STRING(DS) (DS.asUTF8())
  3834. ^
  3835. /usr/local/include/OGRE/SdkTrays.h:1487:30: note: in expansion of macro ‘DISPLAY_STRING_TO_STRING’
  3836. mValues[index] = DISPLAY_STRING_TO_STRING(paramValue);
  3837. ^
  3838. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3839. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3840. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::ParamsPanel::updateText()’:
  3841. /usr/local/include/OGRE/SdkTrays.h:1527:13: error: ‘DisplayString’ is not a member of ‘Ogre’
  3842. Ogre::DisplayString namesDS;
  3843. ^
  3844. /usr/local/include/OGRE/SdkTrays.h:1527:13: note: suggested alternative:
  3845. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  3846. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  3847. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  3848. from /usr/local/include/OGRE/SdkTrays.h:34,
  3849. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3850. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3851. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:49:23: note: ‘Ogre::v1::DisplayString’
  3852. typedef UTFString DisplayString;
  3853. ^
  3854. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3855. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3856. /usr/local/include/OGRE/SdkTrays.h:1527:33: error: expected ‘;’ before ‘namesDS’
  3857. Ogre::DisplayString namesDS;
  3858. ^
  3859. /usr/local/include/OGRE/SdkTrays.h:1528:13: error: ‘DisplayString’ is not a member of ‘Ogre’
  3860. Ogre::DisplayString valuesDS;
  3861. ^
  3862. /usr/local/include/OGRE/SdkTrays.h:1528:13: note: suggested alternative:
  3863. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  3864. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  3865. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  3866. from /usr/local/include/OGRE/SdkTrays.h:34,
  3867. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3868. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3869. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:49:23: note: ‘Ogre::v1::DisplayString’
  3870. typedef UTFString DisplayString;
  3871. ^
  3872. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3873. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3874. /usr/local/include/OGRE/SdkTrays.h:1528:33: error: expected ‘;’ before ‘valuesDS’
  3875. Ogre::DisplayString valuesDS;
  3876. ^
  3877. /usr/local/include/OGRE/SdkTrays.h:1532:17: error: ‘namesDS’ was not declared in this scope
  3878. namesDS.append(mNames[i] + ":\n");
  3879. ^
  3880. /usr/local/include/OGRE/SdkTrays.h:1533:17: error: ‘valuesDS’ was not declared in this scope
  3881. valuesDS.append(mValues[i] + "\n");
  3882. ^
  3883. /usr/local/include/OGRE/SdkTrays.h:1536:13: error: ‘mNamesArea’ was not declared in this scope
  3884. mNamesArea->setCaption(namesDS);
  3885. ^
  3886. /usr/local/include/OGRE/SdkTrays.h:1536:36: error: ‘namesDS’ was not declared in this scope
  3887. mNamesArea->setCaption(namesDS);
  3888. ^
  3889. /usr/local/include/OGRE/SdkTrays.h:1537:13: error: ‘mValuesArea’ was not declared in this scope
  3890. mValuesArea->setCaption(valuesDS);
  3891. ^
  3892. /usr/local/include/OGRE/SdkTrays.h:1537:37: error: ‘valuesDS’ was not declared in this scope
  3893. mValuesArea->setCaption(valuesDS);
  3894. ^
  3895. /usr/local/include/OGRE/SdkTrays.h: At global scope:
  3896. /usr/local/include/OGRE/SdkTrays.h:1554:50: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  3897. CheckBox(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width)
  3898. ^
  3899. /usr/local/include/OGRE/SdkTrays.h:1554:71: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  3900. CheckBox(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width)
  3901. ^
  3902. /usr/local/include/OGRE/SdkTrays.h:1572:15: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  3903. const Ogre::DisplayString& getCaption()
  3904. ^
  3905. /usr/local/include/OGRE/SdkTrays.h:1577:31: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  3906. void setCaption(const Ogre::DisplayString& caption)
  3907. ^
  3908. /usr/local/include/OGRE/SdkTrays.h:1577:52: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  3909. void setCaption(const Ogre::DisplayString& caption)
  3910. ^
  3911. /usr/local/include/OGRE/SdkTrays.h:1636:9: error: ‘TextAreaOverlayElement’ in namespace ‘Ogre’ does not name a type
  3912. Ogre::TextAreaOverlayElement* mTextArea;
  3913. ^
  3914. /usr/local/include/OGRE/SdkTrays.h:1637:9: error: ‘BorderPanelOverlayElement’ in namespace ‘Ogre’ does not name a type
  3915. Ogre::BorderPanelOverlayElement* mSquare;
  3916. ^
  3917. /usr/local/include/OGRE/SdkTrays.h:1638:9: error: ‘OverlayElement’ in namespace ‘Ogre’ does not name a type
  3918. Ogre::OverlayElement* mX;
  3919. ^
  3920. /usr/local/include/OGRE/SdkTrays.h: In constructor ‘OgreBites::CheckBox::CheckBox(const String&, const int&, Ogre::Real)’:
  3921. /usr/local/include/OGRE/SdkTrays.h:1558:13: error: ‘mElement’ was not declared in this scope
  3922. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate
  3923. ^
  3924. /usr/local/include/OGRE/SdkTrays.h:1558:30: error: ‘Ogre::OverlayManager’ has not been declared
  3925. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate
  3926. ^
  3927. /usr/local/include/OGRE/SdkTrays.h:1560:13: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  3928. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  3929. ^
  3930. /usr/local/include/OGRE/SdkTrays.h:1560:13: note: suggested alternative:
  3931. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  3932. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  3933. from /usr/local/include/OGRE/SdkTrays.h:34,
  3934. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3935. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3936. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  3937. class _OgreOverlayExport OverlayContainer : public OverlayElement
  3938. ^
  3939. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3940. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3941. /usr/local/include/OGRE/SdkTrays.h:1560:37: error: ‘c’ was not declared in this scope
  3942. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  3943. ^
  3944. /usr/local/include/OGRE/SdkTrays.h:1560:42: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  3945. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  3946. ^
  3947. /usr/local/include/OGRE/SdkTrays.h:1560:42: note: suggested alternative:
  3948. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  3949. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  3950. from /usr/local/include/OGRE/SdkTrays.h:34,
  3951. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3952. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3953. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  3954. class _OgreOverlayExport OverlayContainer : public OverlayElement
  3955. ^
  3956. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3957. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3958. /usr/local/include/OGRE/SdkTrays.h:1560:65: error: expected primary-expression before ‘)’ token
  3959. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  3960. ^
  3961. /usr/local/include/OGRE/SdkTrays.h:1560:66: error: expected ‘;’ before ‘mElement’
  3962. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  3963. ^
  3964. /usr/local/include/OGRE/SdkTrays.h:1561:13: error: ‘mTextArea’ was not declared in this scope
  3965. mTextArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/CheckBoxCaption");
  3966. ^
  3967. /usr/local/include/OGRE/SdkTrays.h:1561:26: error: ‘TextAreaOverlayElement’ is not a member of ‘Ogre’
  3968. mTextArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/CheckBoxCaption");
  3969. ^
  3970. /usr/local/include/OGRE/SdkTrays.h:1561:26: note: suggested alternative:
  3971. In file included from /usr/local/include/OGRE/SdkTrays.h:35:0,
  3972. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3973. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3974. /usr/local/include/OGRE/Overlay/OgreTextAreaOverlayElement.h:45:30: note: ‘Ogre::v1::TextAreaOverlayElement’
  3975. class _OgreOverlayExport TextAreaOverlayElement : public OverlayElement
  3976. ^
  3977. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3978. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3979. /usr/local/include/OGRE/SdkTrays.h:1561:55: error: expected primary-expression before ‘)’ token
  3980. mTextArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/CheckBoxCaption");
  3981. ^
  3982. /usr/local/include/OGRE/SdkTrays.h:1561:56: error: expected ‘;’ before ‘c’
  3983. mTextArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/CheckBoxCaption");
  3984. ^
  3985. /usr/local/include/OGRE/SdkTrays.h:1562:13: error: ‘mSquare’ was not declared in this scope
  3986. mSquare = (Ogre::BorderPanelOverlayElement*)c->getChild(getName() + "/CheckBoxSquare");
  3987. ^
  3988. /usr/local/include/OGRE/SdkTrays.h:1562:24: error: ‘BorderPanelOverlayElement’ is not a member of ‘Ogre’
  3989. mSquare = (Ogre::BorderPanelOverlayElement*)c->getChild(getName() + "/CheckBoxSquare");
  3990. ^
  3991. /usr/local/include/OGRE/SdkTrays.h:1562:24: note: suggested alternative:
  3992. In file included from /usr/local/include/OGRE/SdkTrays.h:34:0,
  3993. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  3994. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  3995. /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:58:30: note: ‘Ogre::v1::BorderPanelOverlayElement’
  3996. class _OgreOverlayExport BorderPanelOverlayElement : public PanelOverlayElement
  3997. ^
  3998. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  3999. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4000. /usr/local/include/OGRE/SdkTrays.h:1562:56: error: expected primary-expression before ‘)’ token
  4001. mSquare = (Ogre::BorderPanelOverlayElement*)c->getChild(getName() + "/CheckBoxSquare");
  4002. ^
  4003. /usr/local/include/OGRE/SdkTrays.h:1562:57: error: expected ‘;’ before ‘c’
  4004. mSquare = (Ogre::BorderPanelOverlayElement*)c->getChild(getName() + "/CheckBoxSquare");
  4005. ^
  4006. /usr/local/include/OGRE/SdkTrays.h:1563:13: error: ‘mX’ was not declared in this scope
  4007. mX = mSquare->getChild(mSquare->getName() + "/CheckBoxX");
  4008. ^
  4009. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::CheckBox::setCaption(const int&)’:
  4010. /usr/local/include/OGRE/SdkTrays.h:1579:13: error: ‘mTextArea’ was not declared in this scope
  4011. mTextArea->setCaption(caption);
  4012. ^
  4013. /usr/local/include/OGRE/SdkTrays.h:1580:33: error: ‘mElement’ was not declared in this scope
  4014. if (mFitToContents) mElement->setWidth(getCaptionWidth(caption, mTextArea) + mSquare->getWidth() + 23);
  4015. ^
  4016. /usr/local/include/OGRE/SdkTrays.h:1580:90: error: ‘mSquare’ was not declared in this scope
  4017. if (mFitToContents) mElement->setWidth(getCaptionWidth(caption, mTextArea) + mSquare->getWidth() + 23);
  4018. ^
  4019. /usr/local/include/OGRE/SdkTrays.h: In member function ‘bool OgreBites::CheckBox::isChecked()’:
  4020. /usr/local/include/OGRE/SdkTrays.h:1585:20: error: ‘mX’ was not declared in this scope
  4021. return mX->isVisible();
  4022. ^
  4023. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::CheckBox::setChecked(bool, bool)’:
  4024. /usr/local/include/OGRE/SdkTrays.h:1590:26: error: ‘mX’ was not declared in this scope
  4025. if (checked) mX->show();
  4026. ^
  4027. /usr/local/include/OGRE/SdkTrays.h:1591:18: error: ‘mX’ was not declared in this scope
  4028. else mX->hide();
  4029. ^
  4030. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::CheckBox::_cursorMoved(const Ogre::Vector2&, float)’:
  4031. /usr/local/include/OGRE/SdkTrays.h:1607:30: error: ‘mSquare’ was not declared in this scope
  4032. if (isCursorOver(mSquare, cursorPos, 5))
  4033. ^
  4034. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::CheckBox::_focusLost()’:
  4035. /usr/local/include/OGRE/SdkTrays.h:1629:13: error: ‘mSquare’ was not declared in this scope
  4036. mSquare->setMaterialName("SdkTrays/MiniTextBox");
  4037. ^
  4038. /usr/local/include/OGRE/SdkTrays.h: In constructor ‘OgreBites::DecorWidget::DecorWidget(const String&, const String&)’:
  4039. /usr/local/include/OGRE/SdkTrays.h:1653:13: error: ‘mElement’ was not declared in this scope
  4040. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate(templateName, "", name);
  4041. ^
  4042. /usr/local/include/OGRE/SdkTrays.h:1653:30: error: ‘Ogre::OverlayManager’ has not been declared
  4043. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate(templateName, "", name);
  4044. ^
  4045. /usr/local/include/OGRE/SdkTrays.h: At global scope:
  4046. /usr/local/include/OGRE/SdkTrays.h:1665:53: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4047. ProgressBar(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width, Ogre::Real commentBoxWidth)
  4048. ^
  4049. /usr/local/include/OGRE/SdkTrays.h:1665:74: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  4050. ProgressBar(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width, Ogre::Real commentBoxWidth)
  4051. ^
  4052. /usr/local/include/OGRE/SdkTrays.h:1700:15: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4053. const Ogre::DisplayString& getCaption()
  4054. ^
  4055. /usr/local/include/OGRE/SdkTrays.h:1705:31: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4056. void setCaption(const Ogre::DisplayString& caption)
  4057. ^
  4058. /usr/local/include/OGRE/SdkTrays.h:1705:52: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  4059. void setCaption(const Ogre::DisplayString& caption)
  4060. ^
  4061. /usr/local/include/OGRE/SdkTrays.h:1710:15: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4062. const Ogre::DisplayString& getComment()
  4063. ^
  4064. /usr/local/include/OGRE/SdkTrays.h:1715:31: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4065. void setComment(const Ogre::DisplayString& comment)
  4066. ^
  4067. /usr/local/include/OGRE/SdkTrays.h:1715:52: error: ISO C++ forbids declaration of ‘comment’ with no type [-fpermissive]
  4068. void setComment(const Ogre::DisplayString& comment)
  4069. ^
  4070. /usr/local/include/OGRE/SdkTrays.h:1723:9: error: ‘TextAreaOverlayElement’ in namespace ‘Ogre’ does not name a type
  4071. Ogre::TextAreaOverlayElement* mTextArea;
  4072. ^
  4073. /usr/local/include/OGRE/SdkTrays.h:1724:9: error: ‘TextAreaOverlayElement’ in namespace ‘Ogre’ does not name a type
  4074. Ogre::TextAreaOverlayElement* mCommentTextArea;
  4075. ^
  4076. /usr/local/include/OGRE/SdkTrays.h:1725:9: error: ‘OverlayElement’ in namespace ‘Ogre’ does not name a type
  4077. Ogre::OverlayElement* mMeter;
  4078. ^
  4079. /usr/local/include/OGRE/SdkTrays.h:1726:9: error: ‘OverlayElement’ in namespace ‘Ogre’ does not name a type
  4080. Ogre::OverlayElement* mFill;
  4081. ^
  4082. /usr/local/include/OGRE/SdkTrays.h: In constructor ‘OgreBites::ProgressBar::ProgressBar(const String&, const int&, Ogre::Real, Ogre::Real)’:
  4083. /usr/local/include/OGRE/SdkTrays.h:1668:13: error: ‘mElement’ was not declared in this scope
  4084. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate
  4085. ^
  4086. /usr/local/include/OGRE/SdkTrays.h:1668:30: error: ‘Ogre::OverlayManager’ has not been declared
  4087. mElement = Ogre::OverlayManager::getSingleton().createOverlayElementFromTemplate
  4088. ^
  4089. /usr/local/include/OGRE/SdkTrays.h:1671:13: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  4090. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  4091. ^
  4092. /usr/local/include/OGRE/SdkTrays.h:1671:13: note: suggested alternative:
  4093. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  4094. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4095. from /usr/local/include/OGRE/SdkTrays.h:34,
  4096. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4097. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4098. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  4099. class _OgreOverlayExport OverlayContainer : public OverlayElement
  4100. ^
  4101. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4102. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4103. /usr/local/include/OGRE/SdkTrays.h:1671:37: error: ‘c’ was not declared in this scope
  4104. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  4105. ^
  4106. /usr/local/include/OGRE/SdkTrays.h:1671:42: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  4107. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  4108. ^
  4109. /usr/local/include/OGRE/SdkTrays.h:1671:42: note: suggested alternative:
  4110. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  4111. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4112. from /usr/local/include/OGRE/SdkTrays.h:34,
  4113. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4114. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4115. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  4116. class _OgreOverlayExport OverlayContainer : public OverlayElement
  4117. ^
  4118. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4119. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4120. /usr/local/include/OGRE/SdkTrays.h:1671:65: error: expected primary-expression before ‘)’ token
  4121. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  4122. ^
  4123. /usr/local/include/OGRE/SdkTrays.h:1671:66: error: expected ‘;’ before ‘mElement’
  4124. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)mElement;
  4125. ^
  4126. /usr/local/include/OGRE/SdkTrays.h:1672:13: error: ‘mTextArea’ was not declared in this scope
  4127. mTextArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/ProgressCaption");
  4128. ^
  4129. /usr/local/include/OGRE/SdkTrays.h:1672:26: error: ‘TextAreaOverlayElement’ is not a member of ‘Ogre’
  4130. mTextArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/ProgressCaption");
  4131. ^
  4132. /usr/local/include/OGRE/SdkTrays.h:1672:26: note: suggested alternative:
  4133. In file included from /usr/local/include/OGRE/SdkTrays.h:35:0,
  4134. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4135. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4136. /usr/local/include/OGRE/Overlay/OgreTextAreaOverlayElement.h:45:30: note: ‘Ogre::v1::TextAreaOverlayElement’
  4137. class _OgreOverlayExport TextAreaOverlayElement : public OverlayElement
  4138. ^
  4139. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4140. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4141. /usr/local/include/OGRE/SdkTrays.h:1672:55: error: expected primary-expression before ‘)’ token
  4142. mTextArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/ProgressCaption");
  4143. ^
  4144. /usr/local/include/OGRE/SdkTrays.h:1672:56: error: expected ‘;’ before ‘c’
  4145. mTextArea = (Ogre::TextAreaOverlayElement*)c->getChild(getName() + "/ProgressCaption");
  4146. ^
  4147. /usr/local/include/OGRE/SdkTrays.h:1673:13: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  4148. Ogre::OverlayContainer* commentBox = (Ogre::OverlayContainer*)c->getChild(getName() + "/ProgressCommentBox");
  4149. ^
  4150. /usr/local/include/OGRE/SdkTrays.h:1673:13: note: suggested alternative:
  4151. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  4152. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4153. from /usr/local/include/OGRE/SdkTrays.h:34,
  4154. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4155. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4156. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  4157. class _OgreOverlayExport OverlayContainer : public OverlayElement
  4158. ^
  4159. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4160. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4161. /usr/local/include/OGRE/SdkTrays.h:1673:37: error: ‘commentBox’ was not declared in this scope
  4162. Ogre::OverlayContainer* commentBox = (Ogre::OverlayContainer*)c->getChild(getName() + "/ProgressCommentBox");
  4163. ^
  4164. /usr/local/include/OGRE/SdkTrays.h:1673:51: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  4165. Ogre::OverlayContainer* commentBox = (Ogre::OverlayContainer*)c->getChild(getName() + "/ProgressCommentBox");
  4166. ^
  4167. /usr/local/include/OGRE/SdkTrays.h:1673:51: note: suggested alternative:
  4168. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  4169. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4170. from /usr/local/include/OGRE/SdkTrays.h:34,
  4171. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4172. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4173. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  4174. class _OgreOverlayExport OverlayContainer : public OverlayElement
  4175. ^
  4176. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4177. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4178. /usr/local/include/OGRE/SdkTrays.h:1673:74: error: expected primary-expression before ‘)’ token
  4179. Ogre::OverlayContainer* commentBox = (Ogre::OverlayContainer*)c->getChild(getName() + "/ProgressCommentBox");
  4180. ^
  4181. /usr/local/include/OGRE/SdkTrays.h:1673:75: error: expected ‘;’ before ‘c’
  4182. Ogre::OverlayContainer* commentBox = (Ogre::OverlayContainer*)c->getChild(getName() + "/ProgressCommentBox");
  4183. ^
  4184. /usr/local/include/OGRE/SdkTrays.h:1676:13: error: ‘mCommentTextArea’ was not declared in this scope
  4185. mCommentTextArea = (Ogre::TextAreaOverlayElement*)commentBox->getChild(commentBox->getName() + "/ProgressCommentText");
  4186. ^
  4187. /usr/local/include/OGRE/SdkTrays.h:1676:33: error: ‘TextAreaOverlayElement’ is not a member of ‘Ogre’
  4188. mCommentTextArea = (Ogre::TextAreaOverlayElement*)commentBox->getChild(commentBox->getName() + "/ProgressCommentText");
  4189. ^
  4190. /usr/local/include/OGRE/SdkTrays.h:1676:33: note: suggested alternative:
  4191. In file included from /usr/local/include/OGRE/SdkTrays.h:35:0,
  4192. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4193. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4194. /usr/local/include/OGRE/Overlay/OgreTextAreaOverlayElement.h:45:30: note: ‘Ogre::v1::TextAreaOverlayElement’
  4195. class _OgreOverlayExport TextAreaOverlayElement : public OverlayElement
  4196. ^
  4197. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4198. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4199. /usr/local/include/OGRE/SdkTrays.h:1676:62: error: expected primary-expression before ‘)’ token
  4200. mCommentTextArea = (Ogre::TextAreaOverlayElement*)commentBox->getChild(commentBox->getName() + "/ProgressCommentText");
  4201. ^
  4202. /usr/local/include/OGRE/SdkTrays.h:1676:63: error: expected ‘;’ before ‘commentBox’
  4203. mCommentTextArea = (Ogre::TextAreaOverlayElement*)commentBox->getChild(commentBox->getName() + "/ProgressCommentText");
  4204. ^
  4205. /usr/local/include/OGRE/SdkTrays.h:1677:13: error: ‘mMeter’ was not declared in this scope
  4206. mMeter = c->getChild(getName() + "/ProgressMeter");
  4207. ^
  4208. /usr/local/include/OGRE/SdkTrays.h:1679:13: error: ‘mFill’ was not declared in this scope
  4209. mFill = ((Ogre::OverlayContainer*)mMeter)->getChild(mMeter->getName() + "/ProgressFill");
  4210. ^
  4211. /usr/local/include/OGRE/SdkTrays.h:1679:23: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  4212. mFill = ((Ogre::OverlayContainer*)mMeter)->getChild(mMeter->getName() + "/ProgressFill");
  4213. ^
  4214. /usr/local/include/OGRE/SdkTrays.h:1679:23: note: suggested alternative:
  4215. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  4216. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4217. from /usr/local/include/OGRE/SdkTrays.h:34,
  4218. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4219. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4220. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  4221. class _OgreOverlayExport OverlayContainer : public OverlayElement
  4222. ^
  4223. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4224. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4225. /usr/local/include/OGRE/SdkTrays.h:1679:46: error: expected primary-expression before ‘)’ token
  4226. mFill = ((Ogre::OverlayContainer*)mMeter)->getChild(mMeter->getName() + "/ProgressFill");
  4227. ^
  4228. /usr/local/include/OGRE/SdkTrays.h:1679:47: error: expected ‘)’ before ‘mMeter’
  4229. mFill = ((Ogre::OverlayContainer*)mMeter)->getChild(mMeter->getName() + "/ProgressFill");
  4230. ^
  4231. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::ProgressBar::setProgress(Ogre::Real)’:
  4232. /usr/local/include/OGRE/SdkTrays.h:1689:13: error: ‘mFill’ was not declared in this scope
  4233. mFill->setWidth(std::max<int>((int)mFill->getHeight(), (int)(mProgress * (mMeter->getWidth() - 2 * mFill->getLeft()))));
  4234. ^
  4235. /usr/local/include/OGRE/SdkTrays.h:1689:87: error: ‘mMeter’ was not declared in this scope
  4236. mFill->setWidth(std::max<int>((int)mFill->getHeight(), (int)(mProgress * (mMeter->getWidth() - 2 * mFill->getLeft()))));
  4237. ^
  4238. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::ProgressBar::setCaption(const int&)’:
  4239. /usr/local/include/OGRE/SdkTrays.h:1707:13: error: ‘mTextArea’ was not declared in this scope
  4240. mTextArea->setCaption(caption);
  4241. ^
  4242. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::ProgressBar::setComment(const int&)’:
  4243. /usr/local/include/OGRE/SdkTrays.h:1717:13: error: ‘mCommentTextArea’ was not declared in this scope
  4244. mCommentTextArea->setCaption(comment);
  4245. ^
  4246. /usr/local/include/OGRE/SdkTrays.h: At global scope:
  4247. /usr/local/include/OGRE/SdkTrays.h:1854:9: error: ‘OverlayContainer’ in namespace ‘Ogre’ does not name a type
  4248. Ogre::OverlayContainer* getTrayContainer(TrayLocation trayLoc) { return mTrays[trayLoc]; }
  4249. ^
  4250. /usr/local/include/OGRE/SdkTrays.h:1855:9: error: ‘Overlay’ in namespace ‘Ogre’ does not name a type
  4251. Ogre::Overlay* getBackdropLayer() { return mBackdropLayer; }
  4252. ^
  4253. /usr/local/include/OGRE/SdkTrays.h:1856:9: error: ‘Overlay’ in namespace ‘Ogre’ does not name a type
  4254. Ogre::Overlay* getTraysLayer() { return mTraysLayer; }
  4255. ^
  4256. /usr/local/include/OGRE/SdkTrays.h:1857:9: error: ‘Overlay’ in namespace ‘Ogre’ does not name a type
  4257. Ogre::Overlay* getCursorLayer() { return mCursorLayer; }
  4258. ^
  4259. /usr/local/include/OGRE/SdkTrays.h:1858:9: error: ‘OverlayContainer’ in namespace ‘Ogre’ does not name a type
  4260. Ogre::OverlayContainer* getBackdropContainer() { return mBackdrop; }
  4261. ^
  4262. /usr/local/include/OGRE/SdkTrays.h:1859:9: error: ‘OverlayContainer’ in namespace ‘Ogre’ does not name a type
  4263. Ogre::OverlayContainer* getCursorContainer() { return mCursor; }
  4264. ^
  4265. /usr/local/include/OGRE/SdkTrays.h:1860:9: error: ‘OverlayElement’ in namespace ‘Ogre’ does not name a type
  4266. Ogre::OverlayElement* getCursorImage() { return mCursor->getChild(mCursor->getName() + "/CursorImage"); }
  4267. ^
  4268. /usr/local/include/OGRE/SdkTrays.h:1979:65: error: ‘Ogre::GuiHorizontalAlignment’ has not been declared
  4269. void setTrayWidgetAlignment(TrayLocation trayLoc, Ogre::GuiHorizontalAlignment gha)
  4270. ^
  4271. /usr/local/include/OGRE/SdkTrays.h:2123:86: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4272. TextBox* createTextBox(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption,
  4273. ^
  4274. /usr/local/include/OGRE/SdkTrays.h:2123:107: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  4275. TextBox* createTextBox(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption,
  4276. ^
  4277. /usr/local/include/OGRE/SdkTrays.h:2132:97: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4278. SelectMenu* createThickSelectMenu(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption,
  4279. ^
  4280. /usr/local/include/OGRE/SdkTrays.h:2132:118: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  4281. SelectMenu* createThickSelectMenu(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption,
  4282. ^
  4283. /usr/local/include/OGRE/SdkTrays.h:2142:96: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4284. SelectMenu* createLongSelectMenu(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption,
  4285. ^
  4286. /usr/local/include/OGRE/SdkTrays.h:2142:117: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  4287. SelectMenu* createLongSelectMenu(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption,
  4288. ^
  4289. /usr/local/include/OGRE/SdkTrays.h:2152:96: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4290. SelectMenu* createLongSelectMenu(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption,
  4291. ^
  4292. /usr/local/include/OGRE/SdkTrays.h:2152:117: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  4293. SelectMenu* createLongSelectMenu(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption,
  4294. ^
  4295. /usr/local/include/OGRE/SdkTrays.h:2158:82: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4296. Label* createLabel(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width = 0)
  4297. ^
  4298. /usr/local/include/OGRE/SdkTrays.h:2158:103: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  4299. Label* createLabel(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width = 0)
  4300. ^
  4301. /usr/local/include/OGRE/SdkTrays.h:2173:89: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4302. Slider* createThickSlider(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption,
  4303. ^
  4304. /usr/local/include/OGRE/SdkTrays.h:2173:110: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  4305. Slider* createThickSlider(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption,
  4306. ^
  4307. /usr/local/include/OGRE/SdkTrays.h:2182:88: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4308. Slider* createLongSlider(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width,
  4309. ^
  4310. /usr/local/include/OGRE/SdkTrays.h:2182:109: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  4311. Slider* createLongSlider(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width,
  4312. ^
  4313. /usr/local/include/OGRE/SdkTrays.h:2192:88: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4314. Slider* createLongSlider(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption,
  4315. ^
  4316. /usr/local/include/OGRE/SdkTrays.h:2192:109: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  4317. Slider* createLongSlider(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption,
  4318. ^
  4319. /usr/local/include/OGRE/SdkTrays.h:2214:88: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4320. CheckBox* createCheckBox(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption,
  4321. ^
  4322. /usr/local/include/OGRE/SdkTrays.h:2214:109: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  4323. CheckBox* createCheckBox(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption,
  4324. ^
  4325. /usr/local/include/OGRE/SdkTrays.h:2230:94: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4326. ProgressBar* createProgressBar(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption,
  4327. ^
  4328. /usr/local/include/OGRE/SdkTrays.h:2230:115: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  4329. ProgressBar* createProgressBar(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption,
  4330. ^
  4331. /usr/local/include/OGRE/SdkTrays.h:2381:33: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4332. void showOkDialog(const Ogre::DisplayString& caption, const Ogre::DisplayString& message)
  4333. ^
  4334. /usr/local/include/OGRE/SdkTrays.h:2381:54: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  4335. void showOkDialog(const Ogre::DisplayString& caption, const Ogre::DisplayString& message)
  4336. ^
  4337. /usr/local/include/OGRE/SdkTrays.h:2381:69: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4338. void showOkDialog(const Ogre::DisplayString& caption, const Ogre::DisplayString& message)
  4339. ^
  4340. /usr/local/include/OGRE/SdkTrays.h:2381:90: error: ISO C++ forbids declaration of ‘message’ with no type [-fpermissive]
  4341. void showOkDialog(const Ogre::DisplayString& caption, const Ogre::DisplayString& message)
  4342. ^
  4343. /usr/local/include/OGRE/SdkTrays.h:2440:36: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4344. void showYesNoDialog(const Ogre::DisplayString& caption, const Ogre::DisplayString& question)
  4345. ^
  4346. /usr/local/include/OGRE/SdkTrays.h:2440:57: error: ISO C++ forbids declaration of ‘caption’ with no type [-fpermissive]
  4347. void showYesNoDialog(const Ogre::DisplayString& caption, const Ogre::DisplayString& question)
  4348. ^
  4349. /usr/local/include/OGRE/SdkTrays.h:2440:72: error: ‘DisplayString’ in namespace ‘Ogre’ does not name a type
  4350. void showYesNoDialog(const Ogre::DisplayString& caption, const Ogre::DisplayString& question)
  4351. ^
  4352. /usr/local/include/OGRE/SdkTrays.h:2440:93: error: ISO C++ forbids declaration of ‘question’ with no type [-fpermissive]
  4353. void showYesNoDialog(const Ogre::DisplayString& caption, const Ogre::DisplayString& question)
  4354. ^
  4355. /usr/local/include/OGRE/SdkTrays.h:3131:9: error: ‘Overlay’ in namespace ‘Ogre’ does not name a type
  4356. Ogre::Overlay* mBackdropLayer; // backdrop layer
  4357. ^
  4358. /usr/local/include/OGRE/SdkTrays.h:3132:9: error: ‘Overlay’ in namespace ‘Ogre’ does not name a type
  4359. Ogre::Overlay* mTraysLayer; // widget layer
  4360. ^
  4361. /usr/local/include/OGRE/SdkTrays.h:3133:9: error: ‘Overlay’ in namespace ‘Ogre’ does not name a type
  4362. Ogre::Overlay* mPriorityLayer; // top priority layer
  4363. ^
  4364. /usr/local/include/OGRE/SdkTrays.h:3134:9: error: ‘Overlay’ in namespace ‘Ogre’ does not name a type
  4365. Ogre::Overlay* mCursorLayer; // cursor layer
  4366. ^
  4367. /usr/local/include/OGRE/SdkTrays.h:3135:9: error: ‘OverlayContainer’ in namespace ‘Ogre’ does not name a type
  4368. Ogre::OverlayContainer* mBackdrop; // backdrop
  4369. ^
  4370. /usr/local/include/OGRE/SdkTrays.h:3136:9: error: ‘OverlayContainer’ in namespace ‘Ogre’ does not name a type
  4371. Ogre::OverlayContainer* mTrays[10]; // widget trays
  4372. ^
  4373. /usr/local/include/OGRE/SdkTrays.h:3139:9: error: ‘OverlayContainer’ in namespace ‘Ogre’ does not name a type
  4374. Ogre::OverlayContainer* mCursor; // cursor
  4375. ^
  4376. /usr/local/include/OGRE/SdkTrays.h:3147:9: error: ‘OverlayContainer’ in namespace ‘Ogre’ does not name a type
  4377. Ogre::OverlayContainer* mDialogShade; // top priority dialog shade
  4378. ^
  4379. /usr/local/include/OGRE/SdkTrays.h:3159:9: error: ‘GuiHorizontalAlignment’ in namespace ‘Ogre’ does not name a type
  4380. Ogre::GuiHorizontalAlignment mTrayWidgetAlign[10]; // tray widget alignments
  4381. ^
  4382. /usr/local/include/OGRE/SdkTrays.h: In constructor ‘OgreBites::SdkTrayManager::SdkTrayManager(const String&, Ogre::RenderWindow*, OgreBites::InputContext, OgreBites::SdkTrayListener*)’:
  4383. /usr/local/include/OGRE/SdkTrays.h:1749:13: error: ‘OverlayManager’ is not a member of ‘Ogre’
  4384. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  4385. ^
  4386. /usr/local/include/OGRE/SdkTrays.h:1749:13: note: suggested alternative:
  4387. In file included from /usr/local/include/OGRE/SdkTrays.h:33:0,
  4388. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4389. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4390. /usr/local/include/OGRE/Overlay/OgreOverlayManager.h:52:30: note: ‘Ogre::v1::OverlayManager’
  4391. class _OgreOverlayExport OverlayManager : public Singleton<OverlayManager>, public ScriptLoader, public OverlayAlloc
  4392. ^
  4393. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4394. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4395. /usr/local/include/OGRE/SdkTrays.h:1749:35: error: ‘om’ was not declared in this scope
  4396. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  4397. ^
  4398. /usr/local/include/OGRE/SdkTrays.h:1749:46: error: ‘Ogre::OverlayManager’ has not been declared
  4399. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  4400. ^
  4401. /usr/local/include/OGRE/SdkTrays.h:1755:13: error: ‘mBackdropLayer’ was not declared in this scope
  4402. mBackdropLayer = om.create(nameBase + "BackdropLayer");
  4403. ^
  4404. /usr/local/include/OGRE/SdkTrays.h:1756:13: error: ‘mTraysLayer’ was not declared in this scope
  4405. mTraysLayer = om.create(nameBase + "WidgetsLayer");
  4406. ^
  4407. /usr/local/include/OGRE/SdkTrays.h:1757:13: error: ‘mPriorityLayer’ was not declared in this scope
  4408. mPriorityLayer = om.create(nameBase + "PriorityLayer");
  4409. ^
  4410. /usr/local/include/OGRE/SdkTrays.h:1758:13: error: ‘mCursorLayer’ was not declared in this scope
  4411. mCursorLayer = om.create(nameBase + "CursorLayer");
  4412. ^
  4413. /usr/local/include/OGRE/SdkTrays.h:1765:13: error: ‘mCursor’ was not declared in this scope
  4414. mCursor = (Ogre::OverlayContainer*)om.createOverlayElementFromTemplate("SdkTrays/Cursor", "Panel", nameBase + "Cursor");
  4415. ^
  4416. /usr/local/include/OGRE/SdkTrays.h:1765:24: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  4417. mCursor = (Ogre::OverlayContainer*)om.createOverlayElementFromTemplate("SdkTrays/Cursor", "Panel", nameBase + "Cursor");
  4418. ^
  4419. /usr/local/include/OGRE/SdkTrays.h:1765:24: note: suggested alternative:
  4420. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  4421. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4422. from /usr/local/include/OGRE/SdkTrays.h:34,
  4423. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4424. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4425. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  4426. class _OgreOverlayExport OverlayContainer : public OverlayElement
  4427. ^
  4428. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4429. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4430. /usr/local/include/OGRE/SdkTrays.h:1765:47: error: expected primary-expression before ‘)’ token
  4431. mCursor = (Ogre::OverlayContainer*)om.createOverlayElementFromTemplate("SdkTrays/Cursor", "Panel", nameBase + "Cursor");
  4432. ^
  4433. /usr/local/include/OGRE/SdkTrays.h:1765:48: error: expected ‘;’ before ‘om’
  4434. mCursor = (Ogre::OverlayContainer*)om.createOverlayElementFromTemplate("SdkTrays/Cursor", "Panel", nameBase + "Cursor");
  4435. ^
  4436. /usr/local/include/OGRE/SdkTrays.h:1767:13: error: ‘mBackdrop’ was not declared in this scope
  4437. mBackdrop = (Ogre::OverlayContainer*)om.createOverlayElement("Panel", nameBase + "Backdrop");
  4438. ^
  4439. /usr/local/include/OGRE/SdkTrays.h:1767:26: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  4440. mBackdrop = (Ogre::OverlayContainer*)om.createOverlayElement("Panel", nameBase + "Backdrop");
  4441. ^
  4442. /usr/local/include/OGRE/SdkTrays.h:1767:26: note: suggested alternative:
  4443. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  4444. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4445. from /usr/local/include/OGRE/SdkTrays.h:34,
  4446. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4447. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4448. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  4449. class _OgreOverlayExport OverlayContainer : public OverlayElement
  4450. ^
  4451. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4452. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4453. /usr/local/include/OGRE/SdkTrays.h:1767:49: error: expected primary-expression before ‘)’ token
  4454. mBackdrop = (Ogre::OverlayContainer*)om.createOverlayElement("Panel", nameBase + "Backdrop");
  4455. ^
  4456. /usr/local/include/OGRE/SdkTrays.h:1767:50: error: expected ‘;’ before ‘om’
  4457. mBackdrop = (Ogre::OverlayContainer*)om.createOverlayElement("Panel", nameBase + "Backdrop");
  4458. ^
  4459. /usr/local/include/OGRE/SdkTrays.h:1769:13: error: ‘mDialogShade’ was not declared in this scope
  4460. mDialogShade = (Ogre::OverlayContainer*)om.createOverlayElement("Panel", nameBase + "DialogShade");
  4461. ^
  4462. /usr/local/include/OGRE/SdkTrays.h:1769:29: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  4463. mDialogShade = (Ogre::OverlayContainer*)om.createOverlayElement("Panel", nameBase + "DialogShade");
  4464. ^
  4465. /usr/local/include/OGRE/SdkTrays.h:1769:29: note: suggested alternative:
  4466. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  4467. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4468. from /usr/local/include/OGRE/SdkTrays.h:34,
  4469. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4470. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4471. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  4472. class _OgreOverlayExport OverlayContainer : public OverlayElement
  4473. ^
  4474. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4475. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4476. /usr/local/include/OGRE/SdkTrays.h:1769:52: error: expected primary-expression before ‘)’ token
  4477. mDialogShade = (Ogre::OverlayContainer*)om.createOverlayElement("Panel", nameBase + "DialogShade");
  4478. ^
  4479. /usr/local/include/OGRE/SdkTrays.h:1769:53: error: expected ‘;’ before ‘om’
  4480. mDialogShade = (Ogre::OverlayContainer*)om.createOverlayElement("Panel", nameBase + "DialogShade");
  4481. ^
  4482. /usr/local/include/OGRE/SdkTrays.h:1779:17: error: ‘mTrays’ was not declared in this scope
  4483. mTrays[i] = (Ogre::OverlayContainer*)om.createOverlayElementFromTemplate
  4484. ^
  4485. /usr/local/include/OGRE/SdkTrays.h:1779:30: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  4486. mTrays[i] = (Ogre::OverlayContainer*)om.createOverlayElementFromTemplate
  4487. ^
  4488. /usr/local/include/OGRE/SdkTrays.h:1779:30: note: suggested alternative:
  4489. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  4490. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4491. from /usr/local/include/OGRE/SdkTrays.h:34,
  4492. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4493. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4494. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  4495. class _OgreOverlayExport OverlayContainer : public OverlayElement
  4496. ^
  4497. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4498. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4499. /usr/local/include/OGRE/SdkTrays.h:1779:53: error: expected primary-expression before ‘)’ token
  4500. mTrays[i] = (Ogre::OverlayContainer*)om.createOverlayElementFromTemplate
  4501. ^
  4502. /usr/local/include/OGRE/SdkTrays.h:1779:54: error: expected ‘;’ before ‘om’
  4503. mTrays[i] = (Ogre::OverlayContainer*)om.createOverlayElementFromTemplate
  4504. ^
  4505. /usr/local/include/OGRE/SdkTrays.h:1783:17: error: ‘mTrayWidgetAlign’ was not declared in this scope
  4506. mTrayWidgetAlign[i] = Ogre::GHA_CENTER;
  4507. ^
  4508. /usr/local/include/OGRE/SdkTrays.h:1783:39: error: ‘GHA_CENTER’ is not a member of ‘Ogre’
  4509. mTrayWidgetAlign[i] = Ogre::GHA_CENTER;
  4510. ^
  4511. /usr/local/include/OGRE/SdkTrays.h:1783:39: note: suggested alternative:
  4512. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  4513. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  4514. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4515. from /usr/local/include/OGRE/SdkTrays.h:34,
  4516. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4517. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4518. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:73:9: note: ‘GHA_CENTER’
  4519. GHA_CENTER,
  4520. ^
  4521. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4522. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4523. /usr/local/include/OGRE/SdkTrays.h:1786:104: error: ‘GHA_CENTER’ is not a member of ‘Ogre’
  4524. if (i == TL_TOP || i == TL_CENTER || i == TL_BOTTOM) mTrays[i]->setHorizontalAlignment(Ogre::GHA_CENTER);
  4525. ^
  4526. /usr/local/include/OGRE/SdkTrays.h:1786:104: note: suggested alternative:
  4527. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  4528. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  4529. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4530. from /usr/local/include/OGRE/SdkTrays.h:34,
  4531. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4532. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4533. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:73:9: note: ‘GHA_CENTER’
  4534. GHA_CENTER,
  4535. ^
  4536. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4537. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4538. /usr/local/include/OGRE/SdkTrays.h:1787:102: error: ‘GVA_CENTER’ is not a member of ‘Ogre’
  4539. if (i == TL_LEFT || i == TL_CENTER || i == TL_RIGHT) mTrays[i]->setVerticalAlignment(Ogre::GVA_CENTER);
  4540. ^
  4541. /usr/local/include/OGRE/SdkTrays.h:1787:102: note: suggested alternative:
  4542. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  4543. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  4544. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4545. from /usr/local/include/OGRE/SdkTrays.h:34,
  4546. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4547. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4548. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:82:9: note: ‘GVA_CENTER’
  4549. GVA_CENTER,
  4550. ^
  4551. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4552. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4553. /usr/local/include/OGRE/SdkTrays.h:1788:113: error: ‘GHA_RIGHT’ is not a member of ‘Ogre’
  4554. if (i == TL_TOPRIGHT || i == TL_RIGHT || i == TL_BOTTOMRIGHT) mTrays[i]->setHorizontalAlignment(Ogre::GHA_RIGHT);
  4555. ^
  4556. /usr/local/include/OGRE/SdkTrays.h:1788:113: note: suggested alternative:
  4557. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  4558. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  4559. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4560. from /usr/local/include/OGRE/SdkTrays.h:34,
  4561. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4562. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4563. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:74:9: note: ‘GHA_RIGHT’
  4564. GHA_RIGHT
  4565. ^
  4566. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4567. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4568. /usr/local/include/OGRE/SdkTrays.h:1789:114: error: ‘GVA_BOTTOM’ is not a member of ‘Ogre’
  4569. if (i == TL_BOTTOMLEFT || i == TL_BOTTOM || i == TL_BOTTOMRIGHT) mTrays[i]->setVerticalAlignment(Ogre::GVA_BOTTOM);
  4570. ^
  4571. /usr/local/include/OGRE/SdkTrays.h:1789:114: note: suggested alternative:
  4572. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  4573. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  4574. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4575. from /usr/local/include/OGRE/SdkTrays.h:34,
  4576. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4577. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4578. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:83:9: note: ‘GVA_BOTTOM’
  4579. GVA_BOTTOM
  4580. ^
  4581. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4582. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4583. /usr/local/include/OGRE/SdkTrays.h:1793:13: error: ‘mTrays’ was not declared in this scope
  4584. mTrays[9] = (Ogre::OverlayContainer*)om.createOverlayElement("Panel", nameBase + "NullTray");
  4585. ^
  4586. /usr/local/include/OGRE/SdkTrays.h:1793:26: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  4587. mTrays[9] = (Ogre::OverlayContainer*)om.createOverlayElement("Panel", nameBase + "NullTray");
  4588. ^
  4589. /usr/local/include/OGRE/SdkTrays.h:1793:26: note: suggested alternative:
  4590. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  4591. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4592. from /usr/local/include/OGRE/SdkTrays.h:34,
  4593. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4594. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4595. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  4596. class _OgreOverlayExport OverlayContainer : public OverlayElement
  4597. ^
  4598. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4599. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4600. /usr/local/include/OGRE/SdkTrays.h:1793:49: error: expected primary-expression before ‘)’ token
  4601. mTrays[9] = (Ogre::OverlayContainer*)om.createOverlayElement("Panel", nameBase + "NullTray");
  4602. ^
  4603. /usr/local/include/OGRE/SdkTrays.h:1793:50: error: expected ‘;’ before ‘om’
  4604. mTrays[9] = (Ogre::OverlayContainer*)om.createOverlayElement("Panel", nameBase + "NullTray");
  4605. ^
  4606. /usr/local/include/OGRE/SdkTrays.h:1794:13: error: ‘mTrayWidgetAlign’ was not declared in this scope
  4607. mTrayWidgetAlign[9] = Ogre::GHA_LEFT;
  4608. ^
  4609. /usr/local/include/OGRE/SdkTrays.h:1794:35: error: ‘GHA_LEFT’ is not a member of ‘Ogre’
  4610. mTrayWidgetAlign[9] = Ogre::GHA_LEFT;
  4611. ^
  4612. /usr/local/include/OGRE/SdkTrays.h:1794:35: note: suggested alternative:
  4613. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  4614. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  4615. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4616. from /usr/local/include/OGRE/SdkTrays.h:34,
  4617. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4618. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4619. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:72:9: note: ‘GHA_LEFT’
  4620. GHA_LEFT,
  4621. ^
  4622. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4623. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4624. /usr/local/include/OGRE/SdkTrays.h: In destructor ‘virtual OgreBites::SdkTrayManager::~SdkTrayManager()’:
  4625. /usr/local/include/OGRE/SdkTrays.h:1807:13: error: ‘OverlayManager’ is not a member of ‘Ogre’
  4626. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  4627. ^
  4628. /usr/local/include/OGRE/SdkTrays.h:1807:13: note: suggested alternative:
  4629. In file included from /usr/local/include/OGRE/SdkTrays.h:33:0,
  4630. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4631. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4632. /usr/local/include/OGRE/Overlay/OgreOverlayManager.h:52:30: note: ‘Ogre::v1::OverlayManager’
  4633. class _OgreOverlayExport OverlayManager : public Singleton<OverlayManager>, public ScriptLoader, public OverlayAlloc
  4634. ^
  4635. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4636. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4637. /usr/local/include/OGRE/SdkTrays.h:1807:35: error: ‘om’ was not declared in this scope
  4638. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  4639. ^
  4640. /usr/local/include/OGRE/SdkTrays.h:1807:46: error: ‘Ogre::OverlayManager’ has not been declared
  4641. Ogre::OverlayManager& om = Ogre::OverlayManager::getSingleton();
  4642. ^
  4643. /usr/local/include/OGRE/SdkTrays.h:1817:24: error: ‘mBackdropLayer’ was not declared in this scope
  4644. om.destroy(mBackdropLayer);
  4645. ^
  4646. /usr/local/include/OGRE/SdkTrays.h:1818:24: error: ‘mTraysLayer’ was not declared in this scope
  4647. om.destroy(mTraysLayer);
  4648. ^
  4649. /usr/local/include/OGRE/SdkTrays.h:1819:24: error: ‘mPriorityLayer’ was not declared in this scope
  4650. om.destroy(mPriorityLayer);
  4651. ^
  4652. /usr/local/include/OGRE/SdkTrays.h:1820:24: error: ‘mCursorLayer’ was not declared in this scope
  4653. om.destroy(mCursorLayer);
  4654. ^
  4655. /usr/local/include/OGRE/SdkTrays.h:1825:40: error: ‘mBackdrop’ was not declared in this scope
  4656. Widget::nukeOverlayElement(mBackdrop);
  4657. ^
  4658. /usr/local/include/OGRE/SdkTrays.h:1826:40: error: ‘mCursor’ was not declared in this scope
  4659. Widget::nukeOverlayElement(mCursor);
  4660. ^
  4661. /usr/local/include/OGRE/SdkTrays.h:1827:40: error: ‘mDialogShade’ was not declared in this scope
  4662. Widget::nukeOverlayElement(mDialogShade);
  4663. ^
  4664. /usr/local/include/OGRE/SdkTrays.h:1831:44: error: ‘mTrays’ was not declared in this scope
  4665. Widget::nukeOverlayElement(mTrays[i]);
  4666. ^
  4667. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SdkTrayManager::showBackdrop(const String&)’:
  4668. /usr/local/include/OGRE/SdkTrays.h:1892:52: error: ‘mBackdrop’ was not declared in this scope
  4669. if (materialName != Ogre::BLANKSTRING) mBackdrop->setMaterialName(materialName);
  4670. ^
  4671. /usr/local/include/OGRE/SdkTrays.h:1893:13: error: ‘mBackdropLayer’ was not declared in this scope
  4672. mBackdropLayer->show();
  4673. ^
  4674. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SdkTrayManager::hideBackdrop()’:
  4675. /usr/local/include/OGRE/SdkTrays.h:1898:13: error: ‘mBackdropLayer’ was not declared in this scope
  4676. mBackdropLayer->hide();
  4677. ^
  4678. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SdkTrayManager::showCursor(const String&)’:
  4679. /usr/local/include/OGRE/SdkTrays.h:1907:67: error: ‘getCursorImage’ was not declared in this scope
  4680. if (materialName != Ogre::BLANKSTRING) getCursorImage()->setMaterialName(materialName);
  4681. ^
  4682. /usr/local/include/OGRE/SdkTrays.h:1909:18: error: ‘mCursorLayer’ was not declared in this scope
  4683. if (!mCursorLayer->isVisible())
  4684. ^
  4685. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SdkTrayManager::hideCursor()’:
  4686. /usr/local/include/OGRE/SdkTrays.h:1918:13: error: ‘mCursorLayer’ was not declared in this scope
  4687. mCursorLayer->hide();
  4688. ^
  4689. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SdkTrayManager::refreshCursor()’:
  4690. /usr/local/include/OGRE/SdkTrays.h:1946:17: error: ‘mCursor’ was not declared in this scope
  4691. mCursor->setPosition(x, y);
  4692. ^
  4693. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SdkTrayManager::showTrays()’:
  4694. /usr/local/include/OGRE/SdkTrays.h:1951:13: error: ‘mTraysLayer’ was not declared in this scope
  4695. mTraysLayer->show();
  4696. ^
  4697. /usr/local/include/OGRE/SdkTrays.h:1952:13: error: ‘mPriorityLayer’ was not declared in this scope
  4698. mPriorityLayer->show();
  4699. ^
  4700. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SdkTrayManager::hideTrays()’:
  4701. /usr/local/include/OGRE/SdkTrays.h:1957:13: error: ‘mTraysLayer’ was not declared in this scope
  4702. mTraysLayer->hide();
  4703. ^
  4704. /usr/local/include/OGRE/SdkTrays.h:1958:13: error: ‘mPriorityLayer’ was not declared in this scope
  4705. mPriorityLayer->hide();
  4706. ^
  4707. /usr/local/include/OGRE/SdkTrays.h: In member function ‘bool OgreBites::SdkTrayManager::isCursorVisible()’:
  4708. /usr/local/include/OGRE/SdkTrays.h:1972:41: error: ‘mCursorLayer’ was not declared in this scope
  4709. bool isCursorVisible() { return mCursorLayer->isVisible(); }
  4710. ^
  4711. /usr/local/include/OGRE/SdkTrays.h: In member function ‘bool OgreBites::SdkTrayManager::isBackdropVisible()’:
  4712. /usr/local/include/OGRE/SdkTrays.h:1973:43: error: ‘mBackdropLayer’ was not declared in this scope
  4713. bool isBackdropVisible() { return mBackdropLayer->isVisible(); }
  4714. ^
  4715. /usr/local/include/OGRE/SdkTrays.h: In member function ‘bool OgreBites::SdkTrayManager::areTraysVisible()’:
  4716. /usr/local/include/OGRE/SdkTrays.h:1974:41: error: ‘mTraysLayer’ was not declared in this scope
  4717. bool areTraysVisible() { return mTraysLayer->isVisible(); }
  4718. ^
  4719. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SdkTrayManager::setTrayWidgetAlignment(OgreBites::TrayLocation, int)’:
  4720. /usr/local/include/OGRE/SdkTrays.h:1981:13: error: ‘mTrayWidgetAlign’ was not declared in this scope
  4721. mTrayWidgetAlign[trayLoc] = gha;
  4722. ^
  4723. /usr/local/include/OGRE/SdkTrays.h:1985:39: error: ‘class OgreBites::Widget’ has no member named ‘getOverlayElement’
  4724. mWidgets[trayLoc][i]->getOverlayElement()->setHorizontalAlignment(gha);
  4725. ^
  4726. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::SdkTrayManager::adjustTrays()’:
  4727. /usr/local/include/OGRE/SdkTrays.h:2021:29: error: ‘OverlayElement’ is not a member of ‘Ogre’
  4728. std::vector<Ogre::OverlayElement*> labelsAndSeps;
  4729. ^
  4730. /usr/local/include/OGRE/SdkTrays.h:2021:29: note: suggested alternative:
  4731. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  4732. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  4733. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4734. from /usr/local/include/OGRE/SdkTrays.h:34,
  4735. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4736. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4737. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:107:30: note: ‘Ogre::v1::OverlayElement’
  4738. class _OgreOverlayExport OverlayElement : public StringInterface, public Renderable, public OverlayAlloc
  4739. ^
  4740. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4741. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4742. /usr/local/include/OGRE/SdkTrays.h:2021:29: error: ‘OverlayElement’ is not a member of ‘Ogre’
  4743. std::vector<Ogre::OverlayElement*> labelsAndSeps;
  4744. ^
  4745. /usr/local/include/OGRE/SdkTrays.h:2021:29: note: suggested alternative:
  4746. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  4747. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  4748. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4749. from /usr/local/include/OGRE/SdkTrays.h:34,
  4750. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4751. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4752. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:107:30: note: ‘Ogre::v1::OverlayElement’
  4753. class _OgreOverlayExport OverlayElement : public StringInterface, public Renderable, public OverlayAlloc
  4754. ^
  4755. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4756. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4757. /usr/local/include/OGRE/SdkTrays.h:2021:50: error: template argument 1 is invalid
  4758. std::vector<Ogre::OverlayElement*> labelsAndSeps;
  4759. ^
  4760. /usr/local/include/OGRE/SdkTrays.h:2021:50: error: template argument 2 is invalid
  4761. /usr/local/include/OGRE/SdkTrays.h:2021:65: error: invalid type in declaration before ‘;’ token
  4762. std::vector<Ogre::OverlayElement*> labelsAndSeps;
  4763. ^
  4764. /usr/local/include/OGRE/SdkTrays.h:2025:21: error: ‘mTrays’ was not declared in this scope
  4765. mTrays[i]->hide();
  4766. ^
  4767. /usr/local/include/OGRE/SdkTrays.h:2028:22: error: ‘mTrays’ was not declared in this scope
  4768. else mTrays[i]->show();
  4769. ^
  4770. /usr/local/include/OGRE/SdkTrays.h:2033:21: error: ‘OverlayElement’ is not a member of ‘Ogre’
  4771. Ogre::OverlayElement* e = mWidgets[i][j]->getOverlayElement();
  4772. ^
  4773. /usr/local/include/OGRE/SdkTrays.h:2033:21: note: suggested alternative:
  4774. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  4775. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  4776. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4777. from /usr/local/include/OGRE/SdkTrays.h:34,
  4778. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4779. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4780. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:107:30: note: ‘Ogre::v1::OverlayElement’
  4781. class _OgreOverlayExport OverlayElement : public StringInterface, public Renderable, public OverlayAlloc
  4782. ^
  4783. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4784. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4785. /usr/local/include/OGRE/SdkTrays.h:2033:43: error: ‘e’ was not declared in this scope
  4786. Ogre::OverlayElement* e = mWidgets[i][j]->getOverlayElement();
  4787. ^
  4788. /usr/local/include/OGRE/SdkTrays.h:2033:63: error: ‘class OgreBites::Widget’ has no member named ‘getOverlayElement’
  4789. Ogre::OverlayElement* e = mWidgets[i][j]->getOverlayElement();
  4790. ^
  4791. /usr/local/include/OGRE/SdkTrays.h:2037:45: error: ‘GVA_TOP’ is not a member of ‘Ogre’
  4792. e->setVerticalAlignment(Ogre::GVA_TOP);
  4793. ^
  4794. /usr/local/include/OGRE/SdkTrays.h:2037:45: note: suggested alternative:
  4795. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  4796. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  4797. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4798. from /usr/local/include/OGRE/SdkTrays.h:34,
  4799. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4800. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4801. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:81:9: note: ‘GVA_TOP’
  4802. GVA_TOP,
  4803. ^
  4804. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4805. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4806. /usr/local/include/OGRE/SdkTrays.h:2042:26: error: ‘GHA_LEFT’ is not a member of ‘Ogre’
  4807. case Ogre::GHA_LEFT:
  4808. ^
  4809. /usr/local/include/OGRE/SdkTrays.h:2042:26: note: suggested alternative:
  4810. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  4811. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  4812. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4813. from /usr/local/include/OGRE/SdkTrays.h:34,
  4814. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4815. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4816. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:72:9: note: ‘GHA_LEFT’
  4817. GHA_LEFT,
  4818. ^
  4819. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4820. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4821. /usr/local/include/OGRE/SdkTrays.h:2045:26: error: ‘GHA_RIGHT’ is not a member of ‘Ogre’
  4822. case Ogre::GHA_RIGHT:
  4823. ^
  4824. /usr/local/include/OGRE/SdkTrays.h:2045:26: note: suggested alternative:
  4825. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  4826. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  4827. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4828. from /usr/local/include/OGRE/SdkTrays.h:34,
  4829. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4830. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4831. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:74:9: note: ‘GHA_RIGHT’
  4832. GHA_RIGHT
  4833. ^
  4834. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4835. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4836. /usr/local/include/OGRE/SdkTrays.h:2061:39: error: request for member ‘push_back’ in ‘labelsAndSeps’, which is of non-class type ‘int’
  4837. labelsAndSeps.push_back(e);
  4838. ^
  4839. /usr/local/include/OGRE/SdkTrays.h:2067:39: error: request for member ‘push_back’ in ‘labelsAndSeps’, which is of non-class type ‘int’
  4840. labelsAndSeps.push_back(e);
  4841. ^
  4842. /usr/local/include/OGRE/SdkTrays.h:2075:17: error: ‘mTrays’ was not declared in this scope
  4843. mTrays[i]->setWidth(trayWidth + 2 * mWidgetPadding);
  4844. ^
  4845. /usr/local/include/OGRE/SdkTrays.h:2078:60: error: request for member ‘size’ in ‘labelsAndSeps’, which is of non-class type ‘int’
  4846. for (unsigned int j = 0; j < labelsAndSeps.size(); j++)
  4847. ^
  4848. /usr/local/include/OGRE/SdkTrays.h:2080:36: error: invalid types ‘int[unsigned int]’ for array subscript
  4849. labelsAndSeps[j]->setWidth((int)trayWidth);
  4850. ^
  4851. /usr/local/include/OGRE/SdkTrays.h:2081:36: error: invalid types ‘int[unsigned int]’ for array subscript
  4852. labelsAndSeps[j]->setLeft(-(int)(trayWidth / 2));
  4853. ^
  4854. /usr/local/include/OGRE/SdkTrays.h:2088:21: error: ‘mTrays’ was not declared in this scope
  4855. mTrays[i]->setLeft(mTrayPadding);
  4856. ^
  4857. /usr/local/include/OGRE/SdkTrays.h:2090:21: error: ‘mTrays’ was not declared in this scope
  4858. mTrays[i]->setLeft(-mTrays[i]->getWidth() / 2);
  4859. ^
  4860. /usr/local/include/OGRE/SdkTrays.h:2092:21: error: ‘mTrays’ was not declared in this scope
  4861. mTrays[i]->setLeft(-(mTrays[i]->getWidth() + mTrayPadding));
  4862. ^
  4863. /usr/local/include/OGRE/SdkTrays.h:2095:21: error: ‘mTrays’ was not declared in this scope
  4864. mTrays[i]->setTop(mTrayPadding);
  4865. ^
  4866. /usr/local/include/OGRE/SdkTrays.h:2097:21: error: ‘mTrays’ was not declared in this scope
  4867. mTrays[i]->setTop(-mTrays[i]->getHeight() / 2);
  4868. ^
  4869. /usr/local/include/OGRE/SdkTrays.h:2099:21: error: ‘mTrays’ was not declared in this scope
  4870. mTrays[i]->setTop(-mTrays[i]->getHeight() - mTrayPadding);
  4871. ^
  4872. /usr/local/include/OGRE/SdkTrays.h:2102:17: error: ‘mTrays’ was not declared in this scope
  4873. mTrays[i]->setPosition((int)mTrays[i]->getLeft(), (int)mTrays[i]->getTop());
  4874. ^
  4875. /usr/local/include/OGRE/SdkTrays.h: In member function ‘Ogre::Ray OgreBites::SdkTrayManager::getCursorRay(Ogre::Camera*)’:
  4876. /usr/local/include/OGRE/SdkTrays.h:2112:53: error: ‘mCursor’ was not declared in this scope
  4877. return screenToScene(cam, Ogre::Vector2(mCursor->_getLeft(), mCursor->_getTop()));
  4878. ^
  4879. /usr/local/include/OGRE/SdkTrays.h: In member function ‘OgreBites::Button* OgreBites::SdkTrayManager::createButton(OgreBites::TrayLocation, const String&, const String&, Ogre::Real)’:
  4880. /usr/local/include/OGRE/SdkTrays.h:2117:56: error: no matching function for call to ‘OgreBites::Button::Button(const String&, const String&, Ogre::Real&)’
  4881. Button* b = new Button(name, caption, width);
  4882. ^
  4883. /usr/local/include/OGRE/SdkTrays.h:2117:56: note: candidates are:
  4884. /usr/local/include/OGRE/SdkTrays.h:298:9: note: OgreBites::Button::Button(const String&, const int&, Ogre::Real)
  4885. Button(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width)
  4886. ^
  4887. /usr/local/include/OGRE/SdkTrays.h:298:9: note: no known conversion for argument 2 from ‘const String {aka const std::basic_string<char>}’ to ‘const int&’
  4888. /usr/local/include/OGRE/SdkTrays.h:293:11: note: OgreBites::Button::Button(const OgreBites::Button&)
  4889. class Button : public Widget
  4890. ^
  4891. /usr/local/include/OGRE/SdkTrays.h:293:11: note: candidate expects 1 argument, 3 provided
  4892. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SdkTrayManager::showFrameStats(OgreBites::TrayLocation, int)’:
  4893. /usr/local/include/OGRE/SdkTrays.h:2252:82: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
  4894. mFpsLabel = createLabel(TL_NONE, mName + "/FpsLabel", "FPS:", 180);
  4895. ^
  4896. /usr/local/include/OGRE/SdkTrays.h:2158:16: error: initializing argument 3 of ‘OgreBites::Label* OgreBites::SdkTrayManager::createLabel(OgreBites::TrayLocation, const String&, const int&, Ogre::Real)’ [-fpermissive]
  4897. Label* createLabel(TrayLocation trayLoc, const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width = 0)
  4898. ^
  4899. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SdkTrayManager::showLoadingBar(unsigned int, unsigned int, Ogre::Real)’:
  4900. /usr/local/include/OGRE/SdkTrays.h:2323:85: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
  4901. mLoadBar = new ProgressBar(mName + "/LoadingBar", "Loading...", 400, 308);
  4902. ^
  4903. /usr/local/include/OGRE/SdkTrays.h:1665:9: error: initializing argument 2 of ‘OgreBites::ProgressBar::ProgressBar(const String&, const int&, Ogre::Real, Ogre::Real)’ [-fpermissive]
  4904. ProgressBar(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width, Ogre::Real commentBoxWidth)
  4905. ^
  4906. /usr/local/include/OGRE/SdkTrays.h:2324:13: error: ‘OverlayElement’ is not a member of ‘Ogre’
  4907. Ogre::OverlayElement* e = mLoadBar->getOverlayElement();
  4908. ^
  4909. /usr/local/include/OGRE/SdkTrays.h:2324:13: note: suggested alternative:
  4910. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  4911. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  4912. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4913. from /usr/local/include/OGRE/SdkTrays.h:34,
  4914. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4915. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4916. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:107:30: note: ‘Ogre::v1::OverlayElement’
  4917. class _OgreOverlayExport OverlayElement : public StringInterface, public Renderable, public OverlayAlloc
  4918. ^
  4919. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4920. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4921. /usr/local/include/OGRE/SdkTrays.h:2324:35: error: ‘e’ was not declared in this scope
  4922. Ogre::OverlayElement* e = mLoadBar->getOverlayElement();
  4923. ^
  4924. /usr/local/include/OGRE/SdkTrays.h:2324:49: error: ‘class OgreBites::ProgressBar’ has no member named ‘getOverlayElement’
  4925. Ogre::OverlayElement* e = mLoadBar->getOverlayElement();
  4926. ^
  4927. /usr/local/include/OGRE/SdkTrays.h:2325:13: error: ‘mDialogShade’ was not declared in this scope
  4928. mDialogShade->addChild(e);
  4929. ^
  4930. /usr/local/include/OGRE/SdkTrays.h:2326:37: error: ‘GVA_CENTER’ is not a member of ‘Ogre’
  4931. e->setVerticalAlignment(Ogre::GVA_CENTER);
  4932. ^
  4933. /usr/local/include/OGRE/SdkTrays.h:2326:37: note: suggested alternative:
  4934. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  4935. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  4936. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4937. from /usr/local/include/OGRE/SdkTrays.h:34,
  4938. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4939. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4940. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:82:9: note: ‘GVA_CENTER’
  4941. GVA_CENTER,
  4942. ^
  4943. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4944. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4945. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SdkTrayManager::hideLoadingBar()’:
  4946. /usr/local/include/OGRE/SdkTrays.h:2369:17: error: ‘mDialogShade’ was not declared in this scope
  4947. mDialogShade->hide();
  4948. ^
  4949. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SdkTrayManager::showOkDialog(const int&, const int&)’:
  4950. /usr/local/include/OGRE/SdkTrays.h:2385:13: error: ‘OverlayElement’ is not a member of ‘Ogre’
  4951. Ogre::OverlayElement* e;
  4952. ^
  4953. /usr/local/include/OGRE/SdkTrays.h:2385:13: note: suggested alternative:
  4954. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  4955. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  4956. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4957. from /usr/local/include/OGRE/SdkTrays.h:34,
  4958. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4959. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4960. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:107:30: note: ‘Ogre::v1::OverlayElement’
  4961. class _OgreOverlayExport OverlayElement : public StringInterface, public Renderable, public OverlayAlloc
  4962. ^
  4963. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4964. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4965. /usr/local/include/OGRE/SdkTrays.h:2385:35: error: ‘e’ was not declared in this scope
  4966. Ogre::OverlayElement* e;
  4967. ^
  4968. /usr/local/include/OGRE/SdkTrays.h:2414:17: error: ‘mDialogShade’ was not declared in this scope
  4969. mDialogShade->show();
  4970. ^
  4971. /usr/local/include/OGRE/SdkTrays.h:2418:30: error: ‘class OgreBites::TextBox’ has no member named ‘getOverlayElement’
  4972. e = mDialog->getOverlayElement();
  4973. ^
  4974. /usr/local/include/OGRE/SdkTrays.h:2420:41: error: ‘GVA_CENTER’ is not a member of ‘Ogre’
  4975. e->setVerticalAlignment(Ogre::GVA_CENTER);
  4976. ^
  4977. /usr/local/include/OGRE/SdkTrays.h:2420:41: note: suggested alternative:
  4978. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  4979. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  4980. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  4981. from /usr/local/include/OGRE/SdkTrays.h:34,
  4982. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  4983. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4984. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:82:9: note: ‘GVA_CENTER’
  4985. GVA_CENTER,
  4986. ^
  4987. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  4988. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  4989. /usr/local/include/OGRE/SdkTrays.h:2428:59: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
  4990. mOk = new Button(mName + "/OkButton", "OK", 60);
  4991. ^
  4992. /usr/local/include/OGRE/SdkTrays.h:298:9: error: initializing argument 2 of ‘OgreBites::Button::Button(const String&, const int&, Ogre::Real)’ [-fpermissive]
  4993. Button(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width)
  4994. ^
  4995. /usr/local/include/OGRE/SdkTrays.h:2430:22: error: ‘class OgreBites::Button’ has no member named ‘getOverlayElement’
  4996. e = mOk->getOverlayElement();
  4997. ^
  4998. /usr/local/include/OGRE/SdkTrays.h:2431:13: error: ‘mDialogShade’ was not declared in this scope
  4999. mDialogShade->addChild(e);
  5000. ^
  5001. /usr/local/include/OGRE/SdkTrays.h:2432:37: error: ‘GVA_CENTER’ is not a member of ‘Ogre’
  5002. e->setVerticalAlignment(Ogre::GVA_CENTER);
  5003. ^
  5004. /usr/local/include/OGRE/SdkTrays.h:2432:37: note: suggested alternative:
  5005. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  5006. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  5007. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  5008. from /usr/local/include/OGRE/SdkTrays.h:34,
  5009. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  5010. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5011. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:82:9: note: ‘GVA_CENTER’
  5012. GVA_CENTER,
  5013. ^
  5014. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5015. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5016. /usr/local/include/OGRE/SdkTrays.h:2434:32: error: ‘class OgreBites::TextBox’ has no member named ‘getOverlayElement’
  5017. e->setTop(mDialog->getOverlayElement()->getTop() + mDialog->getOverlayElement()->getHeight() + 5);
  5018. ^
  5019. /usr/local/include/OGRE/SdkTrays.h:2434:73: error: ‘class OgreBites::TextBox’ has no member named ‘getOverlayElement’
  5020. e->setTop(mDialog->getOverlayElement()->getTop() + mDialog->getOverlayElement()->getHeight() + 5);
  5021. ^
  5022. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SdkTrayManager::showYesNoDialog(const int&, const int&)’:
  5023. /usr/local/include/OGRE/SdkTrays.h:2444:13: error: ‘OverlayElement’ is not a member of ‘Ogre’
  5024. Ogre::OverlayElement* e;
  5025. ^
  5026. /usr/local/include/OGRE/SdkTrays.h:2444:13: note: suggested alternative:
  5027. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  5028. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  5029. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  5030. from /usr/local/include/OGRE/SdkTrays.h:34,
  5031. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  5032. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5033. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:107:30: note: ‘Ogre::v1::OverlayElement’
  5034. class _OgreOverlayExport OverlayElement : public StringInterface, public Renderable, public OverlayAlloc
  5035. ^
  5036. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5037. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5038. /usr/local/include/OGRE/SdkTrays.h:2444:35: error: ‘e’ was not declared in this scope
  5039. Ogre::OverlayElement* e;
  5040. ^
  5041. /usr/local/include/OGRE/SdkTrays.h:2470:17: error: ‘mDialogShade’ was not declared in this scope
  5042. mDialogShade->show();
  5043. ^
  5044. /usr/local/include/OGRE/SdkTrays.h:2474:30: error: ‘class OgreBites::TextBox’ has no member named ‘getOverlayElement’
  5045. e = mDialog->getOverlayElement();
  5046. ^
  5047. /usr/local/include/OGRE/SdkTrays.h:2476:41: error: ‘GVA_CENTER’ is not a member of ‘Ogre’
  5048. e->setVerticalAlignment(Ogre::GVA_CENTER);
  5049. ^
  5050. /usr/local/include/OGRE/SdkTrays.h:2476:41: note: suggested alternative:
  5051. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  5052. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  5053. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  5054. from /usr/local/include/OGRE/SdkTrays.h:34,
  5055. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  5056. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5057. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:82:9: note: ‘GVA_CENTER’
  5058. GVA_CENTER,
  5059. ^
  5060. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5061. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5062. /usr/local/include/OGRE/SdkTrays.h:2484:62: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
  5063. mYes = new Button(mName + "/YesButton", "Yes", 58);
  5064. ^
  5065. /usr/local/include/OGRE/SdkTrays.h:298:9: error: initializing argument 2 of ‘OgreBites::Button::Button(const String&, const int&, Ogre::Real)’ [-fpermissive]
  5066. Button(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width)
  5067. ^
  5068. /usr/local/include/OGRE/SdkTrays.h:2486:23: error: ‘class OgreBites::Button’ has no member named ‘getOverlayElement’
  5069. e = mYes->getOverlayElement();
  5070. ^
  5071. /usr/local/include/OGRE/SdkTrays.h:2487:13: error: ‘mDialogShade’ was not declared in this scope
  5072. mDialogShade->addChild(e);
  5073. ^
  5074. /usr/local/include/OGRE/SdkTrays.h:2488:37: error: ‘GVA_CENTER’ is not a member of ‘Ogre’
  5075. e->setVerticalAlignment(Ogre::GVA_CENTER);
  5076. ^
  5077. /usr/local/include/OGRE/SdkTrays.h:2488:37: note: suggested alternative:
  5078. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  5079. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  5080. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  5081. from /usr/local/include/OGRE/SdkTrays.h:34,
  5082. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  5083. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5084. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:82:9: note: ‘GVA_CENTER’
  5085. GVA_CENTER,
  5086. ^
  5087. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5088. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5089. /usr/local/include/OGRE/SdkTrays.h:2490:32: error: ‘class OgreBites::TextBox’ has no member named ‘getOverlayElement’
  5090. e->setTop(mDialog->getOverlayElement()->getTop() + mDialog->getOverlayElement()->getHeight() + 5);
  5091. ^
  5092. /usr/local/include/OGRE/SdkTrays.h:2490:73: error: ‘class OgreBites::TextBox’ has no member named ‘getOverlayElement’
  5093. e->setTop(mDialog->getOverlayElement()->getTop() + mDialog->getOverlayElement()->getHeight() + 5);
  5094. ^
  5095. /usr/local/include/OGRE/SdkTrays.h:2492:59: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
  5096. mNo = new Button(mName + "/NoButton", "No", 50);
  5097. ^
  5098. /usr/local/include/OGRE/SdkTrays.h:298:9: error: initializing argument 2 of ‘OgreBites::Button::Button(const String&, const int&, Ogre::Real)’ [-fpermissive]
  5099. Button(const Ogre::String& name, const Ogre::DisplayString& caption, Ogre::Real width)
  5100. ^
  5101. /usr/local/include/OGRE/SdkTrays.h:2494:22: error: ‘class OgreBites::Button’ has no member named ‘getOverlayElement’
  5102. e = mNo->getOverlayElement();
  5103. ^
  5104. /usr/local/include/OGRE/SdkTrays.h:2496:37: error: ‘GVA_CENTER’ is not a member of ‘Ogre’
  5105. e->setVerticalAlignment(Ogre::GVA_CENTER);
  5106. ^
  5107. /usr/local/include/OGRE/SdkTrays.h:2496:37: note: suggested alternative:
  5108. In file included from /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:33:0,
  5109. from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32,
  5110. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  5111. from /usr/local/include/OGRE/SdkTrays.h:34,
  5112. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  5113. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5114. /usr/local/include/OGRE/Overlay/OgreOverlayElement.h:82:9: note: ‘GVA_CENTER’
  5115. GVA_CENTER,
  5116. ^
  5117. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5118. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5119. /usr/local/include/OGRE/SdkTrays.h:2498:32: error: ‘class OgreBites::TextBox’ has no member named ‘getOverlayElement’
  5120. e->setTop(mDialog->getOverlayElement()->getTop() + mDialog->getOverlayElement()->getHeight() + 5);
  5121. ^
  5122. /usr/local/include/OGRE/SdkTrays.h:2498:73: error: ‘class OgreBites::TextBox’ has no member named ‘getOverlayElement’
  5123. e->setTop(mDialog->getOverlayElement()->getTop() + mDialog->getOverlayElement()->getHeight() + 5);
  5124. ^
  5125. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SdkTrayManager::closeDialog()’:
  5126. /usr/local/include/OGRE/SdkTrays.h:2524:17: error: ‘mDialogShade’ was not declared in this scope
  5127. mDialogShade->hide();
  5128. ^
  5129. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SdkTrayManager::destroyWidget(OgreBites::Widget*)’:
  5130. /usr/local/include/OGRE/SdkTrays.h:2632:13: error: ‘mTrays’ was not declared in this scope
  5131. mTrays[widget->getTrayLocation()]->removeChild(widget->getName());
  5132. ^
  5133. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SdkTrayManager::moveWidgetToTray(OgreBites::Widget*, OgreBites::TrayLocation, int)’:
  5134. /usr/local/include/OGRE/SdkTrays.h:2692:17: error: ‘mTrays’ was not declared in this scope
  5135. mTrays[widget->getTrayLocation()]->removeChild(widget->getName());
  5136. ^
  5137. /usr/local/include/OGRE/SdkTrays.h:2698:13: error: ‘mTrays’ was not declared in this scope
  5138. mTrays[trayLoc]->addChild(widget->getOverlayElement());
  5139. ^
  5140. /usr/local/include/OGRE/SdkTrays.h:2698:47: error: ‘class OgreBites::Widget’ has no member named ‘getOverlayElement’
  5141. mTrays[trayLoc]->addChild(widget->getOverlayElement());
  5142. ^
  5143. /usr/local/include/OGRE/SdkTrays.h:2700:21: error: ‘class OgreBites::Widget’ has no member named ‘getOverlayElement’
  5144. widget->getOverlayElement()->setHorizontalAlignment(mTrayWidgetAlign[trayLoc]);
  5145. ^
  5146. /usr/local/include/OGRE/SdkTrays.h:2700:65: error: ‘mTrayWidgetAlign’ was not declared in this scope
  5147. widget->getOverlayElement()->setHorizontalAlignment(mTrayWidgetAlign[trayLoc]);
  5148. ^
  5149. /usr/local/include/OGRE/SdkTrays.h: In member function ‘bool OgreBites::SdkTrayManager::frameRenderingQueued(const Ogre::FrameEvent&)’:
  5150. /usr/local/include/OGRE/SdkTrays.h:2799:40: error: no matching function for call to ‘OgreBites::Label::setCaption(Ogre::String&)’
  5151. mFpsLabel->setCaption(s);
  5152. ^
  5153. /usr/local/include/OGRE/SdkTrays.h:2799:40: note: candidate is:
  5154. /usr/local/include/OGRE/SdkTrays.h:1170:14: note: void OgreBites::Label::setCaption(const int&)
  5155. void setCaption(const Ogre::DisplayString& caption)
  5156. ^
  5157. /usr/local/include/OGRE/SdkTrays.h:1170:14: note: no known conversion for argument 1 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5158. /usr/local/include/OGRE/SdkTrays.h:2801:34: error: ‘class OgreBites::ParamsPanel’ has no member named ‘getOverlayElement’
  5159. if (mStatsPanel->getOverlayElement()->isVisible())
  5160. ^
  5161. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::SdkTrayManager::resourceGroupScriptingStarted(const String&, size_t)’:
  5162. /usr/local/include/OGRE/SdkTrays.h:2841:46: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
  5163. mLoadBar->setCaption("Parsing...");
  5164. ^
  5165. /usr/local/include/OGRE/SdkTrays.h:1705:14: error: initializing argument 1 of ‘void OgreBites::ProgressBar::setCaption(const int&)’ [-fpermissive]
  5166. void setCaption(const Ogre::DisplayString& caption)
  5167. ^
  5168. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::SdkTrayManager::scriptParseStarted(const String&, bool&)’:
  5169. /usr/local/include/OGRE/SdkTrays.h:2847:44: error: no matching function for call to ‘OgreBites::ProgressBar::setComment(const String&)’
  5170. mLoadBar->setComment(scriptName);
  5171. ^
  5172. /usr/local/include/OGRE/SdkTrays.h:2847:44: note: candidate is:
  5173. /usr/local/include/OGRE/SdkTrays.h:1715:14: note: void OgreBites::ProgressBar::setComment(const int&)
  5174. void setComment(const Ogre::DisplayString& comment)
  5175. ^
  5176. /usr/local/include/OGRE/SdkTrays.h:1715:14: note: no known conversion for argument 1 from ‘const String {aka const std::basic_string<char>}’ to ‘const int&’
  5177. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::SdkTrayManager::resourceGroupLoadStarted(const String&, size_t)’:
  5178. /usr/local/include/OGRE/SdkTrays.h:2862:46: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
  5179. mLoadBar->setCaption("Loading...");
  5180. ^
  5181. /usr/local/include/OGRE/SdkTrays.h:1705:14: error: initializing argument 1 of ‘void OgreBites::ProgressBar::setCaption(const int&)’ [-fpermissive]
  5182. void setCaption(const Ogre::DisplayString& caption)
  5183. ^
  5184. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::SdkTrayManager::resourceLoadStarted(const ResourcePtr&)’:
  5185. /usr/local/include/OGRE/SdkTrays.h:2868:53: error: no matching function for call to ‘OgreBites::ProgressBar::setComment(const String&)’
  5186. mLoadBar->setComment(resource->getName());
  5187. ^
  5188. /usr/local/include/OGRE/SdkTrays.h:2868:53: note: candidate is:
  5189. /usr/local/include/OGRE/SdkTrays.h:1715:14: note: void OgreBites::ProgressBar::setComment(const int&)
  5190. void setComment(const Ogre::DisplayString& comment)
  5191. ^
  5192. /usr/local/include/OGRE/SdkTrays.h:1715:14: note: no known conversion for argument 1 from ‘const String {aka const std::basic_string<char>}’ to ‘const int&’
  5193. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::SdkTrayManager::worldGeometryStageStarted(const String&)’:
  5194. /usr/local/include/OGRE/SdkTrays.h:2880:45: error: no matching function for call to ‘OgreBites::ProgressBar::setComment(const String&)’
  5195. mLoadBar->setComment(description);
  5196. ^
  5197. /usr/local/include/OGRE/SdkTrays.h:2880:45: note: candidate is:
  5198. /usr/local/include/OGRE/SdkTrays.h:1715:14: note: void OgreBites::ProgressBar::setComment(const int&)
  5199. void setComment(const Ogre::DisplayString& comment)
  5200. ^
  5201. /usr/local/include/OGRE/SdkTrays.h:1715:14: note: no known conversion for argument 1 from ‘const String {aka const std::basic_string<char>}’ to ‘const int&’
  5202. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::SdkTrayManager::labelHit(OgreBites::Label*)’:
  5203. /usr/local/include/OGRE/SdkTrays.h:2897:30: error: ‘class OgreBites::ParamsPanel’ has no member named ‘getOverlayElement’
  5204. if (mStatsPanel->getOverlayElement()->isVisible())
  5205. ^
  5206. /usr/local/include/OGRE/SdkTrays.h:2899:30: error: ‘class OgreBites::ParamsPanel’ has no member named ‘getOverlayElement’
  5207. mStatsPanel->getOverlayElement()->hide();
  5208. ^
  5209. /usr/local/include/OGRE/SdkTrays.h:2900:28: error: ‘class OgreBites::Label’ has no member named ‘getOverlayElement’
  5210. mFpsLabel->getOverlayElement()->setWidth(150);
  5211. ^
  5212. /usr/local/include/OGRE/SdkTrays.h:2905:30: error: ‘class OgreBites::ParamsPanel’ has no member named ‘getOverlayElement’
  5213. mStatsPanel->getOverlayElement()->show();
  5214. ^
  5215. /usr/local/include/OGRE/SdkTrays.h:2906:28: error: ‘class OgreBites::Label’ has no member named ‘getOverlayElement’
  5216. mFpsLabel->getOverlayElement()->setWidth(180);
  5217. ^
  5218. /usr/local/include/OGRE/SdkTrays.h: In member function ‘virtual void OgreBites::SdkTrayManager::buttonHit(OgreBites::Button*)’:
  5219. /usr/local/include/OGRE/SdkTrays.h:2918:71: error: ‘class OgreBites::TextBox’ has no member named ‘getText’
  5220. if (button == mOk) mListener->okDialogClosed(mDialog->getText());
  5221. ^
  5222. /usr/local/include/OGRE/SdkTrays.h:2919:60: error: ‘class OgreBites::TextBox’ has no member named ‘getText’
  5223. else mListener->yesNoDialogClosed(mDialog->getText(), button == mYes);
  5224. ^
  5225. /usr/local/include/OGRE/SdkTrays.h: In member function ‘bool OgreBites::SdkTrayManager::injectPointerDown(const OIS::PointerEvent&, OIS::MouseButtonID)’:
  5226. /usr/local/include/OGRE/SdkTrays.h:2931:18: error: ‘mCursorLayer’ was not declared in this scope
  5227. if (!mCursorLayer->isVisible() || id != OIS::MB_Left) return false;
  5228. ^
  5229. /usr/local/include/OGRE/SdkTrays.h:2933:37: error: ‘mCursor’ was not declared in this scope
  5230. Ogre::Vector2 cursorPos(mCursor->getLeft(), mCursor->getTop());
  5231. ^
  5232. /usr/local/include/OGRE/SdkTrays.h:2959:21: error: ‘mTrays’ was not declared in this scope
  5233. if (mTrays[i]->isVisible() && Widget::isCursorOver(mTrays[i], cursorPos, 2))
  5234. ^
  5235. /usr/local/include/OGRE/SdkTrays.h:2970:24: error: ‘class OgreBites::Widget’ has no member named ‘getOverlayElement’
  5236. if (w->getOverlayElement()->isVisible() && Widget::isCursorOver(w->getOverlayElement(), cursorPos))
  5237. ^
  5238. /usr/local/include/OGRE/SdkTrays.h:2970:84: error: ‘class OgreBites::Widget’ has no member named ‘getOverlayElement’
  5239. if (w->getOverlayElement()->isVisible() && Widget::isCursorOver(w->getOverlayElement(), cursorPos))
  5240. ^
  5241. /usr/local/include/OGRE/SdkTrays.h:2981:22: error: ‘mTrays’ was not declared in this scope
  5242. if (!mTrays[i]->isVisible()) continue;
  5243. ^
  5244. /usr/local/include/OGRE/SdkTrays.h:2987:29: error: ‘class OgreBites::Widget’ has no member named ‘getOverlayElement’
  5245. if (!w->getOverlayElement()->isVisible()) continue;
  5246. ^
  5247. /usr/local/include/OGRE/SdkTrays.h: In member function ‘bool OgreBites::SdkTrayManager::injectPointerUp(const OIS::PointerEvent&, OIS::MouseButtonID)’:
  5248. /usr/local/include/OGRE/SdkTrays.h:3009:18: error: ‘mCursorLayer’ was not declared in this scope
  5249. if (!mCursorLayer->isVisible() || id != OIS::MB_Left) return false;
  5250. ^
  5251. /usr/local/include/OGRE/SdkTrays.h:3011:37: error: ‘mCursor’ was not declared in this scope
  5252. Ogre::Vector2 cursorPos(mCursor->getLeft(), mCursor->getTop());
  5253. ^
  5254. /usr/local/include/OGRE/SdkTrays.h:3037:22: error: ‘mTrays’ was not declared in this scope
  5255. if (!mTrays[i]->isVisible()) continue;
  5256. ^
  5257. /usr/local/include/OGRE/SdkTrays.h:3043:29: error: ‘class OgreBites::Widget’ has no member named ‘getOverlayElement’
  5258. if (!w->getOverlayElement()->isVisible()) continue;
  5259. ^
  5260. /usr/local/include/OGRE/SdkTrays.h: In member function ‘bool OgreBites::SdkTrayManager::injectPointerMove(const OIS::PointerEvent&)’:
  5261. /usr/local/include/OGRE/SdkTrays.h:3058:18: error: ‘mCursorLayer’ was not declared in this scope
  5262. if (!mCursorLayer->isVisible()) return false; // don't process if cursor layer is invisible
  5263. ^
  5264. /usr/local/include/OGRE/SdkTrays.h:3062:13: error: ‘mCursor’ was not declared in this scope
  5265. mCursor->setPosition(cursorPos.x, cursorPos.y);
  5266. ^
  5267. /usr/local/include/OGRE/SdkTrays.h:3085:22: error: ‘mTrays’ was not declared in this scope
  5268. if (!mTrays[i]->isVisible()) continue;
  5269. ^
  5270. /usr/local/include/OGRE/SdkTrays.h:3091:29: error: ‘class OgreBites::Widget’ has no member named ‘getOverlayElement’
  5271. if (!w->getOverlayElement()->isVisible()) continue;
  5272. ^
  5273. /usr/local/include/OGRE/SdkTrays.h: In member function ‘void OgreBites::SdkTrayManager::setExpandedMenu(OgreBites::SelectMenu*)’:
  5274. /usr/local/include/OGRE/SdkTrays.h:3109:17: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  5275. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)m->getOverlayElement();
  5276. ^
  5277. /usr/local/include/OGRE/SdkTrays.h:3109:17: note: suggested alternative:
  5278. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  5279. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  5280. from /usr/local/include/OGRE/SdkTrays.h:34,
  5281. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  5282. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5283. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  5284. class _OgreOverlayExport OverlayContainer : public OverlayElement
  5285. ^
  5286. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5287. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5288. /usr/local/include/OGRE/SdkTrays.h:3109:41: error: ‘c’ was not declared in this scope
  5289. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)m->getOverlayElement();
  5290. ^
  5291. /usr/local/include/OGRE/SdkTrays.h:3109:46: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  5292. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)m->getOverlayElement();
  5293. ^
  5294. /usr/local/include/OGRE/SdkTrays.h:3109:46: note: suggested alternative:
  5295. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  5296. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  5297. from /usr/local/include/OGRE/SdkTrays.h:34,
  5298. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  5299. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5300. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  5301. class _OgreOverlayExport OverlayContainer : public OverlayElement
  5302. ^
  5303. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5304. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5305. /usr/local/include/OGRE/SdkTrays.h:3109:69: error: expected primary-expression before ‘)’ token
  5306. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)m->getOverlayElement();
  5307. ^
  5308. /usr/local/include/OGRE/SdkTrays.h:3109:70: error: expected ‘;’ before ‘m’
  5309. Ogre::OverlayContainer* c = (Ogre::OverlayContainer*)m->getOverlayElement();
  5310. ^
  5311. /usr/local/include/OGRE/SdkTrays.h:3110:17: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  5312. Ogre::OverlayContainer* eb = (Ogre::OverlayContainer*)c->getChild(m->getName() + "/MenuExpandedBox");
  5313. ^
  5314. /usr/local/include/OGRE/SdkTrays.h:3110:17: note: suggested alternative:
  5315. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  5316. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  5317. from /usr/local/include/OGRE/SdkTrays.h:34,
  5318. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  5319. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5320. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  5321. class _OgreOverlayExport OverlayContainer : public OverlayElement
  5322. ^
  5323. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5324. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5325. /usr/local/include/OGRE/SdkTrays.h:3110:41: error: ‘eb’ was not declared in this scope
  5326. Ogre::OverlayContainer* eb = (Ogre::OverlayContainer*)c->getChild(m->getName() + "/MenuExpandedBox");
  5327. ^
  5328. /usr/local/include/OGRE/SdkTrays.h:3110:47: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  5329. Ogre::OverlayContainer* eb = (Ogre::OverlayContainer*)c->getChild(m->getName() + "/MenuExpandedBox");
  5330. ^
  5331. /usr/local/include/OGRE/SdkTrays.h:3110:47: note: suggested alternative:
  5332. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  5333. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  5334. from /usr/local/include/OGRE/SdkTrays.h:34,
  5335. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  5336. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5337. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  5338. class _OgreOverlayExport OverlayContainer : public OverlayElement
  5339. ^
  5340. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5341. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5342. /usr/local/include/OGRE/SdkTrays.h:3110:70: error: expected primary-expression before ‘)’ token
  5343. Ogre::OverlayContainer* eb = (Ogre::OverlayContainer*)c->getChild(m->getName() + "/MenuExpandedBox");
  5344. ^
  5345. /usr/local/include/OGRE/SdkTrays.h:3110:71: error: expected ‘;’ before ‘c’
  5346. Ogre::OverlayContainer* eb = (Ogre::OverlayContainer*)c->getChild(m->getName() + "/MenuExpandedBox");
  5347. ^
  5348. /usr/local/include/OGRE/SdkTrays.h:3113:67: error: ‘Ogre::OverlayManager’ has not been declared
  5349. ((unsigned int)(eb->_getDerivedLeft() * Ogre::OverlayManager::getSingleton().getViewportWidth()),
  5350. ^
  5351. /usr/local/include/OGRE/SdkTrays.h:3114:65: error: ‘Ogre::OverlayManager’ has not been declared
  5352. (unsigned int)(eb->_getDerivedTop() * Ogre::OverlayManager::getSingleton().getViewportHeight()));
  5353. ^
  5354. /usr/local/include/OGRE/SdkTrays.h:3116:17: error: ‘mPriorityLayer’ was not declared in this scope
  5355. mPriorityLayer->add2D(eb);
  5356. ^
  5357. /usr/local/include/OGRE/SdkTrays.h:3120:17: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  5358. Ogre::OverlayContainer* eb = mPriorityLayer->getChild(mExpandedMenu->getName() + "/MenuExpandedBox");
  5359. ^
  5360. /usr/local/include/OGRE/SdkTrays.h:3120:17: note: suggested alternative:
  5361. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  5362. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  5363. from /usr/local/include/OGRE/SdkTrays.h:34,
  5364. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  5365. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5366. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  5367. class _OgreOverlayExport OverlayContainer : public OverlayElement
  5368. ^
  5369. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5370. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5371. /usr/local/include/OGRE/SdkTrays.h:3120:41: error: ‘eb’ was not declared in this scope
  5372. Ogre::OverlayContainer* eb = mPriorityLayer->getChild(mExpandedMenu->getName() + "/MenuExpandedBox");
  5373. ^
  5374. /usr/local/include/OGRE/SdkTrays.h:3120:46: error: ‘mPriorityLayer’ was not declared in this scope
  5375. Ogre::OverlayContainer* eb = mPriorityLayer->getChild(mExpandedMenu->getName() + "/MenuExpandedBox");
  5376. ^
  5377. /usr/local/include/OGRE/SdkTrays.h:3122:19: error: ‘OverlayContainer’ is not a member of ‘Ogre’
  5378. ((Ogre::OverlayContainer*)mExpandedMenu->getOverlayElement())->addChild(eb);
  5379. ^
  5380. /usr/local/include/OGRE/SdkTrays.h:3122:19: note: suggested alternative:
  5381. In file included from /usr/local/include/OGRE/Overlay/OgrePanelOverlayElement.h:32:0,
  5382. from /usr/local/include/OGRE/Overlay/OgreBorderPanelOverlayElement.h:32,
  5383. from /usr/local/include/OGRE/SdkTrays.h:34,
  5384. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34,
  5385. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5386. /usr/local/include/OGRE/Overlay/OgreOverlayContainer.h:56:30: note: ‘Ogre::v1::OverlayContainer’
  5387. class _OgreOverlayExport OverlayContainer : public OverlayElement
  5388. ^
  5389. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5390. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5391. /usr/local/include/OGRE/SdkTrays.h:3122:42: error: expected primary-expression before ‘)’ token
  5392. ((Ogre::OverlayContainer*)mExpandedMenu->getOverlayElement())->addChild(eb);
  5393. ^
  5394. /usr/local/include/OGRE/SdkTrays.h:3122:43: error: expected ‘)’ before ‘mExpandedMenu’
  5395. ((Ogre::OverlayContainer*)mExpandedMenu->getOverlayElement())->addChild(eb);
  5396. ^
  5397. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:0:
  5398. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h: At global scope:
  5399. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:37:85: error: expected class-name before ‘,’ token
  5400. class BaseApplication : public Ogre::FrameListener, public Ogre::WindowEventListener, public OIS::KeyListener, public OIS::MouseListener, OgreBites::SdkTrayListener
  5401. ^
  5402. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:0:
  5403. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:81:2: error: ‘OverlaySystem’ in namespace ‘Ogre’ does not name a type
  5404. Ogre::OverlaySystem *mOverlaySystem;
  5405. ^
  5406. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp: In constructor ‘BaseApplication::BaseApplication()’:
  5407. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:25:19: error: ‘BLANK’ is not a member of ‘Ogre::StringUtil’
  5408. mResourcesCfg(Ogre::StringUtil::BLANK),
  5409. ^
  5410. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:26:17: error: ‘BLANK’ is not a member of ‘Ogre::StringUtil’
  5411. mPluginsCfg(Ogre::StringUtil::BLANK),
  5412. ^
  5413. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp: In destructor ‘virtual BaseApplication::~BaseApplication()’:
  5414. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:45:11: error: ‘Ogre::WindowEventUtilities’ has not been declared
  5415. Ogre::WindowEventUtilities::removeWindowEventListener(mWindow, this);
  5416. ^
  5417. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp: In member function ‘virtual void BaseApplication::chooseSceneManager()’:
  5418. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:73:59: error: no matching function for call to ‘Ogre::Root::createSceneManager(Ogre::SceneType)’
  5419. mSceneMgr = mRoot->createSceneManager(Ogre::ST_GENERIC);
  5420. ^
  5421. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:73:59: note: candidates are:
  5422. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:23:0,
  5423. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5424. /usr/local/include/OGRE/OgreRoot.h:409:23: note: Ogre::SceneManager* Ogre::Root::createSceneManager(const String&, size_t, Ogre::InstancingThreadedCullingMethod, const String&)
  5425. SceneManager* createSceneManager(const String& typeName, size_t numWorkerThreads,
  5426. ^
  5427. /usr/local/include/OGRE/OgreRoot.h:409:23: note: candidate expects 4 arguments, 1 provided
  5428. /usr/local/include/OGRE/OgreRoot.h:435:23: note: Ogre::SceneManager* Ogre::Root::createSceneManager(Ogre::SceneTypeMask, size_t, Ogre::InstancingThreadedCullingMethod, const String&)
  5429. SceneManager* createSceneManager(SceneTypeMask typeMask, size_t numWorkerThreads,
  5430. ^
  5431. /usr/local/include/OGRE/OgreRoot.h:435:23: note: candidate expects 4 arguments, 1 provided
  5432. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:74:2: error: ‘mOverlaySystem’ was not declared in this scope
  5433. mOverlaySystem = new Ogre::OverlaySystem();
  5434. ^
  5435. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:74:23: error: expected type-specifier
  5436. mOverlaySystem = new Ogre::OverlaySystem();
  5437. ^
  5438. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:74:23: error: expected ‘;’
  5439. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp: In member function ‘virtual void BaseApplication::createFrameListener()’:
  5440. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:115:11: error: ‘Ogre::WindowEventUtilities’ has not been declared
  5441. Ogre::WindowEventUtilities::addWindowEventListener(mWindow, this);
  5442. ^
  5443. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:140:47: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
  5444. mDetailsPanel->setParamValue(9, "Bilinear");
  5445. ^
  5446. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5447. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5448. /usr/local/include/OGRE/SdkTrays.h:1462:14: error: initializing argument 2 of ‘void OgreBites::ParamsPanel::setParamValue(const int&, const int&)’ [-fpermissive]
  5449. void setParamValue(const Ogre::DisplayString& paramName, const Ogre::DisplayString& paramValue)
  5450. ^
  5451. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:141:45: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
  5452. mDetailsPanel->setParamValue(10, "Solid");
  5453. ^
  5454. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5455. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5456. /usr/local/include/OGRE/SdkTrays.h:1462:14: error: initializing argument 2 of ‘void OgreBites::ParamsPanel::setParamValue(const int&, const int&)’ [-fpermissive]
  5457. void setParamValue(const Ogre::DisplayString& paramName, const Ogre::DisplayString& paramValue)
  5458. ^
  5459. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp: In member function ‘virtual void BaseApplication::createViewports()’:
  5460. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:154:54: error: no matching function for call to ‘Ogre::RenderWindow::addViewport(Ogre::Camera*&)’
  5461. Ogre::Viewport* vp = mWindow->addViewport(mCamera);
  5462. ^
  5463. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:154:54: note: candidate is:
  5464. In file included from /usr/local/include/OGRE/OgreRenderWindow.h:31:0,
  5465. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:26,
  5466. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5467. /usr/local/include/OGRE/OgreRenderTarget.h:203:27: note: virtual Ogre::Viewport* Ogre::RenderTarget::addViewport(float, float, float, float)
  5468. virtual Viewport* addViewport( float left = 0.0f, float top = 0.0f,
  5469. ^
  5470. /usr/local/include/OGRE/OgreRenderTarget.h:203:27: note: no known conversion for argument 1 from ‘Ogre::Camera*’ to ‘float’
  5471. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:155:9: error: ‘class Ogre::Viewport’ has no member named ‘setBackgroundColour’
  5472. vp->setBackgroundColour(Ogre::ColourValue(0,0,0));
  5473. ^
  5474. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp: In member function ‘virtual bool BaseApplication::setup()’:
  5475. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:230:5: error: incomplete type ‘Ogre::TextureManager’ used in nested name specifier
  5476. Ogre::TextureManager::getSingleton().setDefaultNumMipmaps(5);
  5477. ^
  5478. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp: In member function ‘virtual bool BaseApplication::frameRenderingQueued(const Ogre::FrameEvent&)’:
  5479. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:264:109: error: no matching function for call to ‘OgreBites::ParamsPanel::setParamValue(int, Ogre::String)’
  5480. mDetailsPanel->setParamValue(0, Ogre::StringConverter::toString(mCamera->getDerivedPosition().x));
  5481. ^
  5482. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:264:109: note: candidates are:
  5483. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5484. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5485. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: void OgreBites::ParamsPanel::setParamValue(const int&, const int&)
  5486. void setParamValue(const Ogre::DisplayString& paramName, const Ogre::DisplayString& paramValue)
  5487. ^
  5488. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5489. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: void OgreBites::ParamsPanel::setParamValue(unsigned int, const int&)
  5490. void setParamValue(unsigned int index, const Ogre::DisplayString& paramValue)
  5491. ^
  5492. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5493. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:265:109: error: no matching function for call to ‘OgreBites::ParamsPanel::setParamValue(int, Ogre::String)’
  5494. mDetailsPanel->setParamValue(1, Ogre::StringConverter::toString(mCamera->getDerivedPosition().y));
  5495. ^
  5496. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:265:109: note: candidates are:
  5497. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5498. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5499. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: void OgreBites::ParamsPanel::setParamValue(const int&, const int&)
  5500. void setParamValue(const Ogre::DisplayString& paramName, const Ogre::DisplayString& paramValue)
  5501. ^
  5502. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5503. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: void OgreBites::ParamsPanel::setParamValue(unsigned int, const int&)
  5504. void setParamValue(unsigned int index, const Ogre::DisplayString& paramValue)
  5505. ^
  5506. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5507. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:266:109: error: no matching function for call to ‘OgreBites::ParamsPanel::setParamValue(int, Ogre::String)’
  5508. mDetailsPanel->setParamValue(2, Ogre::StringConverter::toString(mCamera->getDerivedPosition().z));
  5509. ^
  5510. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:266:109: note: candidates are:
  5511. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5512. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5513. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: void OgreBites::ParamsPanel::setParamValue(const int&, const int&)
  5514. void setParamValue(const Ogre::DisplayString& paramName, const Ogre::DisplayString& paramValue)
  5515. ^
  5516. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5517. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: void OgreBites::ParamsPanel::setParamValue(unsigned int, const int&)
  5518. void setParamValue(unsigned int index, const Ogre::DisplayString& paramValue)
  5519. ^
  5520. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5521. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:267:112: error: no matching function for call to ‘OgreBites::ParamsPanel::setParamValue(int, Ogre::String)’
  5522. mDetailsPanel->setParamValue(4, Ogre::StringConverter::toString(mCamera->getDerivedOrientation().w));
  5523. ^
  5524. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:267:112: note: candidates are:
  5525. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5526. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5527. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: void OgreBites::ParamsPanel::setParamValue(const int&, const int&)
  5528. void setParamValue(const Ogre::DisplayString& paramName, const Ogre::DisplayString& paramValue)
  5529. ^
  5530. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5531. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: void OgreBites::ParamsPanel::setParamValue(unsigned int, const int&)
  5532. void setParamValue(unsigned int index, const Ogre::DisplayString& paramValue)
  5533. ^
  5534. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5535. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:268:112: error: no matching function for call to ‘OgreBites::ParamsPanel::setParamValue(int, Ogre::String)’
  5536. mDetailsPanel->setParamValue(5, Ogre::StringConverter::toString(mCamera->getDerivedOrientation().x));
  5537. ^
  5538. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:268:112: note: candidates are:
  5539. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5540. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5541. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: void OgreBites::ParamsPanel::setParamValue(const int&, const int&)
  5542. void setParamValue(const Ogre::DisplayString& paramName, const Ogre::DisplayString& paramValue)
  5543. ^
  5544. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5545. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: void OgreBites::ParamsPanel::setParamValue(unsigned int, const int&)
  5546. void setParamValue(unsigned int index, const Ogre::DisplayString& paramValue)
  5547. ^
  5548. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5549. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:269:112: error: no matching function for call to ‘OgreBites::ParamsPanel::setParamValue(int, Ogre::String)’
  5550. mDetailsPanel->setParamValue(6, Ogre::StringConverter::toString(mCamera->getDerivedOrientation().y));
  5551. ^
  5552. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:269:112: note: candidates are:
  5553. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5554. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5555. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: void OgreBites::ParamsPanel::setParamValue(const int&, const int&)
  5556. void setParamValue(const Ogre::DisplayString& paramName, const Ogre::DisplayString& paramValue)
  5557. ^
  5558. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5559. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: void OgreBites::ParamsPanel::setParamValue(unsigned int, const int&)
  5560. void setParamValue(unsigned int index, const Ogre::DisplayString& paramValue)
  5561. ^
  5562. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5563. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:270:112: error: no matching function for call to ‘OgreBites::ParamsPanel::setParamValue(int, Ogre::String)’
  5564. mDetailsPanel->setParamValue(7, Ogre::StringConverter::toString(mCamera->getDerivedOrientation().z));
  5565. ^
  5566. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:270:112: note: candidates are:
  5567. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5568. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5569. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: void OgreBites::ParamsPanel::setParamValue(const int&, const int&)
  5570. void setParamValue(const Ogre::DisplayString& paramName, const Ogre::DisplayString& paramValue)
  5571. ^
  5572. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5573. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: void OgreBites::ParamsPanel::setParamValue(unsigned int, const int&)
  5574. void setParamValue(unsigned int index, const Ogre::DisplayString& paramValue)
  5575. ^
  5576. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5577. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp: In member function ‘virtual bool BaseApplication::keyPressed(const OIS::KeyEvent&)’:
  5578. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:304:32: error: ‘class OgreBites::ParamsPanel’ has no member named ‘getParamValue’
  5579. switch (mDetailsPanel->getParamValue(9).asUTF8()[0])
  5580. ^
  5581. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:327:9: error: incomplete type ‘Ogre::MaterialManager’ used in nested name specifier
  5582. Ogre::MaterialManager::getSingleton().setDefaultTextureFiltering(tfo);
  5583. ^
  5584. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:328:9: error: incomplete type ‘Ogre::MaterialManager’ used in nested name specifier
  5585. Ogre::MaterialManager::getSingleton().setDefaultAnisotropy(aniso);
  5586. ^
  5587. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:329:47: error: no matching function for call to ‘OgreBites::ParamsPanel::setParamValue(int, Ogre::String&)’
  5588. mDetailsPanel->setParamValue(9, newVal);
  5589. ^
  5590. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:329:47: note: candidates are:
  5591. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5592. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5593. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: void OgreBites::ParamsPanel::setParamValue(const int&, const int&)
  5594. void setParamValue(const Ogre::DisplayString& paramName, const Ogre::DisplayString& paramValue)
  5595. ^
  5596. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5597. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: void OgreBites::ParamsPanel::setParamValue(unsigned int, const int&)
  5598. void setParamValue(unsigned int index, const Ogre::DisplayString& paramValue)
  5599. ^
  5600. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5601. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:336:26: error: ‘class Ogre::Camera’ has no member named ‘getPolygonMode’
  5602. switch (mCamera->getPolygonMode())
  5603. ^
  5604. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:351:18: error: ‘class Ogre::Camera’ has no member named ‘setPolygonMode’
  5605. mCamera->setPolygonMode(pm);
  5606. ^
  5607. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:352:48: error: no matching function for call to ‘OgreBites::ParamsPanel::setParamValue(int, Ogre::String&)’
  5608. mDetailsPanel->setParamValue(10, newVal);
  5609. ^
  5610. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:352:48: note: candidates are:
  5611. In file included from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.h:34:0,
  5612. from /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:17:
  5613. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: void OgreBites::ParamsPanel::setParamValue(const int&, const int&)
  5614. void setParamValue(const Ogre::DisplayString& paramName, const Ogre::DisplayString& paramValue)
  5615. ^
  5616. /usr/local/include/OGRE/SdkTrays.h:1462:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5617. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: void OgreBites::ParamsPanel::setParamValue(unsigned int, const int&)
  5618. void setParamValue(unsigned int index, const Ogre::DisplayString& paramValue)
  5619. ^
  5620. /usr/local/include/OGRE/SdkTrays.h:1478:14: note: no known conversion for argument 2 from ‘Ogre::String {aka std::basic_string<char>}’ to ‘const int&’
  5621. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:356:9: error: incomplete type ‘Ogre::TextureManager’ used in nested name specifier
  5622. Ogre::TextureManager::getSingleton().reloadAll();
  5623. ^
  5624. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp: In member function ‘virtual bool BaseApplication::mouseMoved(const OIS::MouseEvent&)’:
  5625. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:379:19: error: ‘class OgreBites::SdkTrayManager’ has no member named ‘injectMouseMove’
  5626. if (mTrayMgr->injectMouseMove(arg)) return true;
  5627. ^
  5628. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:380:17: error: ‘class OgreBites::SdkCameraMan’ has no member named ‘injectMouseMove’
  5629. mCameraMan->injectMouseMove(arg);
  5630. ^
  5631. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp: In member function ‘virtual bool BaseApplication::mousePressed(const OIS::MouseEvent&, OIS::MouseButtonID)’:
  5632. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:386:19: error: ‘class OgreBites::SdkTrayManager’ has no member named ‘injectMouseDown’
  5633. if (mTrayMgr->injectMouseDown(arg, id)) return true;
  5634. ^
  5635. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:387:17: error: ‘class OgreBites::SdkCameraMan’ has no member named ‘injectMouseDown’
  5636. mCameraMan->injectMouseDown(arg, id);
  5637. ^
  5638. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp: In member function ‘virtual bool BaseApplication::mouseReleased(const OIS::MouseEvent&, OIS::MouseButtonID)’:
  5639. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:393:19: error: ‘class OgreBites::SdkTrayManager’ has no member named ‘injectMouseUp’
  5640. if (mTrayMgr->injectMouseUp(arg, id)) return true;
  5641. ^
  5642. /home/mago/Projects/cpp/clean_ogre_cmake_project/BaseApplication.cpp:394:17: error: ‘class OgreBites::SdkCameraMan’ has no member named ‘injectMouseUp’
  5643. mCameraMan->injectMouseUp(arg, id);
  5644. ^
  5645. make[2]: *** [CMakeFiles/OgreApp.dir/BaseApplication.cpp.o] Error 1
  5646. make[1]: *** [CMakeFiles/OgreApp.dir/all] Error 2
  5647. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement