Alexander Dydychkin
1 min readJul 2, 2020



It is not an issue of vvc or the guide the issue is on the side of your environment.

You need to define your default C++ compiler for cmake (as written in your logs :) ). To fix it call cmake with the following additional key:

cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=path/to/compiler

Where path/to/compiler on Ubuntu can be something like: /usr/local/bin/g++ (use `whereis g++` to check).

Another way you can specify env variables CC and CXX and call original cmake command from my tutorial, how to export variables written here: