Error: ==== Building XGE ==== BulletManager.cpp In file included from src/Modules/BulletDynamics/../../../include/Modules/BulletDynamics/BulletBody.hpp:5, from src/Modules/BulletDynamics/../../../include/Modules/BulletDynamics/BulletManager.hpp:7, from src/Modules/BulletDynamics/BulletManager.cpp:1: src/Modules/BulletDynamics/../../../include/Modules/BulletDynamics/./OC/OCControl_Bullet.hpp:17: error: ISO C++ forbids declaration of ‘BulletBody’ with no type src/Modules/BulletDynamics/../../../include/Modules/BulletDynamics/./OC/OCControl_Bullet.hpp:17: error: invalid use of ‘::’ src/Modules/BulletDynamics/../../../include/Modules/BulletDynamics/./OC/OCControl_Bullet.hpp:17: error: expected ‘;’ before ‘*’ token src/Modules/BulletDynamics/../../../include/Modules/BulletDynamics/./OC/OCControl_Bullet.hpp: In constructor ‘XGE::Modules::BulletDynamics::OC::BulletControl::BulletControl(const Ogre::String&)’: src/Modules/BulletDynamics/../../../include/Modules/BulletDynamics/./OC/OCControl_Bullet.hpp:20: error: expected `{' at end of input In file included from src/Modules/BulletDynamics/../../../include/Modules/BulletDynamics/BulletManager.hpp:7, from src/Modules/BulletDynamics/BulletManager.cpp:1: src/Modules/BulletDynamics/../../../include/Modules/BulletDynamics/BulletBody.hpp: In constructor ‘XGE::Modules::BulletDynamics::BulletBody::BulletBody(const Ogre::String&)’: src/Modules/BulletDynamics/../../../include/Modules/BulletDynamics/BulletBody.hpp:20: error: expected `{' at end of input make[1]: *** [obj/Debug/BulletManager.o] Error 1 make: *** [XGE] Error 2 The Code: OCControl_Bullet.hpp #ifndef OC_BULLET_CONTROL_H_INCLUDED #define OC_BULLET_CONTROL_H_INCLUDED #include "XGE_Common.hpp" #include "ObjectComponent.hpp" #include "../BulletBody.hpp" #include "../../../OC/OCControl_Base.hpp" #include #include #include #include namespace XGE { namespace Modules { namespace BulletDynamics { namespace OC { class BulletControl : public XGE::OC::Control, public btMotionState { protected: XGE::Modules::BulletDynamics::BulletBody* mBody; public: BulletControl(const Ogre::String& nName) : XGE::OC::Control(nName); ~BulletControl(); void init(Ogre::SceneManager* nSM, btCollisionShape* nCollisionShape, const Ogre::Real& nMass, const Ogre::Vector3& nLocalInertia=Ogre::Vector3(0,0,0), const Ogre::Real& nLinearDamping=Ogre::Real(0), const Ogre::Real& nAngularDamping=Ogre::Real(0), const Ogre::Real& nFriction=Ogre::Real(0.5), const Ogre::Real& nRestitution=Ogre::Real(0)); }; }}}} #endif // OC_BULLET_MOTION_STATE_H_INCLUDED