Wednesday, March 16, 2011

Use Irrlicht with the bullet physics engine

This is mainly collected from other peoples work.

First you must install the irrlicht and bullet frameworks.  I use bullet v2.77
[CODE]cd path/to/bullet
mkdir bullet-build
cd bullet-build
cmake .. -G "Unix Makefiles" -DINSTALL_LIBS=ON -DBUILD_SHARED_LIBS=ON -DFRAMEWORK=ON \
-DCMAKE_OSX_ARCHITECTURES='i386;x86_64' -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/Library/Frameworks -DCMAKE_INSTALL_NAME_DIR=/Library/Frameworks \
-DBUILD_DEMOS:BOOL=OFF
make -j4
sudo make install[/CODE]

Example xCode project

No comments:

Post a Comment