realXtend / tundra

realXtend Tundra SDK, a 3D virtual world application platform.
www.realxtend.org
Apache License 2.0
84 stars 70 forks source link

Ogre logger API changes in 1.7.3 -> 1.8.0. #351

Closed juj closed 12 years ago

juj commented 12 years ago

Do a conditional #ifdef. See

21:39 < phrearch> hm, ogre build error 21:39 < phrearch> http://paste.pocoo.org/show/548507/ 21:39 < phrearch> maybe related to nvidia-cg ? 21:40 < clb> oh interesting 21:41 < clb> no, that's due to a Ogre version mismatch, I'd presume 21:41 < phrearch> system ogre is at ogre 1.8.0RC1-3 21:41 < phrearch> last time i used the system's ogre version 21:42 < clb> yikes, a toonewversionproblem 21:42 < phrearch> should i use ogre 1.7 ? 21:43 < clb> if that's the only problem, then don't bother switching 21:43 < clb> see Renderer.cpp:78 21:43 < clb> void messageLogged(const Ogre::String &message, Ogre::LogMessageLevel lml, bool maskDebug, const Ogre::String &logName) 21:43 < clb> convert that to 21:43 < clb> void messageLogged(const String &message, Ogre::LogMessageLevel lml, bool maskDebug, const String &logName, bool&) 21:44 < clb_> err, void messageLogged(const Ogre::String &message, Ogre::LogMessageLevel lml, bool maskDebug, const Ogre::String &logName, bool&) 21:44 < phrearch> aha 21:44 < phrearch> ok thanks. will give it a try 21:50 < phrearch> ok awesome. it worked

jonnenauha commented 12 years ago

Yeah it has one param more, had to fix this on mobile builds that had 1.8 Ogre due to GLES rendering plugin needs.