c++ - CMake: The C compiler identification is unknown -


i trying build project cmake 2.8.12 visual studio 10 in 32bit architecture. getting these error , cmake unable create project. can please suggest me solution. thanks.

this error showing in cmake-gui window:

cmake error @ c:/program files (x86)/cmake 2.8/share/cmake-2.8/modules/cmakedeterminecompilerid.cmake:446 (execute_process):   execute_process given command argument 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)   c compiler identification unknown cmake error @ c:/program files (x86)/cmake 2.8/share/cmake-2.8/modules/cmakedeterminecompilerid.cmake:446 (execute_process):   execute_process given command argument 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)   cxx compiler identification unknown not find pkgconfig (missing:  pkg_config_executable)  

  1. remove cmake cache
  2. start visual studio 10 (win32) command prompt
  3. verify cl command works
  4. generate cmake -g "visual studio 10" ...

Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -