rogerdv
15-05-2009 12:52:44
I have followed the instructions to build under Linux, copied the missing files, etc. But I still get this error:
Im using the code from Ogre addons svn. I havent tried yet in Windows with Code::Blocks.
../include/OgreBulletDynamicsConstraint.h:68: error: ISO C++ forbids declaration of 'btActionInterface' with no type
../include/OgreBulletDynamicsConstraint.h:68: error: 'btActionInterface' declared as an 'inline' field
../include/OgreBulletDynamicsConstraint.h:68: error: expected ';' before '*' token
../include/OgreBulletDynamicsConstraint.h:71: error: ISO C++ forbids declaration of 'btActionInterface' with no type
../include/OgreBulletDynamicsConstraint.h:71: error: expected ';' before '*' token
../include/Constraints/OgreBulletDynamicsRaycastVehicle.h: In member function 'btRaycastVehicle* OgreBulletDynamics::RaycastVehicle::getBulletVehicle()':
../include/Constraints/OgreBulletDynamicsRaycastVehicle.h:97: error: 'mActionInterface' was not declared in this scope
OgreBulletDynamicsConstraint.cpp: In constructor 'OgreBulletDynamics::ActionInterface::ActionInterface(OgreBulletDynamics::DynamicsWorld*)':
OgreBulletDynamicsConstraint.cpp:79: error: class 'OgreBulletDynamics::ActionInterface' does not have any field named 'mActionInterface'
OgreBulletDynamicsConstraint.cpp: In constructor 'OgreBulletDynamics::ActionInterface::ActionInterface(OgreBulletDynamics::RigidBody*)':
OgreBulletDynamicsConstraint.cpp:87: error: class 'OgreBulletDynamics::ActionInterface' does not have any field named 'mActionInterface'
OgreBulletDynamicsConstraint.cpp: In constructor 'OgreBulletDynamics::ActionInterface::ActionInterface(OgreBulletDynamics::RigidBody*, OgreBulletDynamics::RigidBody*)':
OgreBulletDynamicsConstraint.cpp:96: error: class 'OgreBulletDynamics::ActionInterface' does not have any field named 'mActionInterface'
OgreBulletDynamicsConstraint.cpp: In destructor 'virtual OgreBulletDynamics::ActionInterface::~ActionInterface()':
OgreBulletDynamicsConstraint.cpp:108: error: 'mActionInterface' was not declared in this scope
OgreBulletDynamicsConstraint.cpp:111: error: type '<type error>' argument given to 'delete', expected pointer
make[3]: *** [OgreBulletDynamicsConstraint.lo] Error 1
make[3]: se sale del directorio `/home/roger/projects/ogrebullet/Dynamics/src'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/home/roger/projects/ogrebullet/Dynamics'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/roger/projects/ogrebullet'
make: *** [all] Error 2
Im using the code from Ogre addons svn. I havent tried yet in Windows with Code::Blocks.