Home | Tutorials | Wiki | Issues
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thanks, nkoenig, it is indeed fixed, but when I pulled in the latest changes today and tried to compile, this is what I get:

Linking CXX shared library libgazebo_msgs.so
[ 39%] Built target gazebo_msgs
Scanning dependencies of target gazebo_physics_bullet
[ 40%] Building CXX object gazebo/physics/bullet/CMakeFiles/gazebo_physics_bullet.dir/BulletPhysics.cc.o
/home/ro/playerstagegazebo/gazebo-dev/gazebo/physics/bullet/BulletPhysics.cc: In function ‘gazebo::physics::PhysicsEnginePtr NewBulletPhysics(gazebo::physics::WorldPtr)’:
/home/ro/playerstagegazebo/gazebo-dev/gazebo/physics/bullet/BulletPhysics.cc:60:1: error: cannot allocate an object of abstract type ‘gazebo::physics::BulletPhysics’
/home/ro/playerstagegazebo/gazebo-dev/gazebo/physics/bullet/BulletPhysics.hh:48:5: note:   because the following virtual functions are pure within ‘gazebo::physics::BulletPhysics’:
/home/ro/playerstagegazebo/gazebo-dev/gazebo/physics/PhysicsEngine.hh:104:32: note:     virtual gazebo::physics::JointPtr gazebo::physics::PhysicsEngine::CreateJoint(const std::string&, gazebo::physics::ModelPtr)
/home/ro/playerstagegazebo/gazebo-dev/gazebo/physics/bullet/BulletPhysics.cc: At global scope:
/home/ro/playerstagegazebo/gazebo-dev/gazebo/physics/bullet/BulletPhysics.cc:67:11: error: ‘btCollisionObjectWrapper’ does not name a type
/home/ro/playerstagegazebo/gazebo-dev/gazebo/physics/bullet/BulletPhysics.cc:67:36: error: ISO C++ forbids declaration of ‘parameter’ with no type
/home/ro/playerstagegazebo/gazebo-dev/gazebo/physics/bullet/BulletPhysics.cc:68:28: error: ‘btCollisionObjectWrapper’ does not name a type
/home/ro/playerstagegazebo/gazebo-dev/gazebo/physics/bullet/BulletPhysics.cc:68:53: error: ISO C++ forbids declaration of ‘parameter’ with no type
/home/ro/playerstagegazebo/gazebo-dev/gazebo/physics/bullet/BulletPhysics.cc: In constructor ‘gazebo::physics::BulletPhysics::BulletPhysics(gazebo::physics::WorldPtr)’:
/home/ro/playerstagegazebo/gazebo-dev/gazebo/physics/bullet/BulletPhysics.cc:99:27: error: invalid conversion from ‘bool (*)(btManifoldPoint&, const int*, int, int, const int*, int, int)’ to ‘bool (*)(btManifoldPoint&, const btCollisionObject*, int, int, const btCollisionObject*, int, int)’
/home/ro/playerstagegazebo/gazebo-dev/gazebo/physics/bullet/BulletPhysics.cc: In function ‘gazebo::physics::PhysicsEnginePtr NewBulletPhysics(gazebo::physics::WorldPtr)’:
/home/ro/playerstagegazebo/gazebo-dev/gazebo/physics/bullet/BulletPhysics.cc:60:1: warning: control reaches end of non-void function
make[2]: *** [gazebo/physics/bullet/CMakeFiles/gazebo_physics_bullet.dir/BulletPhysics.cc.o] Error 1
make[1]: *** [gazebo/physics/bullet/CMakeFiles/gazebo_physics_bullet.dir/all] Error 2
make: *** [all] Error 2