I would like testing and contributing to the game but I had several difficulties to compile.
Following the Build Instructions and this topic viewtopic.php?f=35&t=4648&p=48413, I tries to install CEGUI 0.8.2 but MiniMap.cpp include the file CEGUIImagesetManager.h which was deleted on CEGUI 0.8.x.
So, I installed CEGUI 0.7.9
After, I needed to add a flag with cmake : -DCMAKE_CXX_FLAGS "-std=c++11".
I succeeded to compile the project but during the execution a bad_alloc exception was thrown because I forgot to copy the file dictonary.txt in my build directory.
By the way, I made a small patch to avoid to throw a exception when the file size is lower than 1. Instead, I return 0 because PrefixTreeLL::build manage the case when size <= 1.
Finally, during the execution, an exception is thrown for the file "Dirt_10001000.mesh".
Before copy the files from "mediaSource" directory, it was the file "Dirt_00001110.mesh" which brings out the exception.
I don't find any solution for this issue.
- {l Code}: {l Select All Code}
Starting creature AI for turn 28
Processing deletion queues on turn 28: (1, 291472)
During this turn there were 3 calls to GameMap::path().
Creature AI finished 19748us early.
The Creature AI thread took: 0.048416
The misc upkeep thread took: 0.02844
Starting creature AI for turn 29
Processing deletion queues on turn 29: (1, 290447) Mesh: Loading Dirt_00001000.mesh.
WARNING: Dirt_00001000.mesh is an older format ([MeshSerializer_v1.40]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
Mesh: Loading Dirt_10001000.mesh.
An internal Ogre3D error ocurred: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Dirt_10001000.mesh in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /home/bender/Bureau/ogre/OgreMain/src/OgreResourceGroupManager.cpp (line 756)
Internal Ogre3D exception: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Dirt_10001000.mesh in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /home/bender/Bureau/ogre/OgreMain/src/OgreResourceGroupManager.cpp (line 756)
*** ERROR: Internal Ogre3D exception: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Dirt_10001000.mesh in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /home/bender/Bureau/ogre/OgreMain/src/OgreResourceGroupManager.cpp (line 756)
AL lib: ReleaseALC: 1 device not closed
Erreur de segmentation (core dumped)
Do you any ideas to fix it ?
For your information, I use :
cegui 7.9
ogre 1.8.2
ois 1.3 (from ubuntu's repository)
boost 1.49 (from ubuntu's repository)
gcc 4.7 (from ubuntu's repository)