How to download and install Bullet
-
- Posts: 9
- Joined: Sun Jun 09, 2013 7:47 am
How to download and install Bullet
Hi, I
1. downloaded bullet-2.81-rev2613.zip from https://code.google.com/p/bullet/downloads/list.
2. Unzipped the file bullet-2.81-rev2613.zip to C:\Program Files.
3. Opened BulletQuickstart.pdf (page 4, 2.1 Microsoft Visual Studio) from C:\Program Files\bullet-2.81-rev2613\docs.
4. Opened 0BulletSolution.sln from C:\Program Files\bullet-2.81-rev2613\build\vs2010.
5. Set Microsoft Visual Studio 2010 to Release Win32 (my OS is 32-bit) and I receive error:
No Debugging Information. Debugging information for 'App_HelloWorld_vs2010.exe' cannot be found or does not match. Binary was not built with debug information. Do you want to continue debugging?
I select Yes and the DOS window shows a lot of 0s and closes in 1/2 a second.
I am trying to run some demos to learn how to use the physics engine, however it's taking a long time to find any type of getting started manual.
Any help please?
1. downloaded bullet-2.81-rev2613.zip from https://code.google.com/p/bullet/downloads/list.
2. Unzipped the file bullet-2.81-rev2613.zip to C:\Program Files.
3. Opened BulletQuickstart.pdf (page 4, 2.1 Microsoft Visual Studio) from C:\Program Files\bullet-2.81-rev2613\docs.
4. Opened 0BulletSolution.sln from C:\Program Files\bullet-2.81-rev2613\build\vs2010.
5. Set Microsoft Visual Studio 2010 to Release Win32 (my OS is 32-bit) and I receive error:
No Debugging Information. Debugging information for 'App_HelloWorld_vs2010.exe' cannot be found or does not match. Binary was not built with debug information. Do you want to continue debugging?
I select Yes and the DOS window shows a lot of 0s and closes in 1/2 a second.
I am trying to run some demos to learn how to use the physics engine, however it's taking a long time to find any type of getting started manual.
Any help please?
Last edited by eiger3970 on Wed Jun 12, 2013 1:05 am, edited 4 times in total.
-
- Posts: 463
- Joined: Fri Nov 30, 2012 4:50 am
Re: How to download and install Bullet
Looks like it's working fine!
If you press F5 to get the program to run with release of course it will tell you there's no debug info. Build the entire set and then just click the exe files where you built them. Should be working.
If you press F5 to get the program to run with release of course it will tell you there's no debug info. Build the entire set and then just click the exe files where you built them. Should be working.
-
- Posts: 9
- Joined: Sun Jun 09, 2013 7:47 am
Re: How to download and install Bullet
Thanks for the reply.
I don't see any .exe file?
So, I found another error of not finding the #include header files.
Went to Microsoft Visual Studio 2010 > Solution Explorer > (right clicked) projectname > Properties > Configuration Properties > C/C++ > General > Additional Include Directories > C:\Program Files\bullet-2.81-rev2613\src (I put the unzipped bullet-2.81-rev2613 in C:\Program Files) and most errors went away.
It seems after rebooting the computer Microsoft Visual Studio 2010 hadn't saved this directory path?
So, yes, I press F5 to build as a release (also tried as debug) and errors:
1>------ Build started: Project: v2, Configuration: Release Win32 ------
1>Build started 10/06/2013 12:07:41.
1>InitializeBuildStatus:
1> Touching "Release\v2.unsuccessfulbuild".
1>ClCompile:
1> All outputs are up-to-date.
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btBoxShape::btBoxShape(class btVector3 const &)" (??0btBoxShape@@QAE@ABVbtVector3@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btConvexInternalShape::setLocalScaling(class btVector3 const &)" (?setLocalScaling@btConvexInternalShape@@UAEXABVbtVector3@@@Z)
1>main.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>main.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btConvexInternalShape::localGetSupportingVertex(class btVector3 const &)const " (?localGetSupportingVertex@btConvexInternalShape@@UBE?AVbtVector3@@ABV2@@Z)
1>main.obj : error LNK2001: unresolved external symbol "protected: __thiscall btConvexInternalShape::btConvexInternalShape(void)" (??0btConvexInternalShape@@IAE@XZ)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btDefaultCollisionConfiguration::btDefaultCollisionConfiguration(struct btDefaultCollisionConstructionInfo const &)" (??0btDefaultCollisionConfiguration@@QAE@ABUbtDefaultCollisionConstructionInfo@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btCollisionShape::serializeSingleShape(class btSerializer *)const " (?serializeSingleShape@btCollisionShape@@UBEXPAVbtSerializer@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall btCollisionShape::serialize(void *,class btSerializer *)const " (?serialize@btCollisionShape@@UBEPBDPAXPAVbtSerializer@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall btCollisionShape::getContactBreakingThreshold(float)const " (?getContactBreakingThreshold@btCollisionShape@@UBEMM@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall btCollisionShape::getAngularMotionDisc(void)const " (?getAngularMotionDisc@btCollisionShape@@UBEMXZ)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btCollisionShape::getBoundingSphere(class btVector3 &,float &)const " (?getBoundingSphere@btCollisionShape@@UBEXAAVbtVector3@@AAM@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btDbvtBroadphase::btDbvtBroadphase(class btOverlappingPairCache *)" (??0btDbvtBroadphase@@QAE@PAVbtOverlappingPairCache@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btConvexShape::project(class btTransform const &,class btVector3 const &,float &,float &)const " (?project@btConvexShape@@UBEXABVbtTransform@@ABVbtVector3@@AAM2@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall btConvexShape::~btConvexShape(void)" (??1btConvexShape@@UAE@XZ)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btDiscreteDynamicsWorld::btDiscreteDynamicsWorld(class btDispatcher *,class btBroadphaseInterface *,class btConstraintSolver *,class btCollisionConfiguration *)" (??0btDiscreteDynamicsWorld@@QAE@PAVbtDispatcher@@PAVbtBroadphaseInterface@@PAVbtConstraintSolver@@PAVbtCollisionConfiguration@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::getAabb(class btTransform const &,class btVector3 &,class btVector3 &)const " (?getAabb@btSphereShape@@UBEXABVbtTransform@@AAVbtVector3@@1@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::calculateLocalInertia(float,class btVector3 &)const " (?calculateLocalInertia@btSphereShape@@UBEXMAAVbtVector3@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::batchedUnitVectorGetSupportingVertexWithoutMargin(class btVector3 const *,class btVector3 *,int)const " (?batchedUnitVectorGetSupportingVertexWithoutMargin@btSphereShape@@UBEXPBVbtVector3@@PAV2@H@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btSphereShape::localGetSupportingVertexWithoutMargin(class btVector3 const &)const " (?localGetSupportingVertexWithoutMargin@btSphereShape@@UBE?AVbtVector3@@ABV2@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btSphereShape::localGetSupportingVertex(class btVector3 const &)const " (?localGetSupportingVertex@btSphereShape@@UBE?AVbtVector3@@ABV2@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btCollisionDispatcher::btCollisionDispatcher(class btCollisionConfiguration *)" (??0btCollisionDispatcher@@QAE@PAVbtCollisionConfiguration@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "void * __cdecl btAlignedAllocInternal(unsigned int,int)" (?btAlignedAllocInternal@@YAPAXIH@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btRigidBody::btRigidBody(struct btRigidBody::btRigidBodyConstructionInfo const &)" (??0btRigidBody@@QAE@ABUbtRigidBodyConstructionInfo@0@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver(void)" (??0btSequentialImpulseConstraintSolver@@QAE@XZ)
1>main.obj : error LNK2001: unresolved external symbol "void __cdecl btAlignedFreeInternal(void *)" (?btAlignedFreeInternal@@YAXPAX@Z)
1>E:\v2\Release\v2.exe : fatal error LNK1120: 25 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.09
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I don't see any .exe file?
So, I found another error of not finding the #include header files.
Went to Microsoft Visual Studio 2010 > Solution Explorer > (right clicked) projectname > Properties > Configuration Properties > C/C++ > General > Additional Include Directories > C:\Program Files\bullet-2.81-rev2613\src (I put the unzipped bullet-2.81-rev2613 in C:\Program Files) and most errors went away.
It seems after rebooting the computer Microsoft Visual Studio 2010 hadn't saved this directory path?
So, yes, I press F5 to build as a release (also tried as debug) and errors:
1>------ Build started: Project: v2, Configuration: Release Win32 ------
1>Build started 10/06/2013 12:07:41.
1>InitializeBuildStatus:
1> Touching "Release\v2.unsuccessfulbuild".
1>ClCompile:
1> All outputs are up-to-date.
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btBoxShape::btBoxShape(class btVector3 const &)" (??0btBoxShape@@QAE@ABVbtVector3@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btConvexInternalShape::setLocalScaling(class btVector3 const &)" (?setLocalScaling@btConvexInternalShape@@UAEXABVbtVector3@@@Z)
1>main.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>main.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btConvexInternalShape::localGetSupportingVertex(class btVector3 const &)const " (?localGetSupportingVertex@btConvexInternalShape@@UBE?AVbtVector3@@ABV2@@Z)
1>main.obj : error LNK2001: unresolved external symbol "protected: __thiscall btConvexInternalShape::btConvexInternalShape(void)" (??0btConvexInternalShape@@IAE@XZ)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btDefaultCollisionConfiguration::btDefaultCollisionConfiguration(struct btDefaultCollisionConstructionInfo const &)" (??0btDefaultCollisionConfiguration@@QAE@ABUbtDefaultCollisionConstructionInfo@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btCollisionShape::serializeSingleShape(class btSerializer *)const " (?serializeSingleShape@btCollisionShape@@UBEXPAVbtSerializer@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall btCollisionShape::serialize(void *,class btSerializer *)const " (?serialize@btCollisionShape@@UBEPBDPAXPAVbtSerializer@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall btCollisionShape::getContactBreakingThreshold(float)const " (?getContactBreakingThreshold@btCollisionShape@@UBEMM@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall btCollisionShape::getAngularMotionDisc(void)const " (?getAngularMotionDisc@btCollisionShape@@UBEMXZ)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btCollisionShape::getBoundingSphere(class btVector3 &,float &)const " (?getBoundingSphere@btCollisionShape@@UBEXAAVbtVector3@@AAM@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btDbvtBroadphase::btDbvtBroadphase(class btOverlappingPairCache *)" (??0btDbvtBroadphase@@QAE@PAVbtOverlappingPairCache@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btConvexShape::project(class btTransform const &,class btVector3 const &,float &,float &)const " (?project@btConvexShape@@UBEXABVbtTransform@@ABVbtVector3@@AAM2@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall btConvexShape::~btConvexShape(void)" (??1btConvexShape@@UAE@XZ)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btDiscreteDynamicsWorld::btDiscreteDynamicsWorld(class btDispatcher *,class btBroadphaseInterface *,class btConstraintSolver *,class btCollisionConfiguration *)" (??0btDiscreteDynamicsWorld@@QAE@PAVbtDispatcher@@PAVbtBroadphaseInterface@@PAVbtConstraintSolver@@PAVbtCollisionConfiguration@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::getAabb(class btTransform const &,class btVector3 &,class btVector3 &)const " (?getAabb@btSphereShape@@UBEXABVbtTransform@@AAVbtVector3@@1@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::calculateLocalInertia(float,class btVector3 &)const " (?calculateLocalInertia@btSphereShape@@UBEXMAAVbtVector3@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::batchedUnitVectorGetSupportingVertexWithoutMargin(class btVector3 const *,class btVector3 *,int)const " (?batchedUnitVectorGetSupportingVertexWithoutMargin@btSphereShape@@UBEXPBVbtVector3@@PAV2@H@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btSphereShape::localGetSupportingVertexWithoutMargin(class btVector3 const &)const " (?localGetSupportingVertexWithoutMargin@btSphereShape@@UBE?AVbtVector3@@ABV2@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btSphereShape::localGetSupportingVertex(class btVector3 const &)const " (?localGetSupportingVertex@btSphereShape@@UBE?AVbtVector3@@ABV2@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btCollisionDispatcher::btCollisionDispatcher(class btCollisionConfiguration *)" (??0btCollisionDispatcher@@QAE@PAVbtCollisionConfiguration@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "void * __cdecl btAlignedAllocInternal(unsigned int,int)" (?btAlignedAllocInternal@@YAPAXIH@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btRigidBody::btRigidBody(struct btRigidBody::btRigidBodyConstructionInfo const &)" (??0btRigidBody@@QAE@ABUbtRigidBodyConstructionInfo@0@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver(void)" (??0btSequentialImpulseConstraintSolver@@QAE@XZ)
1>main.obj : error LNK2001: unresolved external symbol "void __cdecl btAlignedFreeInternal(void *)" (?btAlignedFreeInternal@@YAXPAX@Z)
1>E:\v2\Release\v2.exe : fatal error LNK1120: 25 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.09
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Last edited by eiger3970 on Wed Jun 12, 2013 1:26 am, edited 6 times in total.
-
- Posts: 9
- Joined: Sun Jun 09, 2013 7:47 am
Re: How to download and install Bullet
Okay, so I found out all these errors are due to needing .cpp files from the C:\Program Files\bullet-2.81-rev2613\src folder in my project.
I have added:
Additional Include Directory C:\Program Files\bullet-2.81-rev2613\src\BulletCollision\CollisionShapes.
btBoxShape.cpp
btConvexInternalShape.cpp
btPolyhedralConvexShape.cpp
btCollisionShape.cpp
btConvexShape.cpp
I'm up to btAlignedFreeInternal and it's not in the C:\Program Files\bullet-2.81-rev2613\src folder? Any suggestions?
1>------ Build started: Project: v3, Configuration: Release Win32 ------
1>Build started 10/06/2013 13:20:43.
1>InitializeBuildStatus:
1> Touching "Release\v3.unsuccessfulbuild".
1>ClCompile:
1> btConvexShape.cpp
1>btBoxShape.obj : error LNK2001: unresolved external symbol "void __cdecl btAlignedFreeInternal(void *)" (?btAlignedFreeInternal@@YAXPAX@Z)
1>btConvexShape.obj : error LNK2001: unresolved external symbol "long __cdecl _maxdot_large(float const *,float const *,unsigned long,float *)" (?_maxdot_large@@YAJPBM0KPAM@Z)
1>btPolyhedralConvexShape.obj : error LNK2001: unresolved external symbol "private: float __thiscall btConvexHullComputer::compute(void const *,bool,int,int,float,float)" (?compute@btConvexHullComputer@@AAEMPBX_NHHMM@Z)
1>btPolyhedralConvexShape.obj : error LNK2001: unresolved external symbol "public: static void __cdecl btGeometryUtil::getVerticesFromPlaneEquations(class btAlignedObjectArray<class btVector3> const &,class btAlignedObjectArray<class btVector3> &)" (?getVerticesFromPlaneEquations@btGeometryUtil@@SAXABV?$btAlignedObjectArray@VbtVector3@@@@AAV2@@Z)
1>btPolyhedralConvexShape.obj : error LNK2001: unresolved external symbol "public: static void __cdecl btGeometryUtil::getPlaneEquationsFromVertices(class btAlignedObjectArray<class btVector3> &,class btAlignedObjectArray<class btVector3> &)" (?getPlaneEquationsFromVertices@btGeometryUtil@@SAXAAV?$btAlignedObjectArray@VbtVector3@@@@0@Z)
1>btPolyhedralConvexShape.obj : error LNK2001: unresolved external symbol "void * __cdecl btAlignedAllocInternal(unsigned int,int)" (?btAlignedAllocInternal@@YAPAXIH@Z)
1>btPolyhedralConvexShape.obj : error LNK2001: unresolved external symbol "public: void __thiscall btConvexPolyhedron::initialize(void)" (?initialize@btConvexPolyhedron@@QAEXXZ)
1>btPolyhedralConvexShape.obj : error LNK2001: unresolved external symbol "public: __thiscall btConvexPolyhedron::btConvexPolyhedron(void)" (??0btConvexPolyhedron@@QAE@XZ)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btDefaultCollisionConfiguration::btDefaultCollisionConfiguration(struct btDefaultCollisionConstructionInfo const &)" (??0btDefaultCollisionConfiguration@@QAE@ABUbtDefaultCollisionConstructionInfo@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btDbvtBroadphase::btDbvtBroadphase(class btOverlappingPairCache *)" (??0btDbvtBroadphase@@QAE@PAVbtOverlappingPairCache@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btDiscreteDynamicsWorld::btDiscreteDynamicsWorld(class btDispatcher *,class btBroadphaseInterface *,class btConstraintSolver *,class btCollisionConfiguration *)" (??0btDiscreteDynamicsWorld@@QAE@PAVbtDispatcher@@PAVbtBroadphaseInterface@@PAVbtConstraintSolver@@PAVbtCollisionConfiguration@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::getAabb(class btTransform const &,class btVector3 &,class btVector3 &)const " (?getAabb@btSphereShape@@UBEXABVbtTransform@@AAVbtVector3@@1@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::calculateLocalInertia(float,class btVector3 &)const " (?calculateLocalInertia@btSphereShape@@UBEXMAAVbtVector3@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::batchedUnitVectorGetSupportingVertexWithoutMargin(class btVector3 const *,class btVector3 *,int)const " (?batchedUnitVectorGetSupportingVertexWithoutMargin@btSphereShape@@UBEXPBVbtVector3@@PAV2@H@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btSphereShape::localGetSupportingVertexWithoutMargin(class btVector3 const &)const " (?localGetSupportingVertexWithoutMargin@btSphereShape@@UBE?AVbtVector3@@ABV2@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btSphereShape::localGetSupportingVertex(class btVector3 const &)const " (?localGetSupportingVertex@btSphereShape@@UBE?AVbtVector3@@ABV2@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btCollisionDispatcher::btCollisionDispatcher(class btCollisionConfiguration *)" (??0btCollisionDispatcher@@QAE@PAVbtCollisionConfiguration@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btRigidBody::btRigidBody(struct btRigidBody::btRigidBodyConstructionInfo const &)" (??0btRigidBody@@QAE@ABUbtRigidBodyConstructionInfo@0@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver(void)" (??0btSequentialImpulseConstraintSolver@@QAE@XZ)
1>E:\v3\Release\v3.exe : fatal error LNK1120: 19 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.36
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I have added:
Additional Include Directory C:\Program Files\bullet-2.81-rev2613\src\BulletCollision\CollisionShapes.
btBoxShape.cpp
btConvexInternalShape.cpp
btPolyhedralConvexShape.cpp
btCollisionShape.cpp
btConvexShape.cpp
I'm up to btAlignedFreeInternal and it's not in the C:\Program Files\bullet-2.81-rev2613\src folder? Any suggestions?
1>------ Build started: Project: v3, Configuration: Release Win32 ------
1>Build started 10/06/2013 13:20:43.
1>InitializeBuildStatus:
1> Touching "Release\v3.unsuccessfulbuild".
1>ClCompile:
1> btConvexShape.cpp
1>btBoxShape.obj : error LNK2001: unresolved external symbol "void __cdecl btAlignedFreeInternal(void *)" (?btAlignedFreeInternal@@YAXPAX@Z)
1>btConvexShape.obj : error LNK2001: unresolved external symbol "long __cdecl _maxdot_large(float const *,float const *,unsigned long,float *)" (?_maxdot_large@@YAJPBM0KPAM@Z)
1>btPolyhedralConvexShape.obj : error LNK2001: unresolved external symbol "private: float __thiscall btConvexHullComputer::compute(void const *,bool,int,int,float,float)" (?compute@btConvexHullComputer@@AAEMPBX_NHHMM@Z)
1>btPolyhedralConvexShape.obj : error LNK2001: unresolved external symbol "public: static void __cdecl btGeometryUtil::getVerticesFromPlaneEquations(class btAlignedObjectArray<class btVector3> const &,class btAlignedObjectArray<class btVector3> &)" (?getVerticesFromPlaneEquations@btGeometryUtil@@SAXABV?$btAlignedObjectArray@VbtVector3@@@@AAV2@@Z)
1>btPolyhedralConvexShape.obj : error LNK2001: unresolved external symbol "public: static void __cdecl btGeometryUtil::getPlaneEquationsFromVertices(class btAlignedObjectArray<class btVector3> &,class btAlignedObjectArray<class btVector3> &)" (?getPlaneEquationsFromVertices@btGeometryUtil@@SAXAAV?$btAlignedObjectArray@VbtVector3@@@@0@Z)
1>btPolyhedralConvexShape.obj : error LNK2001: unresolved external symbol "void * __cdecl btAlignedAllocInternal(unsigned int,int)" (?btAlignedAllocInternal@@YAPAXIH@Z)
1>btPolyhedralConvexShape.obj : error LNK2001: unresolved external symbol "public: void __thiscall btConvexPolyhedron::initialize(void)" (?initialize@btConvexPolyhedron@@QAEXXZ)
1>btPolyhedralConvexShape.obj : error LNK2001: unresolved external symbol "public: __thiscall btConvexPolyhedron::btConvexPolyhedron(void)" (??0btConvexPolyhedron@@QAE@XZ)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btDefaultCollisionConfiguration::btDefaultCollisionConfiguration(struct btDefaultCollisionConstructionInfo const &)" (??0btDefaultCollisionConfiguration@@QAE@ABUbtDefaultCollisionConstructionInfo@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btDbvtBroadphase::btDbvtBroadphase(class btOverlappingPairCache *)" (??0btDbvtBroadphase@@QAE@PAVbtOverlappingPairCache@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btDiscreteDynamicsWorld::btDiscreteDynamicsWorld(class btDispatcher *,class btBroadphaseInterface *,class btConstraintSolver *,class btCollisionConfiguration *)" (??0btDiscreteDynamicsWorld@@QAE@PAVbtDispatcher@@PAVbtBroadphaseInterface@@PAVbtConstraintSolver@@PAVbtCollisionConfiguration@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::getAabb(class btTransform const &,class btVector3 &,class btVector3 &)const " (?getAabb@btSphereShape@@UBEXABVbtTransform@@AAVbtVector3@@1@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::calculateLocalInertia(float,class btVector3 &)const " (?calculateLocalInertia@btSphereShape@@UBEXMAAVbtVector3@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::batchedUnitVectorGetSupportingVertexWithoutMargin(class btVector3 const *,class btVector3 *,int)const " (?batchedUnitVectorGetSupportingVertexWithoutMargin@btSphereShape@@UBEXPBVbtVector3@@PAV2@H@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btSphereShape::localGetSupportingVertexWithoutMargin(class btVector3 const &)const " (?localGetSupportingVertexWithoutMargin@btSphereShape@@UBE?AVbtVector3@@ABV2@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btSphereShape::localGetSupportingVertex(class btVector3 const &)const " (?localGetSupportingVertex@btSphereShape@@UBE?AVbtVector3@@ABV2@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btCollisionDispatcher::btCollisionDispatcher(class btCollisionConfiguration *)" (??0btCollisionDispatcher@@QAE@PAVbtCollisionConfiguration@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btRigidBody::btRigidBody(struct btRigidBody::btRigidBodyConstructionInfo const &)" (??0btRigidBody@@QAE@ABUbtRigidBodyConstructionInfo@0@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: __thiscall btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver(void)" (??0btSequentialImpulseConstraintSolver@@QAE@XZ)
1>E:\v3\Release\v3.exe : fatal error LNK1120: 19 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.36
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Last edited by eiger3970 on Wed Jun 12, 2013 1:08 am, edited 2 times in total.
-
- Posts: 9
- Joined: Sun Jun 09, 2013 7:47 am
Re: How to download and install Bullet
Seem to have to add Additional Include Directories twice for Microsoft Visual Studio 2010 to save the setting.
Added:
Additional Include Directory C:\Program Files\bullet-2.81-rev2613\src\BulletCollision\BroadphaseCollision.
Additional Include Directory C:\Program Files\bullet-2.81-rev2613\src\BulletCollision\CollisionDispatch.
Additional Include Directory C:\Program Files\bullet-2.81-rev2613\src\BulletCollision\CollisionShapes.
Additional Include Directory C:\Program Files\bullet-2.81-rev2613\src\BulletCollision\NarrowPhaseCollision.
Additional Include Directory C:\Program Files\bullet-2.81-rev2613\src\BulletDynamics\ConstraintSolver.
Additional Include Directory C:\Program Files\bullet-2.81-rev2613\src\BulletDynamics\Dynamics.
Additional Include Directory C:\Program Files\bullet-2.81-rev2613\src\LinearMath.
btActivatingCollisionAlgorithm.cpp
btBoxBoxCollisionAlgorithm.cpp
btBoxBoxDetector.cpp
btBoxShape.cpp
btBvhTriangleMeshShape.cpp
btCollisionAlgorithm.cpp
btCollisionDispatcher.cpp
btCollisionObject.cpp
btCollisionShape.cpp
btCollisionWorld.cpp
btCompoundCollisionAlgorithm.cpp
btConcaveShape.cpp
btConeTwistConstraint.cpp
btContinuousConvexCollision.cpp
btConvexCast.cpp
btConvexConcaveCollisionAlgorithm.cpp
btConvexConvexAlgorithm.cpp
btConvexHullComputer.cpp
btConvexInternalShape.cpp
btConvexPlaneCollisionAlgorithm.cpp
btConvexPolyhedron.cpp
btConvexShape.cpp
btDbvt.cpp
btDbvtBroadphase.cpp
btDefaultCollisionConfiguration.cpp
btDiscreteDynamicsWorld.cpp
btDispatcher.cpp
btGeneric6DofConstraint.cpp
btGjkConvexCast.cpp
btGjkEpaPenetrationDepthSolver.cpp
btGjkPairDetector.cpp
btManifoldResult.cpp
btMinkowskiPenetrationDepthSolver.cpp
btOptimizedBvh.cpp
btPolyhedralConvexShape.cpp
btQuantizedBvh.cpp
btRigidBody.cpp
btSequentialImpulseConstraintSolver.cpp
btSimulationIslandManager.cpp
btSphereShape.cpp
btSphereSphereCollisionAlgorithm.cpp
btSphereTriangleCollisionAlgorithm.cpp
btSubSimplexConvexCast.cpp
btTriangleCallback.cpp
btTriangleMeshShape.cpp
btTypedConstraint.cpp
btUnionFind.cpp
btVoronoiSimplexSolver.cpp
SphereTriangleDetector.cpp
Problem: btAlignedFreeInternal.cpp isn't in C:\Program Files\bullet-2.81-rev2613\src folder?
Problem: btAngularLimit.cpp isn't in C:\Program Files\bullet-2.81-rev2613\src folder?
Problem: btEmptyAlgorithm.cpp isn't in C:\Program Files\bullet-2.81-rev2613\src folder?
Problem: btHashedOverlappingPairCache.cpp isn't in C:\Program Files\bullet-2.81-rev2613\src folder?
Problem: btHashedOverlappingPairCache.cpp isn't in C:\Program Files\bullet-2.81-rev2613\src folder?
Problem: btTriangleConvexcastCallback.cpp isn't in C:\Program Files\bullet-2.81-rev2613\src folder?
Problem: btTriangleRaycastCallback.cpp isn't in C:\Program Files\bullet-2.81-rev2613\src folder?
Now have following errors:
1>------ Build started: Project: v4, Configuration: Release Win32 ------
1>Build started 10/06/2013 16:35:28.
1>InitializeBuildStatus:
1> Touching "Release\v4.unsuccessfulbuild".
1>ClCompile:
1> All outputs are up-to-date.
1>btBoxBoxCollisionAlgorithm.obj : error LNK2001: unresolved external symbol "void * __cdecl btAlignedAllocInternal(unsigned int,int)" (?btAlignedAllocInternal@@YAPAXIH@Z)
1>btBoxBoxCollisionAlgorithm.obj : error LNK2001: unresolved external symbol "void __cdecl btAlignedFreeInternal(void *)" (?btAlignedFreeInternal@@YAXPAX@Z)
1>btCollisionWorld.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btTriangleRaycastCallback::processTriangle(class btVector3 *,int,int)" (?processTriangle@btTriangleRaycastCallback@@UAEXPAVbtVector3@@HH@Z)
1>btCollisionWorld.obj : error LNK2001: unresolved external symbol "public: __thiscall btTriangleRaycastCallback::btTriangleRaycastCallback(class btVector3 const &,class btVector3 const &,unsigned int)" (??0btTriangleRaycastCallback@@QAE@ABVbtVector3@@0I@Z)
1>btCollisionWorld.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btTriangleConvexcastCallback::processTriangle(class btVector3 *,int,int)" (?processTriangle@btTriangleConvexcastCallback@@UAEXPAVbtVector3@@HH@Z)
1>btCollisionWorld.obj : error LNK2001: unresolved external symbol "public: __thiscall btTriangleConvexcastCallback::btTriangleConvexcastCallback(class btConvexShape const *,class btTransform const &,class btTransform const &,class btTransform const &,float)" (??0btTriangleConvexcastCallback@@QAE@PBVbtConvexShape@@ABVbtTransform@@11M@Z)
1>btCollisionWorld.obj : error LNK2001: unresolved external symbol "public: static void __cdecl CProfileManager::Stop_Profile(void)" (?Stop_Profile@CProfileManager@@SAXXZ)
1>btCollisionWorld.obj : error LNK2001: unresolved external symbol "public: static void __cdecl CProfileManager::Start_Profile(char const *)" (?Start_Profile@CProfileManager@@SAXPBD@Z)
1>btConvexConvexAlgorithm.obj : error LNK2001: unresolved external symbol "public: static bool __cdecl btPolyhedralContactClipping::findSeparatingAxis(class btConvexPolyhedron const &,class btConvexPolyhedron const &,class btTransform const &,class btTransform const &,class btVector3 &,struct btDiscreteCollisionDetectorInterface::Result &)" (?findSeparatingAxis@btPolyhedralContactClipping@@SA_NABVbtConvexPolyhedron@@0ABVbtTransform@@1AAVbtVector3@@AAUResult@btDiscreteCollisionDetectorInterface@@@Z)
1>btConvexConvexAlgorithm.obj : error LNK2001: unresolved external symbol "public: static void __cdecl btPolyhedralContactClipping::clipFaceAgainstHull(class btVector3 const &,class btConvexPolyhedron const &,class btTransform const &,class btAlignedObjectArray<class btVector3> &,float,float,struct btDiscreteCollisionDetectorInterface::Result &)" (?clipFaceAgainstHull@btPolyhedralContactClipping@@SAXABVbtVector3@@ABVbtConvexPolyhedron@@ABVbtTransform@@AAV?$btAlignedObjectArray@VbtVector3@@@@MMAAUResult@btDiscreteCollisionDetectorInterface@@@Z)
1>btConvexConvexAlgorithm.obj : error LNK2001: unresolved external symbol "public: static void __cdecl btPolyhedralContactClipping::clipHullAgainstHull(class btVector3 const &,class btConvexPolyhedron const &,class btConvexPolyhedron const &,class btTransform const &,class btTransform const &,float,float,struct btDiscreteCollisionDetectorInterface::Result &)" (?clipHullAgainstHull@btPolyhedralContactClipping@@SAXABVbtVector3@@ABVbtConvexPolyhedron@@1ABVbtTransform@@2MMAAUResult@btDiscreteCollisionDetectorInterface@@@Z)
1>btConvexShape.obj : error LNK2001: unresolved external symbol "long __cdecl _maxdot_large(float const *,float const *,unsigned long,float *)" (?_maxdot_large@@YAJPBM0KPAM@Z)
1>btDbvtBroadphase.obj : error LNK2001: unresolved external symbol "public: __thiscall btHashedOverlappingPairCache::btHashedOverlappingPairCache(void)" (??0btHashedOverlappingPairCache@@QAE@XZ)
1>btDiscreteDynamicsWorld.obj : error LNK2001: unresolved external symbol "public: static void __cdecl CProfileManager::Increment_Frame_Counter(void)" (?Increment_Frame_Counter@CProfileManager@@SAXXZ)
1>btDiscreteDynamicsWorld.obj : error LNK2001: unresolved external symbol "public: static void __cdecl CProfileManager::Reset(void)" (?Reset@CProfileManager@@SAXXZ)
1>btGjkEpaPenetrationDepthSolver.obj : error LNK2001: unresolved external symbol "public: static bool __cdecl btGjkEpaSolver2::Penetration(class btConvexShape const *,class btTransform const &,class btConvexShape const *,class btTransform const &,class btVector3 const &,struct btGjkEpaSolver2::sResults &,bool)" (?Penetration@btGjkEpaSolver2@@SA_NPBVbtConvexShape@@ABVbtTransform@@01ABVbtVector3@@AAUsResults@1@_N@Z)
1>btGjkEpaPenetrationDepthSolver.obj : error LNK2001: unresolved external symbol "public: static bool __cdecl btGjkEpaSolver2::Distance(class btConvexShape const *,class btTransform const &,class btConvexShape const *,class btTransform const &,class btVector3 const &,struct btGjkEpaSolver2::sResults &)" (?Distance@btGjkEpaSolver2@@SA_NPBVbtConvexShape@@ABVbtTransform@@01ABVbtVector3@@AAUsResults@1@@Z)
1>btPolyhedralConvexShape.obj : error LNK2001: unresolved external symbol "public: static void __cdecl btGeometryUtil::getVerticesFromPlaneEquations(class btAlignedObjectArray<class btVector3> const &,class btAlignedObjectArray<class btVector3> &)" (?getVerticesFromPlaneEquations@btGeometryUtil@@SAXABV?$btAlignedObjectArray@VbtVector3@@@@AAV2@@Z)
1>btPolyhedralConvexShape.obj : error LNK2001: unresolved external symbol "public: static void __cdecl btGeometryUtil::getPlaneEquationsFromVertices(class btAlignedObjectArray<class btVector3> &,class btAlignedObjectArray<class btVector3> &)" (?getPlaneEquationsFromVertices@btGeometryUtil@@SAXAAV?$btAlignedObjectArray@VbtVector3@@@@0@Z)
1>E:\v4\Release\v4.exe : fatal error LNK1120: 19 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.42
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Added:
Additional Include Directory C:\Program Files\bullet-2.81-rev2613\src\BulletCollision\BroadphaseCollision.
Additional Include Directory C:\Program Files\bullet-2.81-rev2613\src\BulletCollision\CollisionDispatch.
Additional Include Directory C:\Program Files\bullet-2.81-rev2613\src\BulletCollision\CollisionShapes.
Additional Include Directory C:\Program Files\bullet-2.81-rev2613\src\BulletCollision\NarrowPhaseCollision.
Additional Include Directory C:\Program Files\bullet-2.81-rev2613\src\BulletDynamics\ConstraintSolver.
Additional Include Directory C:\Program Files\bullet-2.81-rev2613\src\BulletDynamics\Dynamics.
Additional Include Directory C:\Program Files\bullet-2.81-rev2613\src\LinearMath.
btActivatingCollisionAlgorithm.cpp
btBoxBoxCollisionAlgorithm.cpp
btBoxBoxDetector.cpp
btBoxShape.cpp
btBvhTriangleMeshShape.cpp
btCollisionAlgorithm.cpp
btCollisionDispatcher.cpp
btCollisionObject.cpp
btCollisionShape.cpp
btCollisionWorld.cpp
btCompoundCollisionAlgorithm.cpp
btConcaveShape.cpp
btConeTwistConstraint.cpp
btContinuousConvexCollision.cpp
btConvexCast.cpp
btConvexConcaveCollisionAlgorithm.cpp
btConvexConvexAlgorithm.cpp
btConvexHullComputer.cpp
btConvexInternalShape.cpp
btConvexPlaneCollisionAlgorithm.cpp
btConvexPolyhedron.cpp
btConvexShape.cpp
btDbvt.cpp
btDbvtBroadphase.cpp
btDefaultCollisionConfiguration.cpp
btDiscreteDynamicsWorld.cpp
btDispatcher.cpp
btGeneric6DofConstraint.cpp
btGjkConvexCast.cpp
btGjkEpaPenetrationDepthSolver.cpp
btGjkPairDetector.cpp
btManifoldResult.cpp
btMinkowskiPenetrationDepthSolver.cpp
btOptimizedBvh.cpp
btPolyhedralConvexShape.cpp
btQuantizedBvh.cpp
btRigidBody.cpp
btSequentialImpulseConstraintSolver.cpp
btSimulationIslandManager.cpp
btSphereShape.cpp
btSphereSphereCollisionAlgorithm.cpp
btSphereTriangleCollisionAlgorithm.cpp
btSubSimplexConvexCast.cpp
btTriangleCallback.cpp
btTriangleMeshShape.cpp
btTypedConstraint.cpp
btUnionFind.cpp
btVoronoiSimplexSolver.cpp
SphereTriangleDetector.cpp
Problem: btAlignedFreeInternal.cpp isn't in C:\Program Files\bullet-2.81-rev2613\src folder?
Problem: btAngularLimit.cpp isn't in C:\Program Files\bullet-2.81-rev2613\src folder?
Problem: btEmptyAlgorithm.cpp isn't in C:\Program Files\bullet-2.81-rev2613\src folder?
Problem: btHashedOverlappingPairCache.cpp isn't in C:\Program Files\bullet-2.81-rev2613\src folder?
Problem: btHashedOverlappingPairCache.cpp isn't in C:\Program Files\bullet-2.81-rev2613\src folder?
Problem: btTriangleConvexcastCallback.cpp isn't in C:\Program Files\bullet-2.81-rev2613\src folder?
Problem: btTriangleRaycastCallback.cpp isn't in C:\Program Files\bullet-2.81-rev2613\src folder?
Now have following errors:
1>------ Build started: Project: v4, Configuration: Release Win32 ------
1>Build started 10/06/2013 16:35:28.
1>InitializeBuildStatus:
1> Touching "Release\v4.unsuccessfulbuild".
1>ClCompile:
1> All outputs are up-to-date.
1>btBoxBoxCollisionAlgorithm.obj : error LNK2001: unresolved external symbol "void * __cdecl btAlignedAllocInternal(unsigned int,int)" (?btAlignedAllocInternal@@YAPAXIH@Z)
1>btBoxBoxCollisionAlgorithm.obj : error LNK2001: unresolved external symbol "void __cdecl btAlignedFreeInternal(void *)" (?btAlignedFreeInternal@@YAXPAX@Z)
1>btCollisionWorld.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btTriangleRaycastCallback::processTriangle(class btVector3 *,int,int)" (?processTriangle@btTriangleRaycastCallback@@UAEXPAVbtVector3@@HH@Z)
1>btCollisionWorld.obj : error LNK2001: unresolved external symbol "public: __thiscall btTriangleRaycastCallback::btTriangleRaycastCallback(class btVector3 const &,class btVector3 const &,unsigned int)" (??0btTriangleRaycastCallback@@QAE@ABVbtVector3@@0I@Z)
1>btCollisionWorld.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btTriangleConvexcastCallback::processTriangle(class btVector3 *,int,int)" (?processTriangle@btTriangleConvexcastCallback@@UAEXPAVbtVector3@@HH@Z)
1>btCollisionWorld.obj : error LNK2001: unresolved external symbol "public: __thiscall btTriangleConvexcastCallback::btTriangleConvexcastCallback(class btConvexShape const *,class btTransform const &,class btTransform const &,class btTransform const &,float)" (??0btTriangleConvexcastCallback@@QAE@PBVbtConvexShape@@ABVbtTransform@@11M@Z)
1>btCollisionWorld.obj : error LNK2001: unresolved external symbol "public: static void __cdecl CProfileManager::Stop_Profile(void)" (?Stop_Profile@CProfileManager@@SAXXZ)
1>btCollisionWorld.obj : error LNK2001: unresolved external symbol "public: static void __cdecl CProfileManager::Start_Profile(char const *)" (?Start_Profile@CProfileManager@@SAXPBD@Z)
1>btConvexConvexAlgorithm.obj : error LNK2001: unresolved external symbol "public: static bool __cdecl btPolyhedralContactClipping::findSeparatingAxis(class btConvexPolyhedron const &,class btConvexPolyhedron const &,class btTransform const &,class btTransform const &,class btVector3 &,struct btDiscreteCollisionDetectorInterface::Result &)" (?findSeparatingAxis@btPolyhedralContactClipping@@SA_NABVbtConvexPolyhedron@@0ABVbtTransform@@1AAVbtVector3@@AAUResult@btDiscreteCollisionDetectorInterface@@@Z)
1>btConvexConvexAlgorithm.obj : error LNK2001: unresolved external symbol "public: static void __cdecl btPolyhedralContactClipping::clipFaceAgainstHull(class btVector3 const &,class btConvexPolyhedron const &,class btTransform const &,class btAlignedObjectArray<class btVector3> &,float,float,struct btDiscreteCollisionDetectorInterface::Result &)" (?clipFaceAgainstHull@btPolyhedralContactClipping@@SAXABVbtVector3@@ABVbtConvexPolyhedron@@ABVbtTransform@@AAV?$btAlignedObjectArray@VbtVector3@@@@MMAAUResult@btDiscreteCollisionDetectorInterface@@@Z)
1>btConvexConvexAlgorithm.obj : error LNK2001: unresolved external symbol "public: static void __cdecl btPolyhedralContactClipping::clipHullAgainstHull(class btVector3 const &,class btConvexPolyhedron const &,class btConvexPolyhedron const &,class btTransform const &,class btTransform const &,float,float,struct btDiscreteCollisionDetectorInterface::Result &)" (?clipHullAgainstHull@btPolyhedralContactClipping@@SAXABVbtVector3@@ABVbtConvexPolyhedron@@1ABVbtTransform@@2MMAAUResult@btDiscreteCollisionDetectorInterface@@@Z)
1>btConvexShape.obj : error LNK2001: unresolved external symbol "long __cdecl _maxdot_large(float const *,float const *,unsigned long,float *)" (?_maxdot_large@@YAJPBM0KPAM@Z)
1>btDbvtBroadphase.obj : error LNK2001: unresolved external symbol "public: __thiscall btHashedOverlappingPairCache::btHashedOverlappingPairCache(void)" (??0btHashedOverlappingPairCache@@QAE@XZ)
1>btDiscreteDynamicsWorld.obj : error LNK2001: unresolved external symbol "public: static void __cdecl CProfileManager::Increment_Frame_Counter(void)" (?Increment_Frame_Counter@CProfileManager@@SAXXZ)
1>btDiscreteDynamicsWorld.obj : error LNK2001: unresolved external symbol "public: static void __cdecl CProfileManager::Reset(void)" (?Reset@CProfileManager@@SAXXZ)
1>btGjkEpaPenetrationDepthSolver.obj : error LNK2001: unresolved external symbol "public: static bool __cdecl btGjkEpaSolver2::Penetration(class btConvexShape const *,class btTransform const &,class btConvexShape const *,class btTransform const &,class btVector3 const &,struct btGjkEpaSolver2::sResults &,bool)" (?Penetration@btGjkEpaSolver2@@SA_NPBVbtConvexShape@@ABVbtTransform@@01ABVbtVector3@@AAUsResults@1@_N@Z)
1>btGjkEpaPenetrationDepthSolver.obj : error LNK2001: unresolved external symbol "public: static bool __cdecl btGjkEpaSolver2::Distance(class btConvexShape const *,class btTransform const &,class btConvexShape const *,class btTransform const &,class btVector3 const &,struct btGjkEpaSolver2::sResults &)" (?Distance@btGjkEpaSolver2@@SA_NPBVbtConvexShape@@ABVbtTransform@@01ABVbtVector3@@AAUsResults@1@@Z)
1>btPolyhedralConvexShape.obj : error LNK2001: unresolved external symbol "public: static void __cdecl btGeometryUtil::getVerticesFromPlaneEquations(class btAlignedObjectArray<class btVector3> const &,class btAlignedObjectArray<class btVector3> &)" (?getVerticesFromPlaneEquations@btGeometryUtil@@SAXABV?$btAlignedObjectArray@VbtVector3@@@@AAV2@@Z)
1>btPolyhedralConvexShape.obj : error LNK2001: unresolved external symbol "public: static void __cdecl btGeometryUtil::getPlaneEquationsFromVertices(class btAlignedObjectArray<class btVector3> &,class btAlignedObjectArray<class btVector3> &)" (?getPlaneEquationsFromVertices@btGeometryUtil@@SAXAAV?$btAlignedObjectArray@VbtVector3@@@@0@Z)
1>E:\v4\Release\v4.exe : fatal error LNK1120: 19 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.42
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Last edited by eiger3970 on Wed Jun 12, 2013 2:06 am, edited 5 times in total.
-
- Posts: 109
- Joined: Tue May 01, 2012 10:42 am
Re: How to download and install Bullet
not sure what you are doing with all the cpp files. There are 3 bullet projects that you must (can) include in your workspace (next to your own project). Those are BulletCollision, BulletDynamics and Linear Math. Then in the properties of your own project, make a reference for all bullet projects.
Then you just have to set the include directory, and you can call bullet from your own project.
Then you just have to set the include directory, and you can call bullet from your own project.
-
- Posts: 9
- Joined: Sun Jun 09, 2013 7:47 am
Re: How to download and install Bullet
Thank you for the reply.
So, I set up a new Visual Studio 2010 project after the above attempts of running the 0BulletSolution.sln file from C:\Program Files\bullet-2.81-rev2613\build\vs2010 download resulted in the previous errors.
In my new Visual Studio 2010 project, I added in my project's folder:
btBulletCollisionCommon.h
btBulletDynamicsCommon.h
BulletCollision
BulletDynamics
Linear Math
HelloWorld.cpp (from the C:\Program Files\bullet-2.81-rev2613\Demos\HelloWorld folder, to test the BULLET PHYSICS LIBRARY).
Unable to make a reference via Visual Studio 2010 > Solution Explorer > (right click) projectname > Properties >
Common Properties > Framework and References > Add New Reference... > nothing there to select?
So added BulletCollision, BulletDynamics and Linear Math via:
Visual Studio 2010 > Solution Explorer > (right click) projectname > Properties > Configuration Properties > C/C++
> General > Additional Include Directories.
Visual Studio 2010 > Project > (right click on Project) > Properties > Configuration Properties > VC++ Directories
> Include Directories.
This results in similar errors as my attempt running the 0BulletSolution.sln file from C:\Program Files\bullet-2.81-rev2613\build\vs2010.
Errors:
1>------ Build started: Project: v5, Configuration: Debug Win32 ------
1>Build started 11/06/2013 11:19:45.
1>InitializeBuildStatus:
1> Touching "Debug\v5.unsuccessfulbuild".
1>ClCompile:
1> All outputs are up-to-date.
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall btRigidBody::btRigidBody(struct btRigidBody::btRigidBodyConstructionInfo const &)" (??0btRigidBody@@QAE@ABUbtRigidBodyConstructionInfo@0@@Z) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall btBoxShape::btBoxShape(class btVector3 const &)" (??0btBoxShape@@QAE@ABVbtVector3@@@Z) referenced in function _main
1>main.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 _main
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver(void)" (??0btSequentialImpulseConstraintSolver@@QAE@XZ) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall btDbvtBroadphase::btDbvtBroadphase(class btOverlappingPairCache *)" (??0btDbvtBroadphase@@QAE@PAVbtOverlappingPairCache@@@Z) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall btCollisionDispatcher::btCollisionDispatcher(class btCollisionConfiguration *)" (??0btCollisionDispatcher@@QAE@PAVbtCollisionConfiguration@@@Z) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall btDefaultCollisionConfiguration::btDefaultCollisionConfiguration(struct btDefaultCollisionConstructionInfo const &)" (??0btDefaultCollisionConfiguration@@QAE@ABUbtDefaultCollisionConstructionInfo@@@Z) referenced in function _main
1>main.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>main.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>main.obj : error LNK2019: unresolved external symbol "protected: __thiscall btConvexInternalShape::btConvexInternalShape(void)" (??0btConvexInternalShape@@IAE@XZ) referenced in function "public: __thiscall btSphereShape::btSphereShape(float)" (??0btSphereShape@@QAE@M@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::getAabb(class btTransform const &,class btVector3 &,class btVector3 &)const " (?getAabb@btSphereShape@@UBEXABVbtTransform@@AAVbtVector3@@1@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btCollisionShape::getBoundingSphere(class btVector3 &,float &)const " (?getBoundingSphere@btCollisionShape@@UBEXAAVbtVector3@@AAM@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall btCollisionShape::getAngularMotionDisc(void)const " (?getAngularMotionDisc@btCollisionShape@@UBEMXZ)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall btCollisionShape::getContactBreakingThreshold(float)const " (?getContactBreakingThreshold@btCollisionShape@@UBEMM@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btConvexInternalShape::setLocalScaling(class btVector3 const &)" (?setLocalScaling@btConvexInternalShape@@UAEXABVbtVector3@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::calculateLocalInertia(float,class btVector3 &)const " (?calculateLocalInertia@btSphereShape@@UBEXMAAVbtVector3@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btCollisionShape::serializeSingleShape(class btSerializer *)const " (?serializeSingleShape@btCollisionShape@@UBEXPAVbtSerializer@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btSphereShape::localGetSupportingVertex(class btVector3 const &)const " (?localGetSupportingVertex@btSphereShape@@UBE?AVbtVector3@@ABV2@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btSphereShape::localGetSupportingVertexWithoutMargin(class btVector3 const &)const " (?localGetSupportingVertexWithoutMargin@btSphereShape@@UBE?AVbtVector3@@ABV2@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btConvexShape::project(class btTransform const &,class btVector3 const &,float &,float &)const " (?project@btConvexShape@@UBEXABVbtTransform@@ABVbtVector3@@AAM2@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::batchedUnitVectorGetSupportingVertexWithoutMargin(class btVector3 const *,class btVector3 *,int)const " (?batchedUnitVectorGetSupportingVertexWithoutMargin@btSphereShape@@UBEXPBVbtVector3@@PAV2@H@Z)
1>main.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>main.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>main.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btConvexInternalShape::localGetSupportingVertex(class btVector3 const &)const " (?localGetSupportingVertex@btConvexInternalShape@@UBE?AVbtVector3@@ABV2@@Z)
1>main.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>E:\v5\Debug\v5.exe : fatal error LNK1120: 25 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.15
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
My understanding of the error 1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall btRigidBody::btRigidBody(struct btRigidBody::btRigidBodyConstructionInfo const &)" (??0btRigidBody@@QAE@ABUbtRigidBodyConstructionInfo@0@@Z) referenced in function _main
is that my project cannot find the btRigidBody.cpp file which is in BulletDynamics\Dynamics, however I have added the BulletDynamics folder into my project folder and added the
Visual Studio 2010 > Solution Explorer > (right click) projectname > Properties > Configuration Properties > C/C++
> General > Additional Include Directories.
Visual Studio 2010 > Project > (right click on Project) > Properties > Configuration Properties > VC++ Directories
> Include Directories.
Any suggestions?
So, I set up a new Visual Studio 2010 project after the above attempts of running the 0BulletSolution.sln file from C:\Program Files\bullet-2.81-rev2613\build\vs2010 download resulted in the previous errors.
In my new Visual Studio 2010 project, I added in my project's folder:
btBulletCollisionCommon.h
btBulletDynamicsCommon.h
BulletCollision
BulletDynamics
Linear Math
HelloWorld.cpp (from the C:\Program Files\bullet-2.81-rev2613\Demos\HelloWorld folder, to test the BULLET PHYSICS LIBRARY).
Unable to make a reference via Visual Studio 2010 > Solution Explorer > (right click) projectname > Properties >
Common Properties > Framework and References > Add New Reference... > nothing there to select?
So added BulletCollision, BulletDynamics and Linear Math via:
Visual Studio 2010 > Solution Explorer > (right click) projectname > Properties > Configuration Properties > C/C++
> General > Additional Include Directories.
Visual Studio 2010 > Project > (right click on Project) > Properties > Configuration Properties > VC++ Directories
> Include Directories.
This results in similar errors as my attempt running the 0BulletSolution.sln file from C:\Program Files\bullet-2.81-rev2613\build\vs2010.
Errors:
1>------ Build started: Project: v5, Configuration: Debug Win32 ------
1>Build started 11/06/2013 11:19:45.
1>InitializeBuildStatus:
1> Touching "Debug\v5.unsuccessfulbuild".
1>ClCompile:
1> All outputs are up-to-date.
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall btRigidBody::btRigidBody(struct btRigidBody::btRigidBodyConstructionInfo const &)" (??0btRigidBody@@QAE@ABUbtRigidBodyConstructionInfo@0@@Z) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall btBoxShape::btBoxShape(class btVector3 const &)" (??0btBoxShape@@QAE@ABVbtVector3@@@Z) referenced in function _main
1>main.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 _main
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall btSequentialImpulseConstraintSolver::btSequentialImpulseConstraintSolver(void)" (??0btSequentialImpulseConstraintSolver@@QAE@XZ) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall btDbvtBroadphase::btDbvtBroadphase(class btOverlappingPairCache *)" (??0btDbvtBroadphase@@QAE@PAVbtOverlappingPairCache@@@Z) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall btCollisionDispatcher::btCollisionDispatcher(class btCollisionConfiguration *)" (??0btCollisionDispatcher@@QAE@PAVbtCollisionConfiguration@@@Z) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall btDefaultCollisionConfiguration::btDefaultCollisionConfiguration(struct btDefaultCollisionConstructionInfo const &)" (??0btDefaultCollisionConfiguration@@QAE@ABUbtDefaultCollisionConstructionInfo@@@Z) referenced in function _main
1>main.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>main.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>main.obj : error LNK2019: unresolved external symbol "protected: __thiscall btConvexInternalShape::btConvexInternalShape(void)" (??0btConvexInternalShape@@IAE@XZ) referenced in function "public: __thiscall btSphereShape::btSphereShape(float)" (??0btSphereShape@@QAE@M@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::getAabb(class btTransform const &,class btVector3 &,class btVector3 &)const " (?getAabb@btSphereShape@@UBEXABVbtTransform@@AAVbtVector3@@1@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btCollisionShape::getBoundingSphere(class btVector3 &,float &)const " (?getBoundingSphere@btCollisionShape@@UBEXAAVbtVector3@@AAM@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall btCollisionShape::getAngularMotionDisc(void)const " (?getAngularMotionDisc@btCollisionShape@@UBEMXZ)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall btCollisionShape::getContactBreakingThreshold(float)const " (?getContactBreakingThreshold@btCollisionShape@@UBEMM@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btConvexInternalShape::setLocalScaling(class btVector3 const &)" (?setLocalScaling@btConvexInternalShape@@UAEXABVbtVector3@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::calculateLocalInertia(float,class btVector3 &)const " (?calculateLocalInertia@btSphereShape@@UBEXMAAVbtVector3@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btCollisionShape::serializeSingleShape(class btSerializer *)const " (?serializeSingleShape@btCollisionShape@@UBEXPAVbtSerializer@@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btSphereShape::localGetSupportingVertex(class btVector3 const &)const " (?localGetSupportingVertex@btSphereShape@@UBE?AVbtVector3@@ABV2@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btSphereShape::localGetSupportingVertexWithoutMargin(class btVector3 const &)const " (?localGetSupportingVertexWithoutMargin@btSphereShape@@UBE?AVbtVector3@@ABV2@@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btConvexShape::project(class btTransform const &,class btVector3 const &,float &,float &)const " (?project@btConvexShape@@UBEXABVbtTransform@@ABVbtVector3@@AAM2@Z)
1>main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::batchedUnitVectorGetSupportingVertexWithoutMargin(class btVector3 const *,class btVector3 *,int)const " (?batchedUnitVectorGetSupportingVertexWithoutMargin@btSphereShape@@UBEXPBVbtVector3@@PAV2@H@Z)
1>main.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>main.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>main.obj : error LNK2001: unresolved external symbol "public: virtual class btVector3 __thiscall btConvexInternalShape::localGetSupportingVertex(class btVector3 const &)const " (?localGetSupportingVertex@btConvexInternalShape@@UBE?AVbtVector3@@ABV2@@Z)
1>main.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>E:\v5\Debug\v5.exe : fatal error LNK1120: 25 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.15
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
My understanding of the error 1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall btRigidBody::btRigidBody(struct btRigidBody::btRigidBodyConstructionInfo const &)" (??0btRigidBody@@QAE@ABUbtRigidBodyConstructionInfo@0@@Z) referenced in function _main
is that my project cannot find the btRigidBody.cpp file which is in BulletDynamics\Dynamics, however I have added the BulletDynamics folder into my project folder and added the
Visual Studio 2010 > Solution Explorer > (right click) projectname > Properties > Configuration Properties > C/C++
> General > Additional Include Directories.
Visual Studio 2010 > Project > (right click on Project) > Properties > Configuration Properties > VC++ Directories
> Include Directories.
Any suggestions?
Last edited by eiger3970 on Wed Jun 12, 2013 1:27 am, edited 3 times in total.
-
- Posts: 9
- Joined: Sun Jun 09, 2013 7:47 am
Re: How to download and install Bullet
So, now trying to use http://bulletphysics.org/mediawiki-1.5. ... om_scratch CMake method as Alternative manual method failed as per above posts.
I selected CMake (cmake-gui) > chose source code location and where to build binaries > Configure > Visual Studio 10 (I'm using Microsoft Visual Studio 2010 Version 10.0.40219.1 SP1Rel) > Use default native compilers > Finish.
CMake then gives the error: Error in configuration process, project files may be invalid.
I have searched in the folder where binaries are being built and there's no CMakeLists.txt to add the recommended code: cmake_minimum_required(VERSION 2.
.
Full error here:
The C compiler identification is MSVC 16.0.40219.1
The CXX compiler identification is MSVC 16.0.40219.1
Check for working C compiler using: Visual Studio 10
Check for working C compiler using: Visual Studio 10 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 10
Check for working CXX compiler using: Visual Studio 10 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at BulletSoftBody/CMakeLists.txt:41 (SET_TARGET_PROPERTIES):
set_target_properties called with incorrect number of arguments.
CMake Error at BulletSoftBody/CMakeLists.txt:42 (SET_TARGET_PROPERTIES):
set_target_properties called with incorrect number of arguments.
CMake Error at BulletCollision/CMakeLists.txt:244 (SET_TARGET_PROPERTIES):
set_target_properties called with incorrect number of arguments.
CMake Error at BulletCollision/CMakeLists.txt:245 (SET_TARGET_PROPERTIES):
set_target_properties called with incorrect number of arguments.
CMake Error at BulletDynamics/CMakeLists.txt:82 (SET_TARGET_PROPERTIES):
set_target_properties called with incorrect number of arguments.
CMake Error at BulletDynamics/CMakeLists.txt:83 (SET_TARGET_PROPERTIES):
set_target_properties called with incorrect number of arguments.
CMake Error at LinearMath/CMakeLists.txt:47 (SET_TARGET_PROPERTIES):
set_target_properties called with incorrect number of arguments.
CMake Error at LinearMath/CMakeLists.txt:48 (SET_TARGET_PROPERTIES):
set_target_properties called with incorrect number of arguments.
Configuring incomplete, errors occurred!
I selected CMake (cmake-gui) > chose source code location and where to build binaries > Configure > Visual Studio 10 (I'm using Microsoft Visual Studio 2010 Version 10.0.40219.1 SP1Rel) > Use default native compilers > Finish.
CMake then gives the error: Error in configuration process, project files may be invalid.
I have searched in the folder where binaries are being built and there's no CMakeLists.txt to add the recommended code: cmake_minimum_required(VERSION 2.

Full error here:
The C compiler identification is MSVC 16.0.40219.1
The CXX compiler identification is MSVC 16.0.40219.1
Check for working C compiler using: Visual Studio 10
Check for working C compiler using: Visual Studio 10 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 10
Check for working CXX compiler using: Visual Studio 10 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at BulletSoftBody/CMakeLists.txt:41 (SET_TARGET_PROPERTIES):
set_target_properties called with incorrect number of arguments.
CMake Error at BulletSoftBody/CMakeLists.txt:42 (SET_TARGET_PROPERTIES):
set_target_properties called with incorrect number of arguments.
CMake Error at BulletCollision/CMakeLists.txt:244 (SET_TARGET_PROPERTIES):
set_target_properties called with incorrect number of arguments.
CMake Error at BulletCollision/CMakeLists.txt:245 (SET_TARGET_PROPERTIES):
set_target_properties called with incorrect number of arguments.
CMake Error at BulletDynamics/CMakeLists.txt:82 (SET_TARGET_PROPERTIES):
set_target_properties called with incorrect number of arguments.
CMake Error at BulletDynamics/CMakeLists.txt:83 (SET_TARGET_PROPERTIES):
set_target_properties called with incorrect number of arguments.
CMake Error at LinearMath/CMakeLists.txt:47 (SET_TARGET_PROPERTIES):
set_target_properties called with incorrect number of arguments.
CMake Error at LinearMath/CMakeLists.txt:48 (SET_TARGET_PROPERTIES):
set_target_properties called with incorrect number of arguments.
Configuring incomplete, errors occurred!
-
- Posts: 463
- Joined: Fri Nov 30, 2012 4:50 am
Re: How to download and install Bullet
Is this your first time using Visual Studio? If it is, it might be as simple as you accidentally mixing debug and release build information and the program having no clue what to do with everything. That can be resolved by simply going to build-> clean and then rebuilding. Could also be that you forgot a necessary file, which shouldn't be happening if you use the included project file as-is.
cmake works if you follow the instructions in the 2.81 manual, but I find it easier to just open the vs2010 project file included in the zip.
cmake works if you follow the instructions in the 2.81 manual, but I find it easier to just open the vs2010 project file included in the zip.
-
- Posts: 9
- Joined: Sun Jun 09, 2013 7:47 am
Re: How to download and install Bullet
Thank you for the reply.
I go to C:\Program Files\bullet-2.81-rev2613\build\vs2010\0BulletSolution.sln.
This opens VS2010.
I select Debug or Release (I tried Build > Clean Solution) and receive error:
No Debugging Information.
Debugging information for 'App_HelloWorld_vs2010.exe' cannot be found or does not match. Binary was not built with
debug information. Do you want to continue debugging?
Yes (shows a DOS screen with lots of 0s for 1/2 a second).
No (closed DOS screen with no data shown in the DOS window).
'App_HelloWorld_vs2010_debug.exe': Loaded 'C:\Program Files\bullet-2.81-rev2613\App_HelloWorld_vs2010_debug.exe',
Symbols loaded.
'App_HelloWorld_vs2010_debug.exe': Loaded 'C:\Windows\System32\ntdll.dll', Cannot find or open the PDB file
'App_HelloWorld_vs2010_debug.exe': Loaded 'C:\Windows\System32\kernel32.dll', Cannot find or open the PDB file
'App_HelloWorld_vs2010_debug.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Cannot find or open the PDB file
The program '[988] App_HelloWorld_vs2010_debug.exe: Native' has exited with code 0 (0x0).
So, I went to VS2010 > Tools > Options > Debugging > Symbols > (checked) Microsoft Symbol Servers > OK.
I went to VS2010 > Solution Explorer > (right clicked) HelloWorldProject > Properties > Configuration Properties >
C/C++ > General > Debug Information Format: Program Database For Edit And Continue.
VS2010 > Solution Explorer > (right clicked) HelloWorldProject > Properties > Configuration Properties > C/C++ >
General > Optimization > Optimization: Disabled.
VS2010 > Solution Explorer > (right clicked) HelloWorldProject > Properties > Configuration Properties > Linker >
Debugging > Generate Debug Info: Yes > Apply > OK.
Now no DOS window appears when I Debug or Release. The only output is:
'App_HelloWorld_vs2010.exe': Loaded 'C:\Program Files\bullet-2.81-rev2613\App_HelloWorld_vs2010.exe', Symbols loaded.
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\ntdll.dll', Symbols loaded (source information stripped).
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\kernel32.dll', Symbols loaded (source information stripped).
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Symbols loaded (source information stripped).
The program '[1008] App_HelloWorld_vs2010.exe: Native' has exited with code 0 (0x0).
I go to C:\Program Files\bullet-2.81-rev2613\build\vs2010\0BulletSolution.sln.
This opens VS2010.
I select Debug or Release (I tried Build > Clean Solution) and receive error:
No Debugging Information.
Debugging information for 'App_HelloWorld_vs2010.exe' cannot be found or does not match. Binary was not built with
debug information. Do you want to continue debugging?
Yes (shows a DOS screen with lots of 0s for 1/2 a second).
No (closed DOS screen with no data shown in the DOS window).
'App_HelloWorld_vs2010_debug.exe': Loaded 'C:\Program Files\bullet-2.81-rev2613\App_HelloWorld_vs2010_debug.exe',
Symbols loaded.
'App_HelloWorld_vs2010_debug.exe': Loaded 'C:\Windows\System32\ntdll.dll', Cannot find or open the PDB file
'App_HelloWorld_vs2010_debug.exe': Loaded 'C:\Windows\System32\kernel32.dll', Cannot find or open the PDB file
'App_HelloWorld_vs2010_debug.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Cannot find or open the PDB file
The program '[988] App_HelloWorld_vs2010_debug.exe: Native' has exited with code 0 (0x0).
So, I went to VS2010 > Tools > Options > Debugging > Symbols > (checked) Microsoft Symbol Servers > OK.
I went to VS2010 > Solution Explorer > (right clicked) HelloWorldProject > Properties > Configuration Properties >
C/C++ > General > Debug Information Format: Program Database For Edit And Continue.
VS2010 > Solution Explorer > (right clicked) HelloWorldProject > Properties > Configuration Properties > C/C++ >
General > Optimization > Optimization: Disabled.
VS2010 > Solution Explorer > (right clicked) HelloWorldProject > Properties > Configuration Properties > Linker >
Debugging > Generate Debug Info: Yes > Apply > OK.
Now no DOS window appears when I Debug or Release. The only output is:
'App_HelloWorld_vs2010.exe': Loaded 'C:\Program Files\bullet-2.81-rev2613\App_HelloWorld_vs2010.exe', Symbols loaded.
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\ntdll.dll', Symbols loaded (source information stripped).
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\kernel32.dll', Symbols loaded (source information stripped).
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Symbols loaded (source information stripped).
The program '[1008] App_HelloWorld_vs2010.exe: Native' has exited with code 0 (0x0).
Last edited by eiger3970 on Wed Jun 12, 2013 1:16 am, edited 1 time in total.
-
- Posts: 109
- Joined: Tue May 01, 2012 10:42 am
Re: How to download and install Bullet
You shouldn't include folders in your own project, but there are project files in the bullet directory somewhere for those 3 projects that you need to include. Then you can set the references.
Search for .vcproj files or something like that. It is also shown here, but then for MSVC 2009
http://bulletphysics.org/mediawiki-1.5. ... om_scratch
With directions for mscv++ 2010 too:
If you are done you should see 4 projects in your workspace on the left. 3 bullet and your own. You don't need to include any CPP OR header files in your workspace. Just set the include directory right and do
in your own C++/h files.
Good luck!
Search for .vcproj files or something like that. It is also shown here, but then for MSVC 2009
http://bulletphysics.org/mediawiki-1.5. ... om_scratch
With directions for mscv++ 2010 too:
"Visual Studio 2010: the above does not apply, use referencing instead. Go to your project's property pages. In the left panel, select Common Properties->Framework and References. Hit the Add New Reference button a few times and add all the bullet libraries you need (in this case, at least BulletCollision, BulletDynamics and LinearMath). When you get the error The project file has been moved renamed or not on your computer, check the References for the newly added project. Removes references to 'ZERO_CHECK'."
If you are done you should see 4 projects in your workspace on the left. 3 bullet and your own. You don't need to include any CPP OR header files in your workspace. Just set the include directory right and do
Code: Select all
#include <btDynamicsCommon.h>
Good luck!
-
- Posts: 9
- Joined: Sun Jun 09, 2013 7:47 am
Re: How to download and install Bullet
Thank you for the reply.
I opened C:\Program Files\bullet-2.81-rev2613\build\vs2010\0BulletSolution.sln which automatically uses the C:\Program Files\bullet-2.81-rev2613\src folder which contains
BulletCollision
BulletDynamics
BulletMultiThreaded
BulletSoftBody
LinearMath
MiniCL
vectormath
btBulletCollisionCommon.h
btBulletDynamicsCommon.h
Bullet-C-Api.h
I set references in Microsoft Visual 2010 > Solution Explorer > (right click) App_HelloWorld > References... > Add New Reference... > AppHelloWorld > OK > OK.
I try to add App_HelloWorld.vcxproj by going to Visual Studio 2010 > File > Add > Existing Project... >
C:\Program Files\bullet-2.81-rev2613\build\vs2010 > App_HelloWorld.vcxproj > Open, but I receive error: The project 'App_HelloWorld' cannot be added to the solution because it is already a member of the solution.
I believe this is because when I load 0BulletSolution.sln, all Demo .cpp files are loaded into the Visual Studio 2010 Solution Explorer.
Project dependencies seem correct in Visual Studio 2010 > Solution Explorer > (right click) App_HelloWorld > Project Dependencies... > (already checked) AppHelloWorld, BulletCollision, BulletDynamics and LinearMath.
Additional Include Directories seem correct in Visual Studio 2010 > Solution Explorer > (right click) App_HelloWorld > Properties > Configuration Properties > C/C++ > General > Additional Include Directories: C:\Program Files\bullet-2.81-rev2613\src.
Visual Studio 2010 > Release, then gives same result as previous post with:
'App_HelloWorld_vs2010.exe': Loaded 'C:\Program Files\bullet-2.81-rev2613\App_HelloWorld_vs2010.exe', Symbols loaded.
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\ntdll.dll', Symbols loaded (source information stripped).
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\kernel32.dll', Symbols loaded (source information stripped).
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Symbols loaded (source information stripped).
The program '[3712] App_HelloWorld_vs2010.exe: Native' has exited with code 0 (0x0).
Link Library Dependencies seem correct in Visual Studio 2010 > Solution Explorer > (right click) App_HelloWorld > Properties > Configuration Properties > Linker > General > Link Library Dependencies: Yes.
References seem correct in
Visual Studio 2010 > Solution Explorer > (right click) App_HelloWorld > References... > Add New Reference... >
BulletCollision_vs2010 > OK > BulletDynamics_vs2010 > OK > LinearMath_vs2010 > OK (AppHelloWorld_vs2010 is already
in References).
I see no references to 'ZERO_CHECK' to be removed.
Visual Studio 2010 > Release, still gives same result:
'App_HelloWorld_vs2010.exe': Loaded 'C:\Program Files\bullet-2.81-rev2613\App_HelloWorld_vs2010.exe', Symbols loaded.
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\ntdll.dll', Symbols loaded (source information stripped).
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\kernel32.dll', Symbols loaded (source information stripped).
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Symbols loaded (source information stripped).
The program '[3712] App_HelloWorld_vs2010.exe: Native' has exited with code 0 (0x0).
Still no go? Any suggestions welcome.
I opened C:\Program Files\bullet-2.81-rev2613\build\vs2010\0BulletSolution.sln which automatically uses the C:\Program Files\bullet-2.81-rev2613\src folder which contains
BulletCollision
BulletDynamics
BulletMultiThreaded
BulletSoftBody
LinearMath
MiniCL
vectormath
btBulletCollisionCommon.h
btBulletDynamicsCommon.h
Bullet-C-Api.h
I set references in Microsoft Visual 2010 > Solution Explorer > (right click) App_HelloWorld > References... > Add New Reference... > AppHelloWorld > OK > OK.
I try to add App_HelloWorld.vcxproj by going to Visual Studio 2010 > File > Add > Existing Project... >
C:\Program Files\bullet-2.81-rev2613\build\vs2010 > App_HelloWorld.vcxproj > Open, but I receive error: The project 'App_HelloWorld' cannot be added to the solution because it is already a member of the solution.
I believe this is because when I load 0BulletSolution.sln, all Demo .cpp files are loaded into the Visual Studio 2010 Solution Explorer.
Project dependencies seem correct in Visual Studio 2010 > Solution Explorer > (right click) App_HelloWorld > Project Dependencies... > (already checked) AppHelloWorld, BulletCollision, BulletDynamics and LinearMath.
Additional Include Directories seem correct in Visual Studio 2010 > Solution Explorer > (right click) App_HelloWorld > Properties > Configuration Properties > C/C++ > General > Additional Include Directories: C:\Program Files\bullet-2.81-rev2613\src.
Visual Studio 2010 > Release, then gives same result as previous post with:
'App_HelloWorld_vs2010.exe': Loaded 'C:\Program Files\bullet-2.81-rev2613\App_HelloWorld_vs2010.exe', Symbols loaded.
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\ntdll.dll', Symbols loaded (source information stripped).
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\kernel32.dll', Symbols loaded (source information stripped).
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Symbols loaded (source information stripped).
The program '[3712] App_HelloWorld_vs2010.exe: Native' has exited with code 0 (0x0).
Link Library Dependencies seem correct in Visual Studio 2010 > Solution Explorer > (right click) App_HelloWorld > Properties > Configuration Properties > Linker > General > Link Library Dependencies: Yes.
References seem correct in
Visual Studio 2010 > Solution Explorer > (right click) App_HelloWorld > References... > Add New Reference... >
BulletCollision_vs2010 > OK > BulletDynamics_vs2010 > OK > LinearMath_vs2010 > OK (AppHelloWorld_vs2010 is already
in References).
I see no references to 'ZERO_CHECK' to be removed.
Visual Studio 2010 > Release, still gives same result:
'App_HelloWorld_vs2010.exe': Loaded 'C:\Program Files\bullet-2.81-rev2613\App_HelloWorld_vs2010.exe', Symbols loaded.
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\ntdll.dll', Symbols loaded (source information stripped).
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\kernel32.dll', Symbols loaded (source information stripped).
'App_HelloWorld_vs2010.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Symbols loaded (source information stripped).
The program '[3712] App_HelloWorld_vs2010.exe: Native' has exited with code 0 (0x0).
Still no go? Any suggestions welcome.
-
- Posts: 463
- Joined: Fri Nov 30, 2012 4:50 am
Re: How to download and install Bullet
First, you should try build->vs2010 instead of building your own (for now), the solution file there is already ready to go.eiger3970 wrote:Thank you for the reply.
I opened C:\Program Files\bullet-2.81-rev2613\build\vs2010\0BulletSolution.sln which automatically uses the C:\Program Files\bullet-2.81-rev2613\src folder which contains
Native' has exited with code 0 (0x0).
Still no go? Any suggestions welcome.
And exiting with code of 0 after some CMD lines sounds about right actually. Like I said, you should test other things, not hello world. Try forklift demo, it should entertain you for a bit.
-
- Posts: 9
- Joined: Sun Jun 09, 2013 7:47 am
Re: How to download and install Bullet
Thanks for the reply.
Finally working.
Here are the steps:
1. Download bullet-2.81-rev2613.zip from https://code.google.com/p/bullet/downloads/list.
2. Unzip the file bullet-2.81-rev2613.zip to C:\Program Files.
3. Open BulletQuickstart.pdf (page 4, 2.1 Microsoft Visual Studio) from C:\Program Files\bullet-2.81-rev2613\docs.
4. Open 0BulletSolution.sln from C:\Program Files\bullet-2.81-rev2613\build\vs2010.
5. Microsoft Visual Studio 10 prompts: Do you want to restart the application with elevated permission? Restart this application under different credentials: Yes.
6. (uncheck) Ask me for every project in this solution > OK.
7. Microsoft Visual Studio 2010 > Solution Explorer > Delete all Demo projects except:
the demo you want and
BulletCollision
BulletDynamics
BulletFileLoader
BulletSoftBody
BulletWorldImporter
BulletXmlWorldImporter
ConvexDecomposition
HACD
LinearMath
OpenGLSupport
8. Microsoft Visual Studio 2010 > Release: Win32.
Not sure how to add new demos apart from starting new process again and deleting unwanted demos?
Finally working.
Here are the steps:
1. Download bullet-2.81-rev2613.zip from https://code.google.com/p/bullet/downloads/list.
2. Unzip the file bullet-2.81-rev2613.zip to C:\Program Files.
3. Open BulletQuickstart.pdf (page 4, 2.1 Microsoft Visual Studio) from C:\Program Files\bullet-2.81-rev2613\docs.
4. Open 0BulletSolution.sln from C:\Program Files\bullet-2.81-rev2613\build\vs2010.
5. Microsoft Visual Studio 10 prompts: Do you want to restart the application with elevated permission? Restart this application under different credentials: Yes.
6. (uncheck) Ask me for every project in this solution > OK.
7. Microsoft Visual Studio 2010 > Solution Explorer > Delete all Demo projects except:
the demo you want and
BulletCollision
BulletDynamics
BulletFileLoader
BulletSoftBody
BulletWorldImporter
BulletXmlWorldImporter
ConvexDecomposition
HACD
LinearMath
OpenGLSupport
8. Microsoft Visual Studio 2010 > Release: Win32.
Not sure how to add new demos apart from starting new process again and deleting unwanted demos?
Last edited by eiger3970 on Wed Jun 12, 2013 11:20 pm, edited 1 time in total.
-
- Posts: 463
- Joined: Fri Nov 30, 2012 4:50 am
Re: How to download and install Bullet
You're doing it wrongeiger3970 wrote:Thanks for the reply.
Not sure how to add new demos apart from starting new process again and deleting unwanted demos?

Point of a project file is so that you have all the parts of your project in one place. The point of the demos is for you to learn how to use bullet. The point of learning visual studio is so that you don't confuse a bullet issue with a visual studio one.
Please check: http://msdn.microsoft.com/en-us/library ... =vs.100%29
We all have to start somewhere, it just seems your starting point needs to be a bit before bullet. After learning how to use the IDE you'll have bullet up and running in no time.