Compiling Bullet on Linux - some minor install errors

merlinblack
Posts: 1
Joined: Tue Feb 02, 2010 10:02 pm
Location: New Zealand

Compiling Bullet on Linux - some minor install errors

Post by merlinblack »

Hi there,

There are some minor errors to get around when installing the library on Linux, do to with the pkg-config file. The CMake build does not install it. The autotools system does install it, however there is a weird bug in the generation of the configure script, that results in the carriage return between a 'fi' and the next 'if' missing. You can fix this in vi by:

Code: Select all

:%s/fiif/fi\rif/g
Having the package config file installed makes life much easier to compile software against the library. I guess if the CMake install plonked a FindBullet.cmake file somewhere, that would be handy as well. Ogre3d does this now, and puts the main ones beside it's lib files.

I'm not sure how to fix the autotools make :? , but I'll look at Ogre's cmake files, and see if I can get bullet's to do similar.

merlinblack
PS After playing with the demos, I'm rather excited about playing with Bullet! :D
Entelin
Posts: 3
Joined: Wed Feb 03, 2010 10:42 am

Re: Compiling Bullet on Linux - some minor install errors

Post by Entelin »

This happened to me as well, his suggested fix resolved the issue
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Compiling Bullet on Linux - some minor install errors

Post by Erwin Coumans »

Is this fix needed for Bullet 2.75 or latest trunk/Bullet 2.76 beta?

John should have fixed this issue in the trunk (also in 2.76 beta) a while back, see this issue:
http://code.google.com/p/bullet/issues/detail?id=302

Can you double check this with the trunk/beta release?
Thanks a lot,
Erwin