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



Software engineer at ViCueSoft.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store