Skip to content

Install

Téo Bouvard edited this page May 2, 2020 · 26 revisions

Installing

To use igclib, it is preferable to build the project from source. Once it is stable enough, I might release compiled binaries.

Building from source

The following installation process has been tested on a clean Ubuntu 18.04 container. If you are not in a container, some commands will require sudo permissions.

Setting up the base system

In order to build the project from source, you will need some base tools.

apt-get update
apt-get -y upgrade
apt-get -y install git cmake build-essential libboost-all-dev libssl-dev

Building and installing igclib

git clone https://github.com/igclib/igclib.git --recurse-submodules
cd igclib
make install

You should be good to go. You can verify your installation by running igclib version.

$ igclib version
igclib v0.1.1

More info

A brief explanation of why each library is used.

  • Boost
    • Geospatial index for airspace checking
    • String manipulation utilities
  • GeographicLib
    • WGS84 geographic computations (distance, projection, heading)
  • nlohmann/json
    • JSON serialization of output files
  • cpr
    • API requests : ground relative altitudes of flight