title: CMake: The C compiler identification is unknown
body: <p>I am trying to build a project by cmake 2.8.12 with visual studio 10 in 32bit architecture. But I am getting these error and cmake is unable to create the project. Can anyone please suggest me a solution. Thanks.</p>
  
  <p>This is the error showing in cmake-gui window:</p>
  
  <pre><code>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process):
    execute_process given COMMAND argument with no value.
  Call Stack (most recent call first):
    C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
    C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID)
    CMakeLists.txt:3 (project)
  
  
  The C compiler identification is unknown
  CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process):
    execute_process given COMMAND argument with no value.
  Call Stack (most recent call first):
    C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
    C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID)
    CMakeLists.txt:3 (project)
  
  
  The CXX compiler identification is unknown
  Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
  </code></pre>