These instructions apply when building vts browser with system dependencies. To build VTS with embedded dependencies, use the Build Wrapper instead.
Install packages that are required to build the library.
sudo apt update
sudo apt install \
cmake \
nasm \
libssl-dev \
python-minimal \
libboost-all-dev \
libeigen3-dev \
libproj-dev \
libgeographic-dev \
libjsoncpp-dev \
libsdl2-dev \
libfreetype6-dev \
libharfbuzz-dev \
libcurl4-openssl-dev \
libjpeg-dev \
libglfw3-dev \
xorg-dev
Clone the git repository with all submodules.
git clone --recursive https://github.com/melowntech/vts-browser-cpp.git
The library build system is cmake based.
cd vts-browser-cpp/browser
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RELEASE ..
cmake --build . -- -j5 # use 5 processes
And run the example application.
bin/vts-browser-desktop
Use Build Wrapper instead. The wrapper has integrated build scripts for all dependencies making building the browser a peace of cake :D