NoodlesOnMyBack
20-05-2008 02:35:02
Hi! Im trying to compile with last version of Shoggoth and:
Error 1 error C2259: 'ET::Impl::Tile' : cannot instantiate abstract class
due to following members:
'void Ogre::MovableObject::visitRenderables(Ogre::Renderable::Visitor *,bool)' : is abstract
Everything else compiled OK apparently, how could i fix this?
Thanks in advance
NoodlesOnMyBack
20-05-2008 03:03:19
ooops, i had to add this to ETTile.h:
#include <OgrePrerequisites.h>
And
#if OGRE_VERSION_MAJOR == 1 && OGRE_VERSION_MINOR == 5
/** Overridden from MovableObject */
virtual void visitRenderables(Ogre::Renderable::Visitor* visitor, bool debugRenderables = false){}
#endif
BloodyFanatic
20-05-2008 09:38:53
ooops, i had to add this to ETTile.h:
#if OGRE_VERSION_MAJOR == 1 && OGRE_VERSION_MINOR
shouldn't it be
#if OGRE_VERSION_MAJOR == 1 && OGRE_VERSION_MINOR >= 4
?
OGRE_VERSION_MINOR == 5 won't work for the official release. and in newer svn versions OGRE_VERSION_MINOR is 7
NoodlesOnMyBack
20-05-2008 17:42:35
ooops, i had to add this to ETTile.h:
#if OGRE_VERSION_MAJOR == 1 && OGRE_VERSION_MINOR
shouldn't it be
#if OGRE_VERSION_MAJOR == 1 && OGRE_VERSION_MINOR >= 4
?
OGRE_VERSION_MINOR == 5 won't work for the official release. and in newer svn versions OGRE_VERSION_MINOR is 7
Hehe, in fact it should be:
#if OGRE_VERSION_MAJOR == 1 && OGRE_VERSION_MINOR > 4
I wouldnt noticed it if you werent told me,thanx
BloodyFanatic
20-05-2008 18:00:25
Hehe, in fact it should be:
#if OGRE_VERSION_MAJOR == 1 && OGRE_VERSION_MINOR > 4
I wouldnt noticed it if you werent told me,thanx
oops, I really hate those greater/less than or equal stuff. I always place those wrong