-
-
Notifications
You must be signed in to change notification settings - Fork 6
Build on Debian Jessie
Jakob Flierl edited this page Jun 19, 2022
·
11 revisions
sudo apt -y install libbullet-dev libassimp-dev lua5.2-dev libluabind-dev \
freeglut3-dev libglew-dev qt5-default git g++ libqscintilla2-qt5-dev
On Debian/Jessie the package libqglviewer-dev is linked against Qt4 , BPP needs a version of libqglviewer linked against Qt5:
# this will break other apps that require the libqglviewer Debian package linked against Qt4
sudo apt remove --purge libqglviewer*
sudo apt-get install devscripts qttools5-dev-tools qttools5-dev
apt-get source libqglviewer-dev
cd libqglviewer-2.*
QT_SELECT=qt5 qmake
make -j $(nproc)
sudo make install
Library versions on Debian/Jessie:
libassimp-dev 3.0~dfsg-3
libbullet-dev 2.82-r2704+d
lua5.2 5.2.3-1.1
libluabind-dev 0.9.1+dfsg-9
freeglut3-dev 2.8.1-2
libglew-dev 1.10.0-3
libqglviewer-dev 2.5.3+dfsg-4
qt5-default 5.3.2+dfsg-4
Optional but recommended run-time dependencies:
- OpenSCAD from http://www.openscad.org/downloads.html#snapshots
wget -qO - http://files.openscad.org/OBS-Repository-Key.pub | sudo apt-key add -
sudo nano /etc/apt/sources.list.d/openscad.list
deb http://download.opensuse.org/repositories/home:/t-paul/Debian_8.0/ ./
sudo apt update
sudo apt install openscad-nightly
- 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 the debug version of BPP from command-line:
git clone https://github.com/bullet-physics-playground/bpp --depth=1
cd bpp
QT_SELECT=qt5 qmake CONFIG+=debug
make -j $(nproc)
gdb debug/bpp