[CMake] Where can I download the cmake for win64?

David Cole david.cole at kitware.com
Sat Mar 3 13:52:44 EST 2012


On Sat, Mar 3, 2012 at 10:04 AM, John Drescher <drescherjm at gmail.com> wrote:
>> I download the cmake-2.8.7-win32-x86.exe , but it failed when it works with
>> visual studio 2008 win64 and give the message below:
>>
>> Check for working C compiler using: Visual Studio 9 2008 Win64
>>
>> Check for working C compiler using: Visual Studio 9 2008 Win64 -- broken
>>
>> CMake Error at C:/Program Files (x86)/CMake
>> 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
>>
>> The C compiler "cl" is not able to compile a simple test program.
>>
>
> I have seen a few instances of this on the list. I think a good deal
> of them were either a botched compiler install or a permissions
> problem.
>

I think this is usually when you have Visual Studio installed, but
have not installed the Win64 parts of Visual Studio. Or it could also
be that you're using an Express Edition of Visual Studio, but have not
installed a 64-bit capable Platform SDK.

Verify that you can build a simple "hello world" Win64 executable with
Visual Studio alone (i.e., not using CMake) -- after you are
successful at that task, the 32-bit CMake will "just work" on the same
Visual Studio.


HTH,
David


>> It fails with the following output:
>>
>> Change Dir: I:/CMake2.8.7-x64/CMakeFiles/CMakeTmp
>>
>> Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com
>>
>> CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec
>>
>> Microsoft (R) Visual Studio 9.0.21022.8
>>
>> ................................................................
>>
>> CMake will not be able to correctly generate this project.
>>
>> Call Stack (most recent call first):
>>
>> CMakeLists.txt:14 (PROJECT)
>>
>> Configuring incomplete, errors occurred!
>>
>>
>>
>> How could i fix the errors? And where can I download the cmake for win64?
>> I'm very appreciate if someone answer the question above.
>>
>
> The 32 bit version works fine for win64. You can get the source and
> build a 64 bit cmake however that does not really give you anything
> more than the 32 bit version does. Its not like you need 4GB of ram to
> create your projects.
>
> John
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list