Monday, February 15, 2010

Getting Bullet 2.75 Source To Work Ubuntu 9.10 / 9.04

I forgot about this step that I had down at the beginning of the quarter. Basically you need to add your director that bullet resides in to your ld.so.conf file so that the other programs can find the libraries built for bullet when you compile the source. The make install does not install the libraries like most other programs you compile but rather they are located in the orginal bullet source folder that you unzip after you are finished compiling. At the time of this writing Multi-Threaded bullet only works for 32 bit. This is also true of PhysX which is the leading Physics Engine. They are also working on real time fluids for bullet as we speak along with 64 bit multi-threading. So you need to compile bullet with 32 bit Ubuntu for now.

bring up the terminal and type
sudo /usr/bin/gedit

Now go to File->Open and select the folder /etc and then select the file ld.so.conf now open the file. Copy and paste the location of your bullet folder that you compiled on the line below the last line in the file. Now click the save button and close gedit. At the terminal now type:

sudo ldconfig

now test your programs and see if they run in the /usr/local/bin. The three programs of interest here are:
/usr/local/bin/BasicDemo
/usr/local/bin/com
/usr/local/bin/compound

No comments:

Post a Comment