I’m running into this issue too. CMake is detecting my installation of MSVC 2017 and then produces the same error seen by Tiwari. FWI: I’m building on Windows and opening my shell in VS Code. Do I need a different installation of CMake? I only see one installer for Windows x64. I’d really like to run my configuration step with just cmake -S . -B build -G "MinGW Makefiles".