C++ Quick Start

Guide

The monoDrive C++ Client is Open Source Software for connecting to and configuring the monoDrive Simulator and Scenario Editor. To get started, clone the client from the monoDrive repository:

$ git clone git@github.com:monoDriveIO/monodrive-client.git

Setup

The monoDrive C++ Client is cross-platform and tested on both Windows 10 and Ubuntu 18.04.

Windows Prerequisites

Ubuntu 18.04 Prerequisites

The packages necessary for building the client can be installed with the following:

$ sudo apt-get install libboost-dev \
    build-essentials \
    libeigen3-dev

VSCode Build Instructions

On both Windows and Ubuntu, the C++ client can be compiled and installed in Visual Studio Code:

  1. Open VSCode.

  2. Add the following VSCode extensions:

    • CMake
    • CMake Tools
    • C/C++
  3. Select File -> Open Folder and navigate to this folder to build the cpp-examples or simulator-cpp-client to build just the client library.

  4. Use the CMake extension to configure and build:

    1. Click the Configure "All Projects" icon:

    2. If prompted to Scan for Kits select "Yes":

      Windows: Visual Studio Community 2019 Release - amd64

      Linux: Choose the compiler of your choice, tested with g++ 7.5.0

    3. Build the client by clicking the Build All Projects icon: