Re: [CMake] CMake fails on Win7 x64 with VS 2012

2013-12-28 Thread Ansis Māliņš
Yes. It shouldn't matter though.


On Sat, Dec 28, 2013 at 3:08 PM, John Drescher  wrote:

> On Sat, Dec 28, 2013 at 9:05 AM, Ansis Māliņš 
> wrote:
> > Yes, I'm using Visual Studio 11 (aka 2012) generator.
>
> Did you try running cmake-gui from a Visual Studio 2012 x64 Command
> Prompt so that the compiler environment variables are set?
>
> 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

Re: [CMake] CMake fails on Win7 x64 with VS 2012

2013-12-28 Thread John Drescher
On Sat, Dec 28, 2013 at 9:05 AM, Ansis Māliņš  wrote:
> Yes, I'm using Visual Studio 11 (aka 2012) generator.

Did you try running cmake-gui from a Visual Studio 2012 x64 Command
Prompt so that the compiler environment variables are set?

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

Re: [CMake] CMake fails on Win7 x64 with VS 2012

2013-12-28 Thread Ansis Māliņš
Yes, I'm using Visual Studio 11 (aka 2012) generator.


On Sat, Dec 28, 2013 at 3:04 PM, John Drescher  wrote:

> On Sat, Dec 28, 2013 at 8:35 AM, Ansis Māliņš 
> 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

Re: [CMake] CMake fails on Win7 x64 with VS 2012

2013-12-28 Thread John Drescher
On Sat, Dec 28, 2013 at 8:35 AM, Ansis Māliņš  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

[CMake] CMake fails on Win7 x64 with VS 2012

2013-12-28 Thread Ansis Māliņš
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?
--

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