Version 1 (modified by landauf, 14 years ago) (diff) |
---|
MinGW Troubleshooting
Q: When I run Orxonox and start a level, it crashes.
A: Check if you get an error similar to this:
terminate called after throwing an instance of 'Ogre::ItemIdentityException' what(): OGRE EXCEPTION(5:ItemIdentityException): Unable to derive resource gr oup for templates/includes/weaponsettings3.oxi automatically since the resource was not found. in ResourceGroupManager::findGroupContainingResource at ../../Ogr eMain/src/OgreResourceGroupManager.cpp (line 1782)
In this case you probably compiled Orxonox with a different version of MinGW than the dependencies are. Note that there are two different methods of exception handling: SJLJ (setjmp/longjmp) and DW2 (Dwarf-2). The dependencies are compiled using DW2. You either have to recompile the C++ dependencies (boost, cegui, ogre) or install the correct version of MinGW. You can check which method your installation supports if you search for c:\mingw\bin\libgcc_s_xxx-1.dll - xxx is either dw2 or sjlj.