I have a simple project where the file structure looks like this:
- CMakeLists.txt - main.cpp The CMakeLists.txtlooks like this:
# Project initialization cmake_minimum_required (VERSION 2.6) project (Tutorial) add_executable(Tutorial main.cpp) When I run the Cmake GUI I get:
CMake Error at CMakeLists.txt:3 (project): No CMAKE_CXX_COMPILER could be found. I have Microsoft Visual Studio 2017 installed. I have compiled and run apps from it. The basic example from the CMAKE tutorial does not work.
Can anyone tell me why?

CMakeFiles\CMakeError.log? BTW, on the image I see "No CMAKE_C _COMPILER could be found", but your textual description and the title is about CMAKE_ CXX _COMPILER.