-
Notifications
You must be signed in to change notification settings - Fork 63
Building on Linux
First of all, you have install some development tools and libraries. On modern distors, like Ubuntu 18.04, you can use packet manager:
sudo apt install git gcc cmake libssl1.0-dev qttools5-dev qttools5-dev-tools qtbase5-dev qtpositioning5-dev qtlocation5-dev qtconnectivity5-dev qtmultimedia5-dev qtdeclarative5-dev qtquickcontrols2-5-dev libqt5serialport5-dev libqt5svg5-dev libqt5opengl5-dev libqt5charts5-dev qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtpositioning qml-module-qtlocation qml-module-qtmultimedia qml-module-qtgraphicaleffects qml-module-qtcharts
If your distro does not have Qt5 libs version 5.9 or higher, you can download them manualy from the official Qt site.
To manage different Qt version on your system, please use qtchooser.
Install version with command qtchooser -install <qt_name> <path-to-qmake>
and choose it with export QT_SELECT=<qt_name>
.
Clone with git recursively git clone --recursive https://github.com/MishkaRogachev/JAGCS.git
or just update submodules manualy running git submodule init
and git submodule update
.
cd JAGCS
mkdir build
cd build
cmake .. (here you can set your favorite opions)-DWITH_DEBIAN=ON, -DWITH_GAMEPAD=ON, -DWITH_MAPBOXGL=ON
make -j5
You can use different options running cmake to configure build, like cmake .. -DWITH_MAPBOXGL=ON -DWITH_GAMEPAD=ON
to list options please write cmake .. -L