Linkerror

theHU
Posts: 2
Joined: Sun Jun 05, 2011 4:44 pm

Linkerror

Post by theHU »

Hi Bullet-Community!

I am working on a Game and today i added BulletPhysics to it. (Bullet works at the helloWorld-tutorial).
Now i get those errors:

thx for replys,
theHU

Code: Select all

Output

1>------ Build started: Project: cloud_server, Configuration: Debug Win32 ------
1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>CloudServer.obj : error LNK2019: unresolved external symbol "public: __thiscall btStaticPlaneShape::btStaticPlaneShape(class btVector3 const &,float)" (??0btStaticPlaneShape@@QAE@ABVbtVector3@@M@Z) referenced in function "protected: virtual void __thiscall CloudServer::createScene(void)" (?createScene@CloudServer@@MAEXXZ)
1>CloudServer.obj : error LNK2019: unresolved external symbol "public: __thiscall btRigidBody::btRigidBody(struct btRigidBody::btRigidBodyConstructionInfo const &)" (??0btRigidBody@@QAE@ABUbtRigidBodyConstructionInfo@0@@Z) referenced in function "protected: virtual void __thiscall CloudServer::createScene(void)" (?createScene@CloudServer@@MAEXXZ)
1>CloudServer.obj : error LNK2019: unresolved external symbol "void * __cdecl btAlignedAllocInternal(unsigned int,int)" (?btAlignedAllocInternal@@YAPAXIH@Z) referenced in function "public: static void * __cdecl btCollisionObject::operator new(unsigned int)" (??2btCollisionObject@@SAPAXI@Z)
1>CloudServer.obj : error LNK2019: unresolved external symbol "void __cdecl btAlignedFreeInternal(void *)" (?btAlignedFreeInternal@@YAXPAX@Z) referenced in function "public: static void __cdecl btCollisionObject::operator delete(void *)" (??3btCollisionObject@@SAXPAX@Z)
1>CloudServer.obj : error LNK2019: unresolved external symbol "public: __thiscall btPolyhedralConvexShape::btPolyhedralConvexShape(void)" (??0btPolyhedralConvexShape@@QAE@XZ) referenced in function "public: __thiscall btBoxShape::btBoxShape(class btVector3 const &)" (??0btBoxShape@@QAE@ABVbtVector3@@@Z)
1>CloudServer.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)
1>CloudServer.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btCollisionShape::getBoundingSphere(class btVector3 &,float &)const " (?getBoundingSphere@btCollisionShape@@UBEXAAVbtVector3@@AAM@Z)
1>CloudServer.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall btCollisionShape::getAngularMotionDisc(void)const " (?getAngularMotionDisc@btCollisionShape@@UBEMXZ)
1>CloudServer.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall btCollisionShape::getContactBreakingThreshold(float)const " (?getContactBreakingThreshold@btCollisionShape@@UBEMM@Z)
1>CloudServer.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btBoxShape::calculateLocalInertia(float,class btVector3 &)const " (?calculateLocalInertia@btBoxShape@@UBEXMAAVbtVector3@@@Z)
1>CloudServer.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btCollisionShape::serializeSingleShape(class btSerializer *)const " (?serializeSingleShape@btCollisionShape@@UBEXPAVbtSerializer@@@Z)
1>CloudServer.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)
1>CloudServer.obj : error LNK2019: unresolved external symbol "public: virtual char const * __thiscall btCollisionShape::serialize(void *,class btSerializer *)const " (?serialize@btCollisionShape@@UBEPBDPAXPAVbtSerializer@@@Z) referenced in function "public: virtual char const * __thiscall btConvexInternalShape::serialize(void *,class btSerializer *)const " (?serialize@btConvexInternalShape@@UBEPBDPAXPAVbtSerializer@@@Z)
1>CloudServer.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)
1>CloudServer.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall btConvexShape::~btConvexShape(void)" (??1btConvexShape@@UAE@XZ) referenced in function "public: virtual __thiscall btConvexInternalShape::~btConvexInternalShape(void)" (??1btConvexInternalShape@@UAE@XZ)
1>CloudServer.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btConvexInternalShape::localGetSupportingVertex(class btVector3 const &)const " (?localGetSupportingVertex@btConvexInternalShape@@UBE?AVbtVector3@@ABV2@@Z)
1>CloudServer.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 "private: void __thiscall CloudServer::initializePhysics(void)" (?initializePhysics@CloudServer@@AAEXXZ)
1>CloudServer.obj : error LNK2019: unresolved external symbol "public: __thiscall btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver(void)" (??0btSequentialImpulseConstraintSolver@@QAE@XZ) referenced in function "private: void __thiscall CloudServer::initializePhysics(void)" (?initializePhysics@CloudServer@@AAEXXZ)
1>CloudServer.obj : error LNK2019: unresolved external symbol "public: __thiscall btCollisionDispatcher::btCollisionDispatcher(class btCollisionConfiguration *)" (??0btCollisionDispatcher@@QAE@PAVbtCollisionConfiguration@@@Z) referenced in function "private: void __thiscall CloudServer::initializePhysics(void)" (?initializePhysics@CloudServer@@AAEXXZ)
1>CloudServer.obj : error LNK2019: unresolved external symbol "public: __thiscall btDefaultCollisionConfiguration::btDefaultCollisionConfiguration(struct btDefaultCollisionConstructionInfo const &)" (??0btDefaultCollisionConfiguration@@QAE@ABUbtDefaultCollisionConstructionInfo@@@Z) referenced in function "private: void __thiscall CloudServer::initializePhysics(void)" (?initializePhysics@CloudServer@@AAEXXZ)
1>CloudServer.obj : error LNK2019: unresolved external symbol "public: __thiscall btDbvtBroadphase::btDbvtBroadphase(class btOverlappingPairCache *)" (??0btDbvtBroadphase@@QAE@PAVbtOverlappingPairCache@@@Z) referenced in function "private: void __thiscall CloudServer::initializePhysics(void)" (?initializePhysics@CloudServer@@AAEXXZ)
1>bin\Debug\\cloud_server.exe : fatal error LNK1120: 21 unresolved externals

Code: Select all

Error-codes

Warning	1	warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\LINK
Error	2	error LNK2019: unresolved external symbol "public: __thiscall btStaticPlaneShape::btStaticPlaneShape(class btVector3 const &,float)" (??0btStaticPlaneShape@@QAE@ABVbtVector3@@M@Z) referenced in function "protected: virtual void __thiscall CloudServer::createScene(void)" (?createScene@CloudServer@@MAEXXZ)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	3	error LNK2019: unresolved external symbol "public: __thiscall btRigidBody::btRigidBody(struct btRigidBody::btRigidBodyConstructionInfo const &)" (??0btRigidBody@@QAE@ABUbtRigidBodyConstructionInfo@0@@Z) referenced in function "protected: virtual void __thiscall CloudServer::createScene(void)" (?createScene@CloudServer@@MAEXXZ)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	4	error LNK2019: unresolved external symbol "void * __cdecl btAlignedAllocInternal(unsigned int,int)" (?btAlignedAllocInternal@@YAPAXIH@Z) referenced in function "public: static void * __cdecl btCollisionObject::operator new(unsigned int)" (??2btCollisionObject@@SAPAXI@Z)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	5	error LNK2019: unresolved external symbol "void __cdecl btAlignedFreeInternal(void *)" (?btAlignedFreeInternal@@YAXPAX@Z) referenced in function "public: static void __cdecl btCollisionObject::operator delete(void *)" (??3btCollisionObject@@SAXPAX@Z)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	6	error LNK2019: unresolved external symbol "public: __thiscall btPolyhedralConvexShape::btPolyhedralConvexShape(void)" (??0btPolyhedralConvexShape@@QAE@XZ) referenced in function "public: __thiscall btBoxShape::btBoxShape(class btVector3 const &)" (??0btBoxShape@@QAE@ABVbtVector3@@@Z)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	7	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)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	8	error LNK2001: unresolved external symbol "public: virtual void __thiscall btCollisionShape::getBoundingSphere(class btVector3 &,float &)const " (?getBoundingSphere@btCollisionShape@@UBEXAAVbtVector3@@AAM@Z)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	9	error LNK2001: unresolved external symbol "public: virtual float __thiscall btCollisionShape::getAngularMotionDisc(void)const " (?getAngularMotionDisc@btCollisionShape@@UBEMXZ)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	10	error LNK2001: unresolved external symbol "public: virtual float __thiscall btCollisionShape::getContactBreakingThreshold(float)const " (?getContactBreakingThreshold@btCollisionShape@@UBEMM@Z)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	11	error LNK2001: unresolved external symbol "public: virtual void __thiscall btBoxShape::calculateLocalInertia(float,class btVector3 &)const " (?calculateLocalInertia@btBoxShape@@UBEXMAAVbtVector3@@@Z)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	12	error LNK2001: unresolved external symbol "public: virtual void __thiscall btCollisionShape::serializeSingleShape(class btSerializer *)const " (?serializeSingleShape@btCollisionShape@@UBEXPAVbtSerializer@@@Z)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	13	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)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	14	error LNK2019: unresolved external symbol "public: virtual char const * __thiscall btCollisionShape::serialize(void *,class btSerializer *)const " (?serialize@btCollisionShape@@UBEPBDPAXPAVbtSerializer@@@Z) referenced in function "public: virtual char const * __thiscall btConvexInternalShape::serialize(void *,class btSerializer *)const " (?serialize@btConvexInternalShape@@UBEPBDPAXPAVbtSerializer@@@Z)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	15	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)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	16	error LNK2019: unresolved external symbol "public: virtual __thiscall btConvexShape::~btConvexShape(void)" (??1btConvexShape@@UAE@XZ) referenced in function "public: virtual __thiscall btConvexInternalShape::~btConvexInternalShape(void)" (??1btConvexInternalShape@@UAE@XZ)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	17	error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btConvexInternalShape::localGetSupportingVertex(class btVector3 const &)const " (?localGetSupportingVertex@btConvexInternalShape@@UBE?AVbtVector3@@ABV2@@Z)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	18	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 "private: void __thiscall CloudServer::initializePhysics(void)" (?initializePhysics@CloudServer@@AAEXXZ)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	19	error LNK2019: unresolved external symbol "public: __thiscall btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver(void)" (??0btSequentialImpulseConstraintSolver@@QAE@XZ) referenced in function "private: void __thiscall CloudServer::initializePhysics(void)" (?initializePhysics@CloudServer@@AAEXXZ)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	20	error LNK2019: unresolved external symbol "public: __thiscall btCollisionDispatcher::btCollisionDispatcher(class btCollisionConfiguration *)" (??0btCollisionDispatcher@@QAE@PAVbtCollisionConfiguration@@@Z) referenced in function "private: void __thiscall CloudServer::initializePhysics(void)" (?initializePhysics@CloudServer@@AAEXXZ)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	21	error LNK2019: unresolved external symbol "public: __thiscall btDefaultCollisionConfiguration::btDefaultCollisionConfiguration(struct btDefaultCollisionConstructionInfo const &)" (??0btDefaultCollisionConfiguration@@QAE@ABUbtDefaultCollisionConstructionInfo@@@Z) referenced in function "private: void __thiscall CloudServer::initializePhysics(void)" (?initializePhysics@CloudServer@@AAEXXZ)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	22	error LNK2019: unresolved external symbol "public: __thiscall btDbvtBroadphase::btDbvtBroadphase(class btOverlappingPairCache *)" (??0btDbvtBroadphase@@QAE@PAVbtOverlappingPairCache@@@Z) referenced in function "private: void __thiscall CloudServer::initializePhysics(void)" (?initializePhysics@CloudServer@@AAEXXZ)	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\CloudServer.obj
Error	23	error LNK1120: 21 unresolved externals	C:\Users\theHU\Programming\GameProgramming\Projects\02_University\AMT\cloud_server\cloud_server\bin\Debug\\cloud_server.exe