Problem of compilation

Asked by funix on 2008-11-23

Hello,

I have some difficulties to compile ember 0.5.4, here is the error

OgrePagingLandScapePage.cpp:159: error: cannot allocate an object of abstract type 'Ogre::PagingLandScapePageRenderable'
../../../../../../src/components/ogre/SceneManagers/EmberPagingSceneManager/include/OgrePagingLandScapePageRenderable.h:34: note: because the following virtual functions are pure within 'Ogre::PagingLandScapePageRenderable':
/usr/local/include/OGRE/OgreMovableObject.h:485: note: virtual void Ogre::MovableObject::visitRenderables(Ogre::Renderable::Visitor*, bool)
make[7]: *** [OgrePagingLandScapePage.lo] Error 1

I use ogre 1.6.0 and mandriva 2008.1 (gcc 4.2.3)

Question information

Language:
French Edit question
Status:
Solved
For:
Ember Edit question
Assignee:
No assignee Edit question
Solved by:
Erik Ogenvik
Solved:
2008-11-28
Last query:
2008-11-28
Last reply:
2008-11-24
Best Erik Ogenvik (erik-ogenvik) said : #1

Hi, version 0.5.4 only works with Ogre 1.4. The current git head however works with Ogre 1.6, so you should either downgrade your Ogre version to 1.4.9 or upgrade the Ember version to the git development tree. Note though that the stability of the git head might be a little shifting.

funix (olivier-hoarau) said : #2

Thanks Erik Hjortsberg, that solved my question.