I'm getting the following Error snippet (full log is attached):
Code: Select all
[ 81%] Building CXX object client/human/CMakeFiles/freeorion.dir/__/__/UI/CombatSetupWnd.cpp.o
In file included from /usr/include/OGRE/OgreMaterial.h:31:0,
from /home/chris/freeorion-workdir/freeorion-svn/freeorion/FreeOrion/UI/CombatWndFwd.h:5,
from /home/chris/freeorion-workdir/freeorion-svn/freeorion/FreeOrion/UI/CombatWnd.h:5,
from /home/chris/freeorion-workdir/freeorion-svn/freeorion/FreeOrion/UI/CombatSetupWnd.cpp:3:
/usr/include/OGRE/OgrePrerequisites.h:314:33: error: conflicting declaration 'typedef class Ogre::SharedPtr<Ogre::Material> Ogre::MaterialPtr'
typedef SharedPtr<Material> MaterialPtr;
^
In file included from /home/chris/freeorion-workdir/freeorion-svn/freeorion/FreeOrion/UI/CombatSetupWnd.cpp:1:0:
/home/chris/freeorion-workdir/freeorion-svn/freeorion/FreeOrion/UI/CombatSetupWnd.h:14:11: error: 'class Ogre::MaterialPtr' has a previous declaration as 'class Ogre::MaterialPtr'
class MaterialPtr;
^
cmake . 2>&1 | tee freeorion-arch-cmake.log
make -j1 -k 2>&1 | tee freeorion-arch-build.log
Is ogre 1.9.0 a problem? Is the cmake output enough for all the dependencies and versions? I had to make a symlink /usr/include/freetype to freetype2. Otherwise, it compiled nicely with make -j4 and my 4 gigs of RAM.