[CMake] CMake fails on Win7 x64 with VS 2012

Ansis Māliņš ansis.malins at gmail.com
Sat Dec 28 09:05:54 EST 2013


Yes, I'm using Visual Studio 11 (aka 2012) generator.


On Sat, Dec 28, 2013 at 3:04 PM, John Drescher <drescherjm at gmail.com> wrote:

> On Sat, Dec 28, 2013 at 8:35 AM, Ansis Māliņš <ansis.malins at gmail.com>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20131228/04a9f85c/attachment.htm>


More information about the CMake mailing list