Install the libraries from apt packages or build them.
Write a cmake file CMakeLists.txt:
cmake_minimum_required(VERSION 3.5)
project(vts-example CXX)
set(CMAKE_CXX_STANDARD 14)
find_package(VtsBrowser REQUIRED)
include_directories(${VtsBrowser_INCLUDE_DIR})
find_package(VtsRenderer REQUIRED)
include_directories(${VtsRenderer_INCLUDE_DIR})
find_package(SDL2 REQUIRED)
include_directories(${SDL2_INCLUDE_DIR})
add_executable(vts-example main.cpp)
target_link_libraries(vts-example ${VtsBrowser_LIBRARIES} ${VtsRenderer_LIBRARIES} SDL2)
Copy the main.cpp from the vts-browser-minimal.
Build and run:
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=RELWITHDEBINFO ..
cmake --build .
./vts-example