Did you select the VS 2008 64bit generator in CMake but not install the 64bit compiler? It is not installed by default, you have to do a custom install and select it manually.
On Wed, Jan 13, 2010 at 8:40 AM, Leandro Gazoni <[email protected]> wrote: > Dears, > > I'm have a problem to generate a project to compile VTK with visual studio > 2008. The CMAKE displays the following error: > > Check for working C compiler: cl > > Check for working C compiler: cl -- broken > > CMake Error at C:/Program Files (x86)/CMake > 2.6/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE): > > The C compiler "cl" is not able to compile a simple test program. > > It fails with the following output: > > Change Dir: C:/VTK/src/build/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 Version 9.0.21022.8. > > Copyright (C) Microsoft Corp. All rights reserved. > > 1>------ Build started: Project: cmTryCompileExec, Configuration: Debug > > Win32 ------ > > 1>Embedding manifest... > > 1>.\cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.intermediate.manifest : > > general error c1010070: Failed to load and parse the manifest. The system > > cannot find the file specified. > > 1>Build log was saved at > > > "file://c:\VTK\src\build\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm" > > 1>cmTryCompileExec - 1 error(s), 0 warning(s) > > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped > > ========== > > CMake will not be able to correctly generate this project. > > Call Stack (most recent call first): > > CMakeLists.txt:5 (PROJECT) > > Has anyone had this problem.... > > thanks a lot!!!! > -- > Leandro Gazoni > > _______________________________________________ > 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 >
_______________________________________________ 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
