title: CMake : C and CXX compiler identification is unknown Win10 CMakeGUI
body: <p>So I am trying to configure a file based on this tutorial on youtube which is very simple :</p>
  
  <p><a href="https://www.youtube.com/watch?v=gYmgbqGfv-8" rel="nofollow noreferrer">https://www.youtube.com/watch?v=gYmgbqGfv-8</a></p>
  
  <p>I use CMake GUI in Windows 10 and I have a running Visual Studio 2015 which is able to build c++ projects already (I've used it for some time)</p>
  
  <p>I use "Visual Studio 15 2017"</p>
  
  <p>I created a folder named hellocmake and hellocmake/build for both inputs:</p>
  
  <p><a href="https://i.stack.imgur.com/UPdT7.png" rel="nofollow noreferrer">my inputs</a></p>
  
  <p>However when I tried to configure, it says that </p>
  
  <blockquote>
    <p>CMake Error at CMakeLists.txt:1 (PROJECT):</p>
    
    <p><em>No CMAKE_C_COMPILER could be found.</em></p>
    
    <p>CMake Error at CMakeLists.txt:1 (PROJECT):</p>
    
    <p><em>No CMAKE_CXX_COMPILER could be found.</em></p>
  </blockquote>
  
  <p>The error log specifies that it can't find the two compiler files :
      Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
      Compiler:<br>
      Build flags: 
      Id flags: </p>
  
  <pre><code>The output was:
  The system cannot find the file specified
  
  
  Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
  Compiler:  
  Build flags: 
  Id flags: 
  
  The output was:
  The system cannot find the file specified
  </code></pre>
  
  <p>I tried downloading the "CMakeCXXCompilerId.cpp" and "CMakeCXXCompilerId.c" files and try to add them manually in the same folder, but it doesnt solve it</p>
  
  <p>I tried to look up several other sources which have a similar case but I can't seem to understand them.
  This problem didn't exist with my old computer so I assume it has something to do with the Visual Studio ?</p>
  
  <p>Thank you guys, any help will be appreciated</p>