appVehicleDemo has build errors ?

MasterM
Posts: 11
Joined: Sun Oct 05, 2008 4:56 pm

appVehicleDemo has build errors ?

Post by MasterM »

Hey all, after having hard troubles running bullet in code::blocks i decided to download and instal microsoft visual c++ and run the bullet appVehicleDemo located in "bullet-2.72\msvc\8" but i get loads of erros...
here is the build log :


Compiling...
cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
VehicleDemo.cpp
Note: including lib: glut32.lib
main.cpp
Note: including lib: glut32.lib
Generating Code...
Compiling resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
Linking...
main.obj : error LNK2019: unresolved external symbol "int __cdecl glutmain(int,char * *,int,int,char const *,class DemoApplication *)" (?glutmain@@YAHHPAPADHHPBDPAVDemoApplication@@@Z) referenced in function _main
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: __thiscall DemoApplication::DemoApplication(void)" (??0DemoApplication@@QAE@XZ) referenced in function "public: __thiscall VehicleDemo::VehicleDemo(void)" (??0VehicleDemo@@QAE@XZ)
VehicleDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DemoApplication::keyboardCallback(unsigned char,int,int)" (?keyboardCallback@DemoApplication@@UAEXEHH@Z)
VehicleDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DemoApplication::reshape(int,int)" (?reshape@DemoApplication@@UAEXHH@Z)
VehicleDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DemoApplication::mouseFunc(int,int,int,int)" (?mouseFunc@DemoApplication@@UAEXHHHH@Z)
VehicleDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DemoApplication::mouseMotionFunc(int,int)" (?mouseMotionFunc@DemoApplication@@UAEXHH@Z)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall DemoApplication::~DemoApplication(void)" (??1DemoApplication@@UAE@XZ) referenced in function "public: virtual __thiscall VehicleDemo::~VehicleDemo(void)" (??1VehicleDemo@@UAE@XZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: void __thiscall btCollisionWorld::removeCollisionObject(class btCollisionObject *)" (?removeCollisionObject@btCollisionWorld@@QAEXPAVbtCollisionObject@@@Z) referenced in function "public: virtual __thiscall VehicleDemo::~VehicleDemo(void)" (??1VehicleDemo@@UAE@XZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: void __thiscall DemoApplication::setCameraDistance(float)" (?setCameraDistance@DemoApplication@@QAEXM@Z) referenced in function "public: void __thiscall VehicleDemo::initPhysics(void)" (?initPhysics@VehicleDemo@@QAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: struct btWheelInfo & __thiscall btRaycastVehicle::getWheelInfo(int)" (?getWheelInfo@btRaycastVehicle@@QAEAAUbtWheelInfo@@H@Z) referenced in function "public: void __thiscall VehicleDemo::initPhysics(void)" (?initPhysics@VehicleDemo@@QAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: struct btWheelInfo & __thiscall btRaycastVehicle::addWheel(class btVector3 const &,class btVector3 const &,class btVector3 const &,float,float,class btRaycastVehicle::btVehicleTuning const &,bool)" (?addWheel@btRaycastVehicle@@QAEAAUbtWheelInfo@@ABVbtVector3@@00MMABVbtVehicleTuning@1@_N@Z) referenced in function "public: void __thiscall VehicleDemo::initPhysics(void)" (?initPhysics@VehicleDemo@@QAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: void __thiscall btCollisionObject::setActivationState(int)" (?setActivationState@btCollisionObject@@QAEXH@Z) referenced in function "public: void __thiscall VehicleDemo::initPhysics(void)" (?initPhysics@VehicleDemo@@QAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: __thiscall btRaycastVehicle::btRaycastVehicle(class btRaycastVehicle::btVehicleTuning const &,class btRigidBody *,struct btVehicleRaycaster *)" (??0btRaycastVehicle@@QAE@ABVbtVehicleTuning@0@PAVbtRigidBody@@PAUbtVehicleRaycaster@@@Z) referenced in function "public: void __thiscall VehicleDemo::initPhysics(void)" (?initPhysics@VehicleDemo@@QAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: void __thiscall btCompoundShape::addChildShape(class btTransform const &,class btCollisionShape *)" (?addChildShape@btCompoundShape@@QAEXABVbtTransform@@PAVbtCollisionShape@@@Z) referenced in function "public: void __thiscall VehicleDemo::initPhysics(void)" (?initPhysics@VehicleDemo@@QAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: __thiscall btCompoundShape::btCompoundShape(void)" (??0btCompoundShape@@QAE@XZ) referenced in function "public: void __thiscall VehicleDemo::initPhysics(void)" (?initPhysics@VehicleDemo@@QAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: class btRigidBody * __thiscall DemoApplication::localCreateRigidBody(float,class btTransform const &,class btCollisionShape *)" (?localCreateRigidBody@DemoApplication@@QAEPAVbtRigidBody@@MABVbtTransform@@PAVbtCollisionShape@@@Z) referenced in function "public: void __thiscall VehicleDemo::initPhysics(void)" (?initPhysics@VehicleDemo@@QAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: __thiscall btBvhTriangleMeshShape::btBvhTriangleMeshShape(class btStridingMeshInterface *,bool,bool)" (??0btBvhTriangleMeshShape@@QAE@PAVbtStridingMeshInterface@@_N1@Z) referenced in function "public: void __thiscall VehicleDemo::initPhysics(void)" (?initPhysics@VehicleDemo@@QAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: __thiscall btTriangleIndexVertexArray::btTriangleIndexVertexArray(int,int *,int,int,float *,int)" (??0btTriangleIndexVertexArray@@QAE@HPAHHHPAMH@Z) referenced in function "public: void __thiscall VehicleDemo::initPhysics(void)" (?initPhysics@VehicleDemo@@QAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: __thiscall btDiscreteDynamicsWorld::btDiscreteDynamicsWorld(class btDispatcher *,class btBroadphaseInterface *,class btConstraintSolver *,class btCollisionConfiguration *)" (??0btDiscreteDynamicsWorld@@QAE@PAVbtDispatcher@@PAVbtBroadphaseInterface@@PAVbtConstraintSolver@@PAVbtCollisionConfiguration@@@Z) referenced in function "public: void __thiscall VehicleDemo::initPhysics(void)" (?initPhysics@VehicleDemo@@QAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: __thiscall btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver(void)" (??0btSequentialImpulseConstraintSolver@@QAE@XZ) referenced in function "public: void __thiscall VehicleDemo::initPhysics(void)" (?initPhysics@VehicleDemo@@QAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: __thiscall btAxisSweep3::btAxisSweep3(class btVector3 const &,class btVector3 const &,unsigned short,class btOverlappingPairCache *)" (??0btAxisSweep3@@QAE@ABVbtVector3@@0GPAVbtOverlappingPairCache@@@Z) referenced in function "public: void __thiscall VehicleDemo::initPhysics(void)" (?initPhysics@VehicleDemo@@QAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: __thiscall btCollisionDispatcher::btCollisionDispatcher(class btCollisionConfiguration *)" (??0btCollisionDispatcher@@QAE@PAVbtCollisionConfiguration@@@Z) referenced in function "public: void __thiscall VehicleDemo::initPhysics(void)" (?initPhysics@VehicleDemo@@QAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: __thiscall btDefaultCollisionConfiguration::btDefaultCollisionConfiguration(struct btDefaultCollisionConstructionInfo const &)" (??0btDefaultCollisionConfiguration@@QAE@ABUbtDefaultCollisionConstructionInfo@@@Z) referenced in function "public: void __thiscall VehicleDemo::initPhysics(void)" (?initPhysics@VehicleDemo@@QAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "void * __cdecl btAlignedAllocInternal(unsigned int,int)" (?btAlignedAllocInternal@@YAPAXIH@Z) referenced in function "public: static void * __cdecl btConvexShape::operator new(unsigned int)" (??2btConvexShape@@SAPAXI@Z)
VehicleDemo.obj : error LNK2019: unresolved external symbol "protected: __thiscall btPolyhedralConvexShape::btPolyhedralConvexShape(void)" (??0btPolyhedralConvexShape@@IAE@XZ) referenced in function "public: __thiscall btBoxShape::btBoxShape(class btVector3 const &)" (??0btBoxShape@@QAE@ABVbtVector3@@@Z)
VehicleDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btBoxShape::getAabb(class btTransform const &,class btVector3 &,class btVector3 &)const " (?getAabb@btBoxShape@@UBEXABVbtTransform@@AAVbtVector3@@1@Z)
VehicleDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btCollisionShape::getBoundingSphere(class btVector3 &,float &)const " (?getBoundingSphere@btCollisionShape@@UBEXAAVbtVector3@@AAM@Z)
VehicleDemo.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall btCollisionShape::getAngularMotionDisc(void)const " (?getAngularMotionDisc@btCollisionShape@@UBEMXZ)
VehicleDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btBoxShape::calculateLocalInertia(float,class btVector3 &)const " (?calculateLocalInertia@btBoxShape@@UBEXMAAVbtVector3@@@Z)
VehicleDemo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btConvexInternalShape::getAabbSlow(class btTransform const &,class btVector3 &,class btVector3 &)const " (?getAabbSlow@btConvexInternalShape@@UBEXABVbtTransform@@AAVbtVector3@@1@Z)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall btConvexInternalShape::setLocalScaling(class btVector3 const &)" (?setLocalScaling@btConvexInternalShape@@UAEXABVbtVector3@@@Z) referenced in function "public: virtual void __thiscall btBoxShape::setLocalScaling(class btVector3 const &)" (?setLocalScaling@btBoxShape@@UAEXABVbtVector3@@@Z)
VehicleDemo.obj : error LNK2019: unresolved external symbol "void __cdecl btAlignedFreeInternal(void *)" (?btAlignedFreeInternal@@YAXPAX@Z) referenced in function "public: static void __cdecl btConvexShape::operator delete(void *)" (??3btConvexShape@@SAXPAX@Z)
VehicleDemo.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btConvexInternalShape::localGetSupportingVertex(class btVector3 const &)const " (?localGetSupportingVertex@btConvexInternalShape@@UBE?AVbtVector3@@ABV2@@Z)
VehicleDemo.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall btDefaultVehicleRaycaster::castRay(class btVector3 const &,class btVector3 const &,struct btVehicleRaycaster::btVehicleRaycasterResult &)" (?castRay@btDefaultVehicleRaycaster@@UAEPAXABVbtVector3@@0AAUbtVehicleRaycasterResult@btVehicleRaycaster@@@Z)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall DemoApplication::renderme(void)" (?renderme@DemoApplication@@UAEXXZ) referenced in function "public: virtual void __thiscall VehicleDemo::renderme(void)" (?renderme@VehicleDemo@@UAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: void __thiscall GL_ShapeDrawer::drawOpenGL(float *,class btCollisionShape const *,class btVector3 const &,int,class btVector3 const &,class btVector3 const &)" (?drawOpenGL@GL_ShapeDrawer@@QAEXPAMPBVbtCollisionShape@@ABVbtVector3@@H22@Z) referenced in function "public: virtual void __thiscall VehicleDemo::renderme(void)" (?renderme@VehicleDemo@@UAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: void __thiscall btRaycastVehicle::updateWheelTransform(int,bool)" (?updateWheelTransform@btRaycastVehicle@@QAEXH_N@Z) referenced in function "public: virtual void __thiscall VehicleDemo::renderme(void)" (?renderme@VehicleDemo@@UAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: __thiscall btCylinderShapeX::btCylinderShapeX(class btVector3 const &)" (??0btCylinderShapeX@@QAE@ABVbtVector3@@@Z) referenced in function "public: virtual void __thiscall VehicleDemo::renderme(void)" (?renderme@VehicleDemo@@UAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: void __thiscall btRaycastVehicle::setSteeringValue(float,int)" (?setSteeringValue@btRaycastVehicle@@QAEXMH@Z) referenced in function "public: virtual void __thiscall VehicleDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@VehicleDemo@@UAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: void __thiscall btRaycastVehicle::setBrake(float,int)" (?setBrake@btRaycastVehicle@@QAEXMH@Z) referenced in function "public: virtual void __thiscall VehicleDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@VehicleDemo@@UAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: void __thiscall btRaycastVehicle::applyEngineForce(float,int)" (?applyEngineForce@btRaycastVehicle@@QAEXMH@Z) referenced in function "public: virtual void __thiscall VehicleDemo::clientMoveAndDisplay(void)" (?clientMoveAndDisplay@VehicleDemo@@UAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: void __thiscall btRaycastVehicle::resetSuspension(void)" (?resetSuspension@btRaycastVehicle@@QAEXXZ) referenced in function "public: virtual void __thiscall VehicleDemo::clientResetScene(void)" (?clientResetScene@VehicleDemo@@UAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: void __thiscall btRigidBody::setCenterOfMassTransform(class btTransform const &)" (?setCenterOfMassTransform@btRigidBody@@QAEXABVbtTransform@@@Z) referenced in function "public: virtual void __thiscall VehicleDemo::clientResetScene(void)" (?clientResetScene@VehicleDemo@@UAEXXZ)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall DemoApplication::specialKeyboardUp(int,int,int)" (?specialKeyboardUp@DemoApplication@@UAEXHHH@Z) referenced in function "public: virtual void __thiscall VehicleDemo::specialKeyboardUp(int,int,int)" (?specialKeyboardUp@VehicleDemo@@UAEXHHH@Z)
VehicleDemo.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall DemoApplication::specialKeyboard(int,int,int)" (?specialKeyboard@DemoApplication@@UAEXHHH@Z) referenced in function "public: virtual void __thiscall VehicleDemo::specialKeyboard(int,int,int)" (?specialKeyboard@VehicleDemo@@UAEXHHH@Z)
..\..\DebugVehicleDemo.exe : fatal error LNK1120: 45 unresolved externals
so when i builded the appVehicleDemo i got 46 errors and 1 warning..

Can anyone tell me what i am doing wrong :S ?
Thanks in advance.
mickey
Posts: 107
Joined: Fri Sep 19, 2008 6:08 pm

Re: appVehicleDemo has build errors ?

Post by mickey »

Hi MasterM

You need to link to the proper build debug/release libs of bullet (ie under project->properties->linker->input->additional dependencies). Don't forget to specify the path of the libs as well (ie, under linker->general->additional library directories).

Hope that helps.
MasterM
Posts: 11
Joined: Sun Oct 05, 2008 4:56 pm

Re: appVehicleDemo has build errors ?

Post by MasterM »

Thanks, after linking and including all the directories(in codeblocks) i get errors like these
obj\Debug\main.o||In function `_ZN12btIDebugDrawD1Ev':|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btIDebugDraw.h|58|undefined reference to `GLDebugDrawer::GLDebugDrawer()'|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btIDebugDraw.h|58|undefined reference to `glutmain(int, char**, int, int, char const*, DemoApplication*)'|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btIDebugDraw.h|58|undefined reference to `vtable for GLDebugDrawer'|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btIDebugDraw.h|58|undefined reference to `DemoApplication::~DemoApplication()'|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btIDebugDraw.h|58|undefined reference to `DemoApplication::~DemoApplication()'|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btIDebugDraw.h|58|undefined reference to `DemoApplication::DemoApplication()'|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btIDebugDraw.h|58|undefined reference to `DemoApplication::~DemoApplication()'|
obj\Debug\BasicDemo.o||In function `_ZN9BasicDemoD1Ev':|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btAlignedObjectArray.h:(.text+0xe)||undefined reference to `_glClear@4'|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btAlignedObjectArray.h:(.text+0x8f)||undefined reference to `_glFlush@0'|
obj\Debug\BasicDemo.o||In function `_ZN9BasicDemo15displayCallbackEv':|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\BasicDemo.cpp|62|undefined reference to `_glClear@4'|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\BasicDemo.cpp|70|undefined reference to `_glFlush@0'|
obj\Debug\BasicDemo.o||In function `_ZN9BasicDemo11initPhysicsEv':|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\BasicDemo.cpp|83|undefined reference to `DemoApplication::setCameraDistance(float)'|
obj\Debug\BasicDemo.o||In function `_ZN9BasicDemoD1Ev':|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btAlignedObjectArray.h:(.rdata$_ZTV9BasicDemo[vtable for BasicDemo]+0x14)||undefined reference to `DemoApplication::updateCamera()'|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btAlignedObjectArray.h:(.rdata$_ZTV9BasicDemo[vtable for BasicDemo]+0x1c)||undefined reference to `DemoApplication::clientResetScene()'|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btAlignedObjectArray.h:(.rdata$_ZTV9BasicDemo[vtable for BasicDemo]+0x20)||undefined reference to `DemoApplication::keyboardCallback(unsigned char, int, int)'|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btAlignedObjectArray.h:(.rdata$_ZTV9BasicDemo[vtable for BasicDemo]+0x24)||undefined reference to `DemoApplication::specialKeyboard(int, int, int)'|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btAlignedObjectArray.h:(.rdata$_ZTV9BasicDemo[vtable for BasicDemo]+0x28)||undefined reference to `DemoApplication::specialKeyboardUp(int, int, int)'|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btAlignedObjectArray.h:(.rdata$_ZTV9BasicDemo[vtable for BasicDemo]+0x2c)||undefined reference to `DemoApplication::reshape(int, int)'|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btAlignedObjectArray.h:(.rdata$_ZTV9BasicDemo[vtable for BasicDemo]+0x30)||undefined reference to `DemoApplication::mouseFunc(int, int, int, int)'|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btAlignedObjectArray.h:(.rdata$_ZTV9BasicDemo[vtable for BasicDemo]+0x34)||undefined reference to `DemoApplication::mouseMotionFunc(int, int)'|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\..\..\..\..\src\LinearMath\btAlignedObjectArray.h:(.rdata$_ZTV9BasicDemo[vtable for BasicDemo]+0x3c)||undefined reference to `DemoApplication::renderme()'|
obj\Debug\BasicDemo.o||In function `_ZN9BasicDemo15displayCallbackEv':|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\BasicDemo.cpp|64|undefined reference to `DemoApplication::~DemoApplication()'|
C:\Work\Engines\bullet-2.72\Demos\BasicDemo\test\test\BasicDemo.cpp|68|undefined reference to `DemoApplication::~DemoApplication()'|
..\..\..\..\lib\libbulletdynamics.a(btDiscreteDynamicsWorld.o)||In function `_ZN15btDynamicsWorld16removeConstraintEP17btTypedConstraint':|
C:\Work\Engines\bullet-2.72\src\BulletDynamics\Dynamics\btDynamicsWorld.h:(.text+0x203)||undefined reference to `btSimulationIslandManager::btSimulationIslandManager()'|
..\..\..\..\lib\libbulletdynamics.a(btDiscreteDynamicsWorld.o)||In function `_ZN23btDiscreteDynamicsWorldC1EP12btDispatcherP21btBroadphaseInterfaceP18btConstraintSolverP24btCollisionConfiguration':|
C:\Work\Engines\bullet-2.72\src\BulletDynamics\Dynamics\btDiscreteDynamicsWorld.cpp|81|undefined reference to `btSimulationIslandManager::btSimulationIslandManager()'|
..\..\..\..\lib\libbulletdynamics.a(btDiscreteDynamicsWorld.o)||In function `_ZN23btDiscreteDynamicsWorld16solveConstraintsER19btContactSolverInfo':|
C:\Work\Engines\bullet-2.72\src\BulletDynamics\Dynamics\btDiscreteDynamicsWorld.cpp|667|undefined reference to `btSimulationIslandManager::buildAndProcessIslands(btDispatcher*, btAlignedObjectArray<btCollisionObject*>&, btSimulationIslandManager::IslandCallback*)'|
||=== Build finished: 26 errors, 0 warnings ===|

I think its a opengl problem but i am not sure, does anyone know why i am getting this errors?
thanks in advance.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: appVehicleDemo has build errors ?

Post by Erwin Coumans »

You need to open up the msvc/8/wksbullet.sln solution, not a single vcproj project. Once you opened the wksbullet.sln, check the dependencies of the vehicle demo:
Image


If you open the solution, all demos should compile, link and run out-of-the box.
Hope this helps,
Erwin
MasterM
Posts: 11
Joined: Sun Oct 05, 2008 4:56 pm

Re: appVehicleDemo has build errors ?

Post by MasterM »

Thank you very much:)
its working now but what am i suppose to link to my project when i start a new one?
Thanks in advance.