9 Home
Ilya Komsa edited this page 2016-11-23 17:07:00 +03:00

Welcome to the bullet3 wiki!

Building

Windows

  1. Run build3/vs2010.bat
  2. Open build3/vs2010/0_Bullet3Solution.sln

Mac OSX

  1. Run on build3/xcode.command
  2. open build3/xcode4/0MySolution.xcworkspace

Linux

For Eclipse CDT using CMake:

  1. Go into build3 and run (minimal configuration):

    cmake -G"Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..

    (With -D, you can add additional build options, another configuration is below, pick the ones you want and add it to the minimal configuration above.) If you want all demos and and a double precision build (more precise physics), run: cmake -G"Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DBUILD_BULLET2_DEMOS=ON -DBUILD_CPU_DEMOS=ON -DBUILD_BULLET3=ON -DBUILD_OPENGL3_DEMOS=ON -DBUILD_EXTRAS=ON -DBUILD_SHARED_LIBS=ON -DINSTALL_EXTRA_LIBS=ON -DUSE_DOUBLE_PRECISION=ON ..

  2. Run make -j4 (where 4 is the number of CPU cores you have,just for faster compilation)

  3. Run sudo make install

  4. Run sudo ldconfig

  5. Open build3/.project in eclipse.