Checkout C++ Compiler
-
Download CMake3.1+ for your platform: https://cmake.org/download/
-
Run the Cmake Installer. Make sure you add CMake into PATH.
-
Restart the command prompt / terminal.
- Check if Clang or GCC is installed
g++ --version
clang --version
Install Visual Studio with MSVC
-
Download Visual Studio Installer https://visualstudio.microsoft.com/downloads/
-
Run the installer, check the Desktop development with C++ workload and select Install.
-
Verify your MSVC installation
- In Windows Start up Menu, try open "Developer Command Prompt for VS"
Continue with the Developer Command Prompt to install the SDK and samples.
- CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage