Hi,
I was trying to build Ogre with thread support with the RC1. Everything compile fine, but I am getting some runtime errors during the creation of the material manager.
Looks like some mutex are invalid as it crash during lock.
What this experimental code tested with RC1? Or do I need to something more than editing the OgreConfig.h?
Thanks
Path:
Root::Root()
// ..material manager
-> mMaterialManager = new MaterialManager();
-> mScriptContext.material.setNull();
-> release
-> void lock()
{
if (m_locked) throw lock_error();
lock_ops<Mutex>::lock(m_mutex); //m_mutex undefined
m_locked = true;
}
OGRE_THREAD and Ogre 1.0
- sinbad
- OGRE Retired Team Member

- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 67
- Contact: