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.<br><br><div class="gmail_quote">On Wed, Jan 13, 2010 at 8:40 AM, Leandro Gazoni <span dir="ltr"><<a href="mailto:lgazoni@gmail.com">lgazoni@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Dears,</div>
<div> </div>
<div>I'm have a problem to generate a project to compile VTK with visual studio 2008. The CMAKE displays the following error:</div>
<div> </div>
<div>Check for working C compiler: cl
<p style="text-indent:0px;margin:0px">Check for working C compiler: cl -- broken</p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">CMake Error at C:/Program Files (x86)/CMake 2.6/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE):</span></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">The C compiler "cl" is not able to compile a simple test program.</span></p>
<p style="text-indent:0px;margin:0px;color:#ff0000"></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">It fails with the following output:</span></p>
<p style="text-indent:0px;margin:0px;color:#ff0000"></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">Change Dir: C:/VTK/src/build/CMakeFiles/CMakeTmp</span></p>
<p style="text-indent:0px;margin:0px;color:#ff0000"></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000"></span></p>
<p style="text-indent:0px;margin:0px;color:#ff0000"></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\<a href="http://devenv.com" target="_blank">devenv.com</a></span></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec</span></p>
<p style="text-indent:0px;margin:0px;color:#ff0000"></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000"></span></p>
<p style="text-indent:0px;margin:0px;color:#ff0000"></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">Microsoft (R) Visual Studio Version 9.0.21022.8.</span></p>
<p style="text-indent:0px;margin:0px;color:#ff0000"></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">Copyright (C) Microsoft Corp. All rights reserved.</span></p>
<p style="text-indent:0px;margin:0px;color:#ff0000"></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">1>------ Build started: Project: cmTryCompileExec, Configuration: Debug</span></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">Win32 ------</span></p>
<p style="text-indent:0px;margin:0px;color:#ff0000"></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">1>Embedding manifest...</span></p>
<p style="text-indent:0px;margin:0px;color:#ff0000"></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">1>.\cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.intermediate.manifest :</span></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">general error c1010070: Failed to load and parse the manifest. The system</span></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">cannot find the file specified.</span></p>
<p style="text-indent:0px;margin:0px;color:#ff0000"></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">1>Build log was saved at</span></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">"file://c:\VTK\src\build\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"</span></p>
<p style="text-indent:0px;margin:0px;color:#ff0000"></p>
<p style="text-indent:0px;margin:0px;color:#ff0000"></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">1>cmTryCompileExec - 1 error(s), 0 warning(s)</span></p>
<p style="text-indent:0px;margin:0px;color:#ff0000"></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped</span></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">==========</span></p>
<p style="text-indent:0px;margin:0px;color:#ff0000"></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000"></span></p>
<p style="text-indent:0px;margin:0px;color:#ff0000"></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000"></span></p>
<p style="text-indent:0px;margin:0px;color:#ff0000"></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">CMake will not be able to correctly generate this project.</span></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">Call Stack (most recent call first):</span></p>
<p style="text-indent:0px;margin:0px"><span style="color:#ff0000">CMakeLists.txt:5 (PROJECT)</span></p></div>
<div> </div>
<div><span style="background-color:#ebeff9" title="Alguém já teve esse problema,"><font size="3">Has anyone had this problem....</font></span></div>
<div><span style="background-color:#ebeff9" title="Alguém já teve esse problema,"><font size="3"></font></span> </div>
<div><span style="background-color:#ebeff9" title="Alguém já teve esse problema,"><font size="3">thanks a lot!!!!</font></span></div>
<div>-- <br>Leandro Gazoni<br></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>