The BulletSim build process is to generate static Bullet libraries and then 
statically link these to create the BulletSim DLL/SO.  The CMake parameters I 
use are “-DBUILD_EXTRAS=on –DBUILD_DEMOS=off –DINSTALL_LIBS=on 
–DINSTALL_EXTRA_LIBS=on –DBUILD_SHARED_LIBS=off –DCMAKE_BUILD_TYPE=Release”.[1] 
The shared library build is ‘off’ to generate the ‘.a’ libraries to statically 
link with BulletSim.

If you come up with a similar build process for osx, I would like to add that 
to the BulletSim documentation so, when you are successful, please share the 
process.

A totally different approach would be to use the Bullet implementation that is 
all C#. This requires no machine dependent libraries at the cost of some 
performance. This other engine is turned on in your INI file by selecting the 
BulletSim physics engine and then specifying the XNA Bullet implementation:

               [Startup]
               physics = BulletSim
               [BulletSim]
               BulletEngine = “bulletxna”

-- ra

[1] BUILD.TXT for BulletSim in opensim-libs with recently updated with the 
CMake parameter examples.

From: [email protected] 
[mailto:[email protected]] On Behalf Of jon cundill
Sent: Tuesday, April 02, 2013 4:25 PM
To: [email protected]
Subject: [Opensim-dev] Running BulletSim on osx


Does anyone know what steps are needed to get this working?

I've been trying to enable BulletSim physics for osx. The dylibs aren't in git 
- so it doesn't work out of the box, but I've been playing around this evening 
trying to get this running on my mac.

I've managed to get the opensim-libs cmake working for osx lion (at least I 
think I have - cmake -DBUILD_SHARED_LIBS=ON -DFRAMEWORK=ON etc, gives me a 
bunch of promising looking shared libraries) and I've found the code that tells 
the bullet Physics config how to look for the appropriate dylib in lib/lib32, 
so I can fix that up as well.

However, nothing called libBulletSim.dylib seems to get built by the cmake 
files in opensim-libs, so I'm a bit confused as to what binaries I would need 
to copy into the opensim lib folder in order to make bulletsim happy.

Do I simply rename libbulletcollision or libbulletdynamics to libBulletSim, or 
is it a bit more involved than that?

Thanks

jonc

_______________________________________________
Opensim-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-dev

Reply via email to