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
- Windows 10
- Visual Studio 2019 Community Edition
- VSCode
- Boost 1.73.0 Note: Use the default install location
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:
-
Open VSCode.
-
Add the following VSCode extensions:
- CMake
- CMake Tools
- C/C++
-
Select
File -> Open Folder
and navigate to this folder to build the cpp-examples or simulator-cpp-client to build just the client library. -
Use the CMake extension to configure and build:
-
Click the Configure "All Projects" icon:
-
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
-
Build the client by clicking the
Build All Projects
icon:
-