-
-
Notifications
You must be signed in to change notification settings - Fork 6
Build on Ubuntu 22.04
Jakob Flierl edited this page May 26, 2022
·
13 revisions
sudo apt -y install libbullet-dev libassimp-dev liblua5.2-dev libluabind-dev \
libqglviewer-headers libqglviewer-dev-qt5 freeglut3-dev libglew-dev \
libsdl2-dev git g++
Optional but recommended run-time dependencies:
- OpenSCAD from https://openscad.org
sudo apt -y install openscad
- POV-Ray from http://www.povray.org
sudo apt -y install povray povray-examples
For development Qt Creator is recommended:
sudo apt -y install qtcreator
Build and run BPP within Qt Creator:
git clone https://github.com/bullet-physics-playground/bpp --depth=1
cd bpp
qtcreator bpp.pro
Build and run BPP from command-line:
git clone https://github.com/bullet-physics-playground/bpp --depth=1
cd bpp
QT_SELECT=qt5 qmake
make -j $(nproc)
./bpp
Or build and install a Debian package:
dpkg-buildpackage -uc -us
cd ..
sudo dpkg -i bpp*.deb
and run from the Ubuntu program launcher (windows key + search, type "bpp").