<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; -qt-block-indent: 0">Check for working C compiler: cl -- broken</p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><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; -qt-block-indent: 0"><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; -qt-block-indent: 0; -qt-paragraph-type: empty"></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000">It fails with the following output:</span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; COLOR: #ff0000; -qt-block-indent: 0; -qt-paragraph-type: empty"></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000">Change Dir: C:/VTK/src/build/CMakeFiles/CMakeTmp</span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; COLOR: #ff0000; -qt-block-indent: 0; -qt-paragraph-type: empty"></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000"></span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; COLOR: #ff0000; -qt-block-indent: 0; -qt-paragraph-type: empty"></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000">Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\<a href="http://devenv.com">devenv.com</a></span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000">CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec</span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; COLOR: #ff0000; -qt-block-indent: 0; -qt-paragraph-type: empty"></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000"></span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; COLOR: #ff0000; -qt-block-indent: 0; -qt-paragraph-type: empty"></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000">Microsoft (R) Visual Studio Version 9.0.21022.8.</span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; COLOR: #ff0000; -qt-block-indent: 0; -qt-paragraph-type: empty"></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000">Copyright (C) Microsoft Corp. All rights reserved.</span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; COLOR: #ff0000; -qt-block-indent: 0; -qt-paragraph-type: empty"></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000">1>------ Build started: Project: cmTryCompileExec, Configuration: Debug</span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000">Win32 ------</span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; COLOR: #ff0000; -qt-block-indent: 0; -qt-paragraph-type: empty"></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000">1>Embedding manifest...</span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; COLOR: #ff0000; -qt-block-indent: 0; -qt-paragraph-type: empty"></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000">1>.\cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.intermediate.manifest :</span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><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; -qt-block-indent: 0"><span style="COLOR: #ff0000">cannot find the file specified.</span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; COLOR: #ff0000; -qt-block-indent: 0; -qt-paragraph-type: empty"></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000">1>Build log was saved at</span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><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; -qt-block-indent: 0; -qt-paragraph-type: empty"></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; COLOR: #ff0000; -qt-block-indent: 0; -qt-paragraph-type: empty"></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000">1>cmTryCompileExec - 1 error(s), 0 warning(s)</span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; COLOR: #ff0000; -qt-block-indent: 0; -qt-paragraph-type: empty"></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000">========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped</span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000">==========</span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; COLOR: #ff0000; -qt-block-indent: 0; -qt-paragraph-type: empty"></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000"></span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; COLOR: #ff0000; -qt-block-indent: 0; -qt-paragraph-type: empty"></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000"></span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; COLOR: #ff0000; -qt-block-indent: 0; -qt-paragraph-type: empty"></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000">CMake will not be able to correctly generate this project.</span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><span style="COLOR: #ff0000">Call Stack (most recent call first):</span></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><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>