<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div id="yiv1084171562"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: times new roman,new york,times,serif; font-size: 12pt;">
<div>I am new in VTK and CMake. Ihave already install Microsoft Visual C++ 2008 and CMake 2.8 and I have VTK 5.6.1.
</div><div>Now when I want to install VTK, I run CMake and give the source and build location and specify MS visual studio 9.0 and click 
configure buton. Then I saw the following error message:
</div><div>Kaspersky Anti-virus show the following message:
</div><div>C:\...\CMAKE 2.8\BIN\CMAKE-GUI.EXE (PID:1776); Behavior similar to PDM.RootShell.Allowed.
</div><div><br>
Then CMake gave the following error:
</div><div><br>
Check for working C compiler using: Visual Studio 9 2008
Check for working C compiler using: Visual Studio 9 2008 -- broken
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
</div>
<pre> The C compiler "cl" is not able to compile a simple test program.<br></pre>
<pre> It fails with the following output:<br></pre>
<pre>  Change Dir: C:/VTK/Binary/CMakeFiles/CMakeTmp<br></pre>
<div><br>  
</div>
<pre> Run Build Command:C:\PROGRA~1\MICROS~1.0\Common7\IDE\VCExpress.exe<br> CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec<br></pre>
<div><br>  
</div>
<pre> Microsoft (R) Visual C++ Express Edition Version 9.0.30729.1.<br></pre>
<pre> Copyright (C) Microsoft Corp 2007.  All rights reserved.<br></pre>
<pre> 1&gt;------ Build started: Project: cmTryCompileExec, Configuration: Debug<br> Win32 ------<br></pre>
<pre> 1&gt;Compiling...<br></pre>
<pre> 1&gt;Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for<br> 80x86<br></pre>
<pre> 1&gt;Copyright (C) Microsoft Corporation.  All rights reserved.<br></pre>
<pre> 1&gt;cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\""<br> /D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec.dir\Debug\\"<br> /Fd"C:\VTK\Binary\CMakeFiles\CMakeTmp\Debug/cmTryCompileExec.pdb" /W3 /c<br> /Zi /TC /Zm1000<br></pre>
<pre> 1&gt; .\testCCompiler.c<br></pre>
<pre> 1&gt;testCCompiler.c<br></pre>
<pre> 1&gt;Compiling manifest to resources...<br></pre>
<pre> 1&gt;Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1<br></pre>
<pre> 1&gt;Copyright (C) Microsoft Corporation.  All rights reserved.<br></pre>
<pre> 1&gt;Linking...<br></pre>
<pre> 1&gt;Embedding manifest...<br></pre>
<pre> 1&gt;Project&nbsp;: error PRJ0003&nbsp;: Error spawning 'cmd.exe'.<br></pre>
<pre> 1&gt;Build log was saved at<br> "file://c:\VTK\Binary\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"<br></pre>
<div><br>
</div>
<pre> 1&gt;cmTryCompileExec - 1 error(s), 0 warning(s)<br></pre>
<pre> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped<br> ==========<br></pre>
<div><br>  
</div><div><br>  
</div>
<pre> CMake will not be able to correctly generate this project.<br></pre>
<div>Call Stack (most recent call first):
</div>
<pre> CMakeLists.txt:9 (PROJECT)<br></pre>
<div><br>
Configuring incomplete, errors occurred!
</div><div><br>
Please help me.
</div><div><br></div></div></div></div></body></html>