Installing on Linux

Post Reply
RaulHuertas
Posts: 6
Joined: Fri Jun 15, 2007 3:27 am

Installing on Linux

Post by RaulHuertas »

Hello!

I'm new to physics simualtion and I choose Bullet for learn. However, the problem is the installation. I use this commands:

Code: Select all

$cmake .
$make
$make #redundant
And I have this output:

Code: Select all

[ 17%] Built target LibBulletCollision
[ 21%] Built target LibBulletDynamics
[ 21%] Built target LibLinearMath
[ 24%] Built target LibOpenGLSupport
[ 24%] Built target CcdPhysicsDemo
[ 25%] Built target ConstraintDemo
[ 25%] Built target GenericJointDemo
[ 25%] Built target RagdollDemo
[ 26%] Built target BasicDemo
[ 26%] Built target BspPhysicsDemo
[ 28%] Built target LibGIMPACT
[ 29%] Built target MovingConcaveDemo
[ 29%] Built target VehicleDemo
[ 85%] Built target LibColladaDom
[ 99%] Built target LibXML
[100%] Built target ColladaDemo
[100%] Built target UserCollisionAlgorithm

So I guess the bulding was fine. But when I try:

Code: Select all

$sudo make install
I have the output:

Code: Select all

make: *** No rule to make target `install'.  Stop
Any ideas?
RaulHuertas
Posts: 6
Joined: Fri Jun 15, 2007 3:27 am

Installing on Linux

Post by RaulHuertas »

Also there is nothing in the "lib" directory, but the libraries *.a are in their own directories. what else do I need? :S
Enrico
Posts: 42
Joined: Thu May 17, 2007 9:34 am
Location: Stuttgart, Germany
Contact:

Re: Installing on Linux

Post by Enrico »

Hi,

why dont you use the GNU tools "./configure" and make? I have no problems with them, but had problems with cmake, too :(
Hanz
Posts: 14
Joined: Fri Jun 01, 2007 5:36 am

Re: Installing on Linux

Post by Hanz »

RaulHuertas wrote:Any ideas?
I built Bullet libraries and demo examples without any problem.
I did not read the manual but the following steps work for me.

0. Move to the Bullet root directory.

1.

Code: Select all

./configure
2.

Code: Select all

jam
3.

Code: Select all

sudo jam install
That's all.

HTH
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: Installing on Linux

Post by Erwin Coumans »

It seems cmake builds fine for you, the demos and libraries are ok.

Bullet isn't designed for a system-wide install. I recommend to simply copy and paste the files you need into your project. However Bullet provides also jam build support, which appears to provide 'install' functionality.

Do you want to help adding 'install' support through cmake? I'm happy to accept such contribution.
Thanks,
Erwin
Post Reply