| 1 | = MinGW Troubleshooting = |
| 2 | |
| 3 | === Q: When I run Orxonox and start a level, it crashes. === |
| 4 | |
| 5 | A: Check if you get an error similar to this: |
| 6 | {{{ |
| 7 | terminate called after throwing an instance of 'Ogre::ItemIdentityException' |
| 8 | |
| 9 | what(): OGRE EXCEPTION(5:ItemIdentityException): Unable to derive resource gr |
| 10 | oup for templates/includes/weaponsettings3.oxi automatically since the resource |
| 11 | was not found. in ResourceGroupManager::findGroupContainingResource at ../../Ogr |
| 12 | eMain/src/OgreResourceGroupManager.cpp (line 1782) |
| 13 | }}} |
| 14 | 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. |