Can't build it

lerby

13-12-2014 20:17:58

I am trying to make my first ogrebullet project, but can't even build it. When i am trying, i am getting
Error 1 error C2039: 'Font' : is not a member of 'Ogre' c:\ogre\bullet\collisions\include\Debug\OgreBulletCollisionsDebugContact.h 172

I've added:
#include <OgreFont.h>
and get over 290 errors, like
Error 3 error C2664: 'OgreBulletCollisions::Object *OgreBulletCollisions::CollisionsWorld::findObject(Ogre::SceneNode *) const' : cannot convert parameter 1 from 'const btCollisionObject *' to 'Ogre::SceneNode *' C:\ogre\Bullet\Collisions\src\OgreBulletCollisionsRay.cpp 87
Error 4 error C2664: 'Ogre::Font::Font(const Ogre::Font &)' : cannot convert parameter 1 from 'int' to 'const Ogre::Font &' C:\ogre\Bullet\Collisions\src\Debug\OgreBulletCollisionsDebugContact.cpp 156
Error 5 error C2675: unary '!' : 'Ogre::Font' does not define this operator or a conversion to a type acceptable to the predefined operator C:\ogre\Bullet\Collisions\src\Debug\OgreBulletCollisionsDebugContact.cpp 195
Error 6 error C2679: binary '=' : no operator found which takes a right-hand operand of type 'Ogre::Font *' (or there is no acceptable conversion) C:\ogre\Bullet\Collisions\src\Debug\OgreBulletCollisionsDebugContact.cpp 198


What i am doing wrong? Is there anywhere precompiled version of ogrebullet?

hyst329

06-02-2015 06:32:59

Are you using Ogre 1.9? Maybe the problem is related to Ogre's Overlay system