title: how to fix CMake Error in CMakeLists.txt: Generator NMake Makefiles does not support platform specification, but platform x64 was specified
body: <p>I want to install dlib using <em>pip install dlib</em> using cmd in windows 10
  But it is showing following three errors:
   CMake Error in CMakeLists.txt:
        Generator</p>
  
  <pre><code>    NMake Makefiles
  
    does not support platform specification, but platform
  
      x64
  
    was specified.
  
  
  CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
  CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
  </code></pre>
  
  <p>INFORMATION:
  pip 9.0.1 from d:\python36\lib\site-packages (python 3.6)
  cmake 0.9.0
  windows 10 pro(64-bit)
  Version:  10.0.16299 Build 16299 </p>