Skip to content

Building on Linux

Mishka edited this page Jul 1, 2018 · 8 revisions

Building on Linux

Instal dependencies

Use your favorite packet manager to install necessary libraries. Ubuntu >18.04 users, just do this:

sudo apt install git gcc cmake qttools5-dev-tools qtbase5-dev qtpositioning5-dev qtlocation5-dev qtconnectivity5-dev qtmultimedia5-dev qtdeclarative5-dev libqt5serialport5-dev libqt5svg5-dev libqt5opengl5-dev libqt5charts5-dev qml-module-qtquick-controls2 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

Getting the source code

Use git with command: git clone --recursive https://github.com/MishkaRogachev/JAGCS.git

Or just download source here.

Build sources

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
Clone this wiki locally