Using Ogre 2.0 here.
I just spent a while debugging an issue that turned out to be caused by a class layout mismatch between my app and Ogre.
In OgreNode.h there's this conditional:
Code: Select all
#ifndef NDEBUG
mutable bool mCachedTransformOutOfDate;
#endif
Firstly: Is this documented, and are there any other defines Ogre is sensitive to?
Secondly: Would it be worth having Ogre try to detect this on startup, and issue an error message?