Build Instructions for Ubuntu Linux (16.04)
Requirements
Please install the following packages via
sudo apt-get install git
sudo apt-get install cmake
sudo apt-get install root-system
sudo apt-get install gcc
sudo apt-get install locate
sudo apt-get install libqt4-dev
sudo apt-get install libqwtplot3d-qt4-dev
sudo apt-get install libgphoto2-dev
sudo apt-get install libexiv2-dev
sudo apt-get install libopencv-dev
sudo apt-get install pkg-config
sudo apt-get install libboost-dev
sudo apt-get install arduino
sudo apt-get install arduino-mk
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install python python-dev
sudo apt-get install libboost-python-dev
The software relies on a newer version of qwt
(>=6.1). In order to install this
newer version, edit the file
sudo pico /etc/apt/sources.list
and add the line
deb http://archive.ubuntu.com/ubuntu/ xenial-proposed restricted main multiverse universe
to its end. After that execute
sudo apt-get update
You can now install qwt
via
sudo apt-get install libqwt-dev
You should now comment out the line previously added to /etc/apt/sources.list
and run
sudo apt-get update
Building
Go to the directory to which you checked out the source code and run
./configure
[options]
with options as described in the documentation.
Then run
source tkmodlabenv.sh
in case you use bash
or add the script to your .bashrc
. You should
now be good to go and build the software by running
make