Using CMake

KammylandSoftware
Posts: 2
Joined: Sat Apr 18, 2009 3:54 am

Using CMake

Post by KammylandSoftware »

Hello,

I recently downloaded Bullet Physics and I also installed CMake. However, whenever I run CMake it does not make the libbulletmath.a, libbulletcollision.a, libbulletdynamics.a nor the libbulletsoftbody.a file.

I'm using Mac OS X Leopard 10.5.6 with xCode 3.1.2.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Using CMake

Post by Erwin Coumans »

Different build systems produce different names/locations. See also those 2 issues, we haven't addressed yet:
http://code.google.com/p/bullet/issues/detail?id=189 (and to a lesser extend http://code.google.com/p/bullet/issues/detail?id=174)
If you create Cmake to build Bullet, for example using:

Code: Select all

cmake . -G Xcode
or
cmake . -G "Unix Makefiles"
the resulting libraries are located here:

Code: Select all

src/BulletCollision/Release/libBulletCollision.a
src/LinearMath/Release/libLinearMath.a
src/BulletDynamics/Release/libBulletDynamics.a
src/BulletSoftBody/Release/libBulletSoftBody.a
Hope this helps,
Erwin