CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
– Configuring incomplete, errors occurred!
See also “C:/Users/Conda/HelloWorld/Face/dlib/build/CMakeFiles/CMakeOutput.log”.
Which cmake version do you use? The default generator should be Visual Studio, not nmake. But maybe you’re version is too old to detect VS2022.
You can also check where cmake is installed with which cmake. I assume it’s not the one coming with VS itself.
As an alternative: With VS you can simply open a CMake based project and it will automatically set it up.