Hi,<div><br></div><div><br></div><div>I use Visual Studio 2005. I used the same when I last built ITK. This problem happened when I removed the previous version of ITK that I had and tried to build the binaries of the newer version with the same version of VS.<br>
<br><br>Thanks</div><div>Lisa</div><div><br></div><div><br><div class="gmail_quote">On 10 March 2012 17:02, Kent Ogden <span dir="ltr">&lt;<a href="mailto:ogdenk@upstate.edu">ogdenk@upstate.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF"><div>Do you have the express version of VS 2008?  I don&#39;t think the x64 compiler tools are included with the express version.  If I recall, you may also need to download the Windows SDK to get the x64 components.  </div>
<div><br></div><div>Kent</div><div><br><br>Sent from my iPad</div><div><div class="h5"><div><br>On Mar 9, 2012, at 11:39 PM, &quot;Lisa Dean &lt;<a href="mailto:lisadean.leo@gmail.com" target="_blank">lisadean.leo@gmail.com</a>&gt;&quot; &lt;<a href="mailto:lisadean.leo@gmail.com" target="_blank">lisadean.leo@gmail.com</a>&gt; wrote:<br>
<br></div><div></div><blockquote type="cite"><div><br><div>Hi,</div><div><br></div><div><br></div><div>I experience a problem while generating the ITK binaries using CMake. Could anyone please tell me the reason and how to rectify it? I have used an earlier version of ITK and never experienced this error while generating the binaries before.�</div>

<div><br></div><div>The error I get is as follows</div><div><br></div><div><br></div><div>------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</div>

<div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">Check for working C compiler using: Visual Studio 8 2005 Win64</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">Check for working C compiler using: Visual Studio 8 2005 Win64 -- broken</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">CMake Error at D:/ITK_FILES/cmake-2.8.4-win32-x86/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  The C compiler &quot;cl&quot; is not able to compile a simple test program.</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  It fails with the following output:</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">   Change Dir: D:/ITK/Bin/CMakeFiles/CMakeTmp</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  </span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  Run Build Command:C:\PROGRA~2\MICROS~1\Common7\IDE\<a href="http://devenv.com" target="_blank">devenv.com</a></span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  </span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  Microsoft (R) Visual Studio Version 8.0.50727.42.</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  Copyright (C) Microsoft Corp 1984-2005.  All rights reserved.</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  ------ Build started: Project: cmTryCompileExec, Configuration: Debug x64</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  ------</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  Compiling...</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  Microsoft (R) C/C++ Optimizing Compiler Version 14.00.50727.42 for x64</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  Copyright (C) Microsoft Corporation.  All rights reserved.</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  cl /Od /D &quot;WIN32&quot; /D &quot;_WINDOWS&quot; /D &quot;_DEBUG&quot; /D &quot;CMAKE_INTDIR=\&quot;Debug\&quot;&quot; /D</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  &quot;_MBCS&quot; /FD /RTCs /MDd /Fo&quot;cmTryCompileExec.dir\Debug\\&quot;</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  /Fd&quot;D:\ITK\Bin\CMakeFiles\CMakeTmp\Debug/cmTryCompileExec.pdb&quot; /W3 /c /Zi</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  /TC /Zm1000</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">     .\testCCompiler.c</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  testCCompiler.c</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  Compiling manifest to resources...</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  Linking...</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  Embedding manifest...</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  Project : error PRJ0003 : Error spawning &#39;cmd.exe&#39;.</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  Build log was saved at</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  &quot;file://d:\ITK\Bin\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm&quot;</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  cmTryCompileExec - 1 error(s), 0 warning(s)</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  ==========</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  </span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  </span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  CMake will not be able to correctly generate this project.</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">Call Stack (most recent call first):</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><span style="color:#ff0000">  CMakeLists.txt:8 (PROJECT)</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;color:rgb(255,0,0)"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">Configuring incomplete, errors occurred!</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><br></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px"><br></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">

<br></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">Thanks a lot</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">Lisa</p></div>
</div></blockquote></div></div><blockquote type="cite"><div>&lt;Part.002&gt;</div></blockquote></div>
</blockquote></div><br></div>