Code: Select all
while(getNumCharacterControllers() > 0)
{
removeCharacterController(getCharacterController(0));
}
Code: Select all
while(getNumCharacterControllers() > 0)
{
removeCharacterController(getCharacterController(0));
}
Code: Select all
if(event.EventType == irr::EET_LOG_TEXT_EVENT)
{
Log+= event.LogEvent.Text;
Log+= "\n";
LogChanged= true;
}
yes, of course...he is using == instead of strcmp() (common pointers error), so it will never return a result (because the pointers will not be equals)...zeroZshadow wrote:It seems that getCollisionObjectByName is returned wrong results.
Not so. irr::core::stringw implements the == operator, so it's correct.Zurzaza wrote:yes, of course...he is using == instead of strcmp() (common pointers error), so it will never return a result (because the pointers will not be equals)...zeroZshadow wrote:It seems that getCollisionObjectByName is returned wrong results.
That's a pitty. Also a bit illogical.cobra wrote:Hi entity. I don't use Irrlicht's logger to print messages.
Code: Select all
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(bulletworld.o)||In function `ZN14irrBulletWorld21removeCollisionObjectEP16ICollisionObjectb':|
C:\Programming\Library\irrBullet\source\bulletworld.h|159|undefined reference to `btSoftRigidDynamicsWorld::removeSoftBody(btSoftBody*)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(bulletworld.o)||In function `ZN14irrBulletWorld11addSoftBodyEPN3irr5scene14IMeshSceneNodeE':|
C:\Programming\Library\irrBullet\source\bulletworld.h|159|undefined reference to `btSoftRigidDynamicsWorld::addSoftBody(btSoftBody*, short, short)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(bulletworld.o)||In function `ZN14irrBulletWorldD1Ev':|
C:\Programming\Library\irrBullet\source\..\include\bheaders\Bullet\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
C:\Programming\Library\irrBullet\source\..\include\bheaders\Bullet\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(bulletworld.o)||In function `ZN14irrBulletWorldD2Ev':|
C:\Programming\Library\irrBullet\source\..\include\bheaders\Bullet\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
C:\Programming\Library\irrBullet\source\..\include\bheaders\Bullet\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(bulletworld.o)||In function `ZN14irrBulletWorldC1EPN3irr14IrrlichtDeviceEbb':|
C:\Programming\Library\irrBullet\source\..\include\bheaders\Bullet\BulletCollision\CollisionDispatch\btDefaultCollisionConfiguration.h|43|undefined reference to `btSoftBodyRigidBodyCollisionConfiguration::btSoftBodyRigidBodyCollisionConfiguration(btDefaultCollisionConstructionInfo const&)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(bulletworld.o)||In function `ZN14irrBulletWorldC1EPN3irr14IrrlichtDeviceEbb':|
C:\Programming\Library\irrBullet\source\bulletworld.cpp|22|undefined reference to `btCollisionDispatcher::btCollisionDispatcher(btCollisionConfiguration*)'|
C:\Programming\Library\irrBullet\source\bulletworld.cpp|23|undefined reference to `btDbvtBroadphase::btDbvtBroadphase(btOverlappingPairCache*)'|
C:\Programming\Library\irrBullet\source\bulletworld.cpp|24|undefined reference to `btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver()'|
C:\Programming\Library\irrBullet\source\bulletworld.cpp|26|undefined reference to `btSoftRigidDynamicsWorld::btSoftRigidDynamicsWorld(btDispatcher*, btBroadphaseInterface*, btConstraintSolver*, btCollisionConfiguration*)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(bulletworld.o)||In function `ZN14irrBulletWorldC1EPN3irr14IrrlichtDeviceEbb':|
C:\Programming\Library\irrBullet\source\..\include\bheaders\Bullet\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(bulletworld.o)||In function `ZN14irrBulletWorldC1EPN3irr14IrrlichtDeviceEbb':|
C:\Programming\Library\irrBullet\source\bulletworld.cpp|46|undefined reference to `btGImpactCollisionAlgorithm::registerAlgorithm(btCollisionDispatcher*)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(bulletworld.o)||In function `ZN14irrBulletWorldC1EPN3irr14IrrlichtDeviceEbb':|
C:\Programming\Library\irrBullet\source\..\include\bheaders\Bullet\LinearMath\btAlignedAllocator.h|85|undefined reference to `btAlignedAllocInternal(unsigned int, int)'|
C:\Programming\Library\irrBullet\source\..\include\bheaders\Bullet\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(bulletworld.o)||In function `ZN14irrBulletWorldC2EPN3irr14IrrlichtDeviceEbb':|
C:\Programming\Library\irrBullet\source\..\include\bheaders\Bullet\BulletCollision\CollisionDispatch\btDefaultCollisionConfiguration.h|43|undefined reference to `btSoftBodyRigidBodyCollisionConfiguration::btSoftBodyRigidBodyCollisionConfiguration(btDefaultCollisionConstructionInfo const&)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(bulletworld.o)||In function `ZN14irrBulletWorldC2EPN3irr14IrrlichtDeviceEbb':|
C:\Programming\Library\irrBullet\source\bulletworld.cpp|22|undefined reference to `btCollisionDispatcher::btCollisionDispatcher(btCollisionConfiguration*)'|
C:\Programming\Library\irrBullet\source\bulletworld.cpp|23|undefined reference to `btDbvtBroadphase::btDbvtBroadphase(btOverlappingPairCache*)'|
C:\Programming\Library\irrBullet\source\bulletworld.cpp|24|undefined reference to `btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver()'|
C:\Programming\Library\irrBullet\source\bulletworld.cpp|26|undefined reference to `btSoftRigidDynamicsWorld::btSoftRigidDynamicsWorld(btDispatcher*, btBroadphaseInterface*, btConstraintSolver*, btCollisionConfiguration*)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(bulletworld.o)||In function `ZN14irrBulletWorldC2EPN3irr14IrrlichtDeviceEbb':|
C:\Programming\Library\irrBullet\source\..\include\bheaders\Bullet\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(bulletworld.o)||In function `ZN14irrBulletWorldC2EPN3irr14IrrlichtDeviceEbb':|
C:\Programming\Library\irrBullet\source\bulletworld.cpp|46|undefined reference to `btGImpactCollisionAlgorithm::registerAlgorithm(btCollisionDispatcher*)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(bulletworld.o)||In function `ZN14irrBulletWorldC2EPN3irr14IrrlichtDeviceEbb':|
C:\Programming\Library\irrBullet\source\..\include\bheaders\Bullet\LinearMath\btAlignedAllocator.h|85|undefined reference to `btAlignedAllocInternal(unsigned int, int)'|
C:\Programming\Library\irrBullet\source\..\include\bheaders\Bullet\LinearMath\btAlignedAllocator.h|90|undefined reference to `btAlignedFreeInternal(void*)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(bulletworld.o)||In function `ZN3irr4core12irrAllocatorINS0_4listIP29ICollisionCallbackInformationE10SKListNodeEE12internal_newEj':|
C:\Programming\Library\irrBullet\source\bulletworld.cpp|| undefined reference to `btGImpactCollisionAlgorithm::registerAlgorithm(btCollisionDispatcher*)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(bulletworld.o)||In function `ZN14irrBulletWorld28synchronizeSingleMotionStateEP10IRigidBody':|
C:\Programming\Library\irrBullet\source\bulletworld.h|159|undefined reference to `btDiscreteDynamicsWorld::synchronizeSingleMotionState(btRigidBody*)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(raycastvehicle.o)||In function `ZN18btVehicleRaycasterD1Ev':|
C:\Programming\Library\irrBullet\source\..\include\bheaders\Bullet\BulletDynamics\Vehicle\btVehicleRaycaster.h|21|undefined reference to `btRaycastVehicle::addWheel(btVector3 const&, btVector3 const&, btVector3 const&, float, float, btRaycastVehicle::btVehicleTuning const&, bool)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(raycastvehicle.o)||In function `ZN15IRaycastVehicle15updateWheelInfoEj':|
C:\Programming\Library\irrBullet\source\raycastvehicle.h|130|undefined reference to `btRaycastVehicle::getWheelInfo(int)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(raycastvehicle.o)||In function `ZN15IRaycastVehicle12getWheelInfoEj':|
C:\Programming\Library\irrBullet\source\raycastvehicle.h|130|undefined reference to `btRaycastVehicle::getWheelInfo(int)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(raycastvehicle.o)||In function `ZN15IRaycastVehicleC1EP10IRigidBodyP14irrBulletWorldN3irr4core8vector3dIiEE':|
C:\Programming\Library\irrBullet\source\..\include\bheaders\Bullet\BulletDynamics\Vehicle\btRaycastVehicle.h|200|undefined reference to `vtable for btDefaultVehicleRaycaster'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(raycastvehicle.o)||In function `ZN15IRaycastVehicleC1EP10IRigidBodyP14irrBulletWorldN3irr4core8vector3dIiEE':|
C:\Programming\Library\irrBullet\source\rigidbody.h|183|undefined reference to `btRaycastVehicle::btRaycastVehicle(btRaycastVehicle::btVehicleTuning const&, btRigidBody*, btVehicleRaycaster*)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(raycastvehicle.o)||In function `ZN15IRaycastVehicleC2EP10IRigidBodyP14irrBulletWorldN3irr4core8vector3dIiEE':|
C:\Programming\Library\irrBullet\source\..\include\bheaders\Bullet\BulletDynamics\Vehicle\btRaycastVehicle.h|200|undefined reference to `vtable for btDefaultVehicleRaycaster'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(raycastvehicle.o)||In function `ZN15IRaycastVehicleC2EP10IRigidBodyP14irrBulletWorldN3irr4core8vector3dIiEE':|
C:\Programming\Library\irrBullet\source\rigidbody.h|183|undefined reference to `btRaycastVehicle::btRaycastVehicle(btRaycastVehicle::btVehicleTuning const&, btRigidBody*, btVehicleRaycaster*)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(raycastvehicle.o)||In function `ZN15IRaycastVehicle15resetSuspensionEv':|
C:\Programming\Library\irrBullet\source\raycastvehicle.h|130|undefined reference to `btRaycastVehicle::resetSuspension()'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(raycastvehicle.o)||In function `ZN15IRaycastVehicle16setSteeringValueEfj':|
C:\Programming\Library\irrBullet\source\raycastvehicle.h|130|undefined reference to `btRaycastVehicle::setSteeringValue(float, int)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(raycastvehicle.o)||In function `ZN15IRaycastVehicle16applyEngineForceEfj':|
C:\Programming\Library\irrBullet\source\raycastvehicle.h|130|undefined reference to `btRaycastVehicle::applyEngineForce(float, int)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(raycastvehicle.o)||In function `ZN15IRaycastVehicle20updateWheelTransformEjb':|
C:\Programming\Library\irrBullet\source\raycastvehicle.h|130|undefined reference to `btRaycastVehicle::updateWheelTransform(int, bool)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(raycastvehicle.o)||In function `ZN15IRaycastVehicle8setBrakeEfj':|
C:\Programming\Library\irrBullet\source\raycastvehicle.h|130|undefined reference to `btRaycastVehicle::setBrake(float, int)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(collisionobject.o)||In function `ZN16ICollisionObject18setActivationStateE16EActivationState':|
C:\Programming\Library\irrBullet\source\collisionobject.cpp|199|undefined reference to `btCollisionObject::setActivationState(int)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(collisionobject.o)||In function `ZN16ICollisionObject20forceActivationStateE16EActivationState':|
C:\Programming\Library\irrBullet\source\collisionobject.cpp|199|undefined reference to `btCollisionObject::forceActivationState(int)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(collisionobject.o)||In function `ZN16ICollisionObject8activateEb':|
C:\Programming\Library\irrBullet\source\collisionobject.cpp|199|undefined reference to `btCollisionObject::activate(bool)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(softbody.o)||In function `ZN9ISoftBodyD1Ev':|
C:\Programming\Library\irrBullet\source\bulletworld.h|159|undefined reference to `btSoftRigidDynamicsWorld::removeSoftBody(btSoftBody*)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(softbody.o)||In function `ZN9ISoftBodyD2Ev':|
C:\Programming\Library\irrBullet\source\bulletworld.h|159|undefined reference to `btSoftRigidDynamicsWorld::removeSoftBody(btSoftBody*)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(softbody.o)||In function `ZN9ISoftBody11createShapeEPN3irr5scene5IMeshE':|
C:\Programming\Library\irrBullet\source\bulletworld.h|171|undefined reference to `btSoftBodyHelpers::CreateFromTriMesh(btSoftBodyWorldInfo&, float const*, int const*, int)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(softbody.o)||In function `ZN9ISoftBody11createShapeEPN3irr5scene5IMeshE':|
C:\Programming\Library\irrBullet\source\softbody.h|32|undefined reference to `btSoftBody::scale(btVector3 const&)'|
C:\Programming\Library\irrBullet\source\softbody.h|32|undefined reference to `btSoftBody::setPose(bool, bool)'|
C:\Programming\Library\irrBullet\source\softbody.h|32|undefined reference to `btSoftBody::generateBendingConstraints(int, btSoftBody::Material*)'|
C:\Programming\Library\irrBullet\source\softbody.h|32|undefined reference to `btSoftBody::randomizeConstraints()'|
C:\Programming\Library\irrBullet\source\softbody.h|32|undefined reference to `btSoftBody::transform(btTransform const&)'|
C:\Library\irrBullet\lib\win32_gcc\Debug\libirrBulletDebug.a(rigidbody.o)||In function `ZNK10IRigidBody7getAabbERN3irr4core8vector3dIfEES4_':|
C:\Programming\Library\irrBullet\source\rigidbody.h|183|undefined reference to `btRigidBody::getAabb(btVector3&, btVector3&) const'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings ===|
did i miss something?libbulletcollision.a
libbulletdynamics.a
libbulletmath.a
libbulletmultithreaded.a
libbulletsoftbody.a