1 min readJul 2, 2020
Hi,
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: https://stackoverflow.com/questions/17275348/how-to-specify-new-gcc-path-for-cmake