Hi I've just started to look at OGRE and have tried to run one of the tutorials but am having some problems.
I've built OGRE sucessfully and have all the dependencies.
I'm using VS .NET 2003.
Im tring to run the tutorial at :
http://centaurforce.sourceforge.net/Ogr ... rial_2.htm
I've followed the tutorial exactly and it seems to run fine in debug mode but I have the following problems otherwise when running it:
1. In Release mode I get an "Assertion of (ms_Singleton) failed". This seems to have been mentioned in the thread http://www.ogre3d.org/phpBB2/viewtopic. ... +exception but I am still unsure as to why it would only happen in Release mode.
2. The escape key does not seem to exit the application, even though the code would seem to support this.
3. When running the application from within VS .NET 2003, the configuration screen contains no items in the drop down boxes.
Has anyone had any experience with these problems in this tutorial?
Thanks
Andrew
Exceptions thrown in Tutorial
-
Robomaniac
- Hobgoblin
- Posts: 508
- Joined: Tue Feb 03, 2004 6:39 am
ok, the code in this tutorial has some bugs 
I'm gonna fix this up and add it to the wiki hopefully this week.
fix 1:
That should fix the other errors too, as it looks as if you were just stuck in the infinate loop that's happenning there :\
I'm gonna fix this up and add it to the wiki hopefully this week.
fix 1:
Code: Select all
Inside the loop:
while (i.hasMoreElements())
{
type = i.peekNextKey();
arch = i.peekNextValue();
Ogre::ResourceManager::addCommonArchiveEx(arch, type);
i.getNext(); //<<<< ADD THIS
}
-
Andrew123
- Gnoblar
- Posts: 2
- Joined: Thu Jan 27, 2005 12:50 pm