On Sat, Dec 28, 2013 at 8:35 AM, Ansis Māliņš <[email protected]> wrote:
> The minimal CMakeLists.txt with content
>
> CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
> PROJECT(CMakeTest)
>
> on CMake 2.8.12.1 on Windows 7 64 bit with Visual Studio 2012 produces the
> result
>
> 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:2 (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:2 (PROJECT)
>
>
> The CXX compiler identification is unknown
> Configuring incomplete, errors occurred!
>
> What do?
>

Did you use the correct generator? Remember that Visual Studio 2012 is
Visual Studio 11 not Visual Studio 12.

John
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to