Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
The reason is pDefines is initialized with address of variable that is destructed before pDefines is used. Simple fix is attached, but it`s really bad design, that would bites again and again.