I cannot compile FreeOrion on Slackware64-current (Linux). I have met all dependencies.
Compilation fails at about 48% with this output:
Code: Select all
Scanning dependencies of target pagedgeometry
[ 48%] Building CXX object PagedGeometry/CMakeFiles/pagedgeometry.dir/source/BatchedGeometry.cpp.o
In file included from /tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/source/BatchedGeometry.cpp:35:0:
/tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/include/BatchedGeometry.h: In constructor 'Forests::BatchedGeometry::BatchedGeometry(Ogre::SceneManager*, Ogre::SceneNode*)':
/tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/include/BatchedGeometry.h:190:31: warning: 'Forests::BatchedGeometry::m_pParentSceneNode' will be initialized after [-Wreorder]
Ogre::SceneNode* m_pParentSceneNode;
^
/tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/include/BatchedGeometry.h:185:31: warning: 'bool Forests::BatchedGeometry::m_bWithinFarDistance' [-Wreorder]
bool m_bWithinFarDistance;
^
/tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/source/BatchedGeometry.cpp:74:1: warning: when initialized here [-Wreorder]
BatchedGeometry::BatchedGeometry(Ogre::SceneManager *mgr, Ogre::SceneNode *rootSceneNode) :
^
In file included from /tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/source/BatchedGeometry.cpp:35:0:
/tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/include/BatchedGeometry.h:185:31: warning: 'Forests::BatchedGeometry::m_bWithinFarDistance' will be initialized after [-Wreorder]
bool m_bWithinFarDistance;
^
/tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/include/BatchedGeometry.h:176:31: warning: 'bool Forests::BatchedGeometry::m_Built' [-Wreorder]
bool m_Built;
^
/tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/source/BatchedGeometry.cpp:74:1: warning: when initialized here [-Wreorder]
BatchedGeometry::BatchedGeometry(Ogre::SceneManager *mgr, Ogre::SceneNode *rootSceneNode) :
^
In file included from /tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/source/BatchedGeometry.cpp:35:0:
/tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/include/BatchedGeometry.h:178:31: warning: 'Forests::BatchedGeometry::m_vecCenter' will be initialized after [-Wreorder]
Ogre::Vector3 m_vecCenter;
^
/tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/include/BatchedGeometry.h:177:31: warning: 'bool Forests::BatchedGeometry::m_BoundsUndefined' [-Wreorder]
bool m_BoundsUndefined;
^
/tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/source/BatchedGeometry.cpp:74:1: warning: when initialized here [-Wreorder]
BatchedGeometry::BatchedGeometry(Ogre::SceneManager *mgr, Ogre::SceneNode *rootSceneNode) :
^
In file included from /tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/source/BatchedGeometry.cpp:35:0:
/tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/include/BatchedGeometry.h: In constructor 'Forests::BatchedGeometry::SubBatch::SubBatch(Forests::BatchedGeometry*, Ogre::SubEntity*)':
/tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/include/BatchedGeometry.h:130:28: warning: 'Forests::BatchedGeometry::SubBatch::m_pBestTechnique' will be initialized after [-Wreorder]
Ogre::Technique* m_pBestTechnique; ///< Technique recalculated every frame
^
/tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/include/BatchedGeometry.h:118:28: warning: 'Ogre::VertexData* Forests::BatchedGeometry::SubBatch::m_pVertexData' [-Wreorder]
Ogre::VertexData* m_pVertexData; ///<
^
/tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/source/BatchedGeometry.cpp:460:1: warning: when initialized here [-Wreorder]
BatchedGeometry::SubBatch::SubBatch(BatchedGeometry *parent, SubEntity *ent) :
^
In file included from /usr/include/OGRE/OgreHardwareBuffer.h:33:0,
from /usr/include/OGRE/OgreHardwareVertexBuffer.h:33,
from /usr/include/OGRE/OgreVertexIndexData.h:32,
from /usr/include/OGRE/OgreRenderOperation.h:32,
from /usr/include/OGRE/OgreRenderable.h:34,
from /usr/include/OGRE/OgreNode.h:38,
from /usr/include/OGRE/OgreSceneNode.h:33,
from /usr/include/OGRE/OgreSceneManager.h:37,
from /usr/include/OGRE/OgreSceneManagerEnumerator.h:33,
from /usr/include/OGRE/OgreRoot.h:36,
from /tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/source/BatchedGeometry.cpp:16:
/tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/source/BatchedGeometry.cpp: In member function 'void Forests::BatchedGeometry::SubBatch::addSubEntity(Ogre::SubEntity*, const Ogre::Vector3&, const Ogre::Quaternion&, const Ogre::Vector3&, const Ogre::ColourValue&, void*)':
/usr/include/OGRE/OgreException.h:265:126: error: invalid conversion from 'int' to 'Ogre::Exception::ExceptionCodes' [-fpermissive]
#define OGRE_EXCEPT(code, desc, src) Ogre::ExceptionFactory::throwException(code, code, desc, src, __FILE__, __LINE__)
^
/tmp/SBo/freeorion-code-7708-tags-RELEASE_V_0_4_4/PagedGeometry/source/BatchedGeometry.cpp:550:10: note: in expansion of macro 'OGRE_EXCEPT'
OGRE_EXCEPT(0, "Unknown RenderSystem color format", "BatchedGeometry::SubBatch::addSubMesh()");
^
/usr/include/OGRE/OgreException.h:240:29: error: initializing argument 1 of 'static void Ogre::ExceptionFactory::throwException(Ogre::Exception::ExceptionCodes, int, const String&, const String&, const char*, long int)' [-fpermissive]
static OGRE_NORETURN void throwException(
^
make[2]: *** [PagedGeometry/CMakeFiles/pagedgeometry.dir/source/BatchedGeometry.cpp.o] Error 1
make[1]: *** [PagedGeometry/CMakeFiles/pagedgeometry.dir/all] Error 2
make: *** [all] Error 2