-
-
Notifications
You must be signed in to change notification settings - Fork 6
Build on Mint 20.3
Jakob Flierl edited this page Jun 19, 2022
·
4 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++ libqscintilla2-qt5-dev help2man
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 CONFIG+=debug # for bpp debug binary
QT_SELECT=qt5 qmake CONFIG+=release # for bpp release binary
make -j $(nproc)
release/bpp
Or build and install a Debian package:
apt -qq -y install devscripts equivs
mk-build-deps -i -s sudo -t "apt --yes --no-install-recommends"
dpkg-buildpackage -b -rfakeroot -us -uc
cd ..
sudo dpkg -i bpp*.deb
sudo apt -f install
and run BPP from the program launcher (windows key + search, type "bpp").