hi,<br>Was your previous ITK compiled for 32 bit???<br>Try compiling new ITK in 32 bit mode. you need to select Visual Studio 8 2005 Win32 bit compiler(in first step of Cmake) for that.<br>Hope that helps..<br>with regards<br>
Jagjeet<br><br><div class="gmail_quote">On Mon, Mar 12, 2012 at 4:09 AM, Lisa Dean <span dir="ltr">&lt;<a href="mailto:lisadean.leo@gmail.com">lisadean.leo@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
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><span class="HOEnZb"><font color="#888888"><div>Lisa</div></font></span><div class="HOEnZb"><div class="h5"><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" target="_blank">ogdenk@upstate.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);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><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:0px">Check for working C compiler using: Visual Studio 8 2005 Win64</p>
<p style="margin:0px">Check for working C compiler using: Visual Studio 8 2005 Win64 -- broken</p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">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:0px"><span style="color:rgb(255,0,0)">  The C compiler &quot;cl&quot; is not able to compile a simple test program.</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  It fails with the following output:</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">   Change Dir: D:/ITK/Bin/CMakeFiles/CMakeTmp</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  </span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  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:0px"><span style="color:rgb(255,0,0)">  CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  </span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  Microsoft (R) Visual Studio Version 8.0.50727.42.</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  Copyright (C) Microsoft Corp 1984-2005.  All rights reserved.</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  ------ Build started: Project: cmTryCompileExec, Configuration: Debug x64</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  ------</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  Compiling...</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  Microsoft (R) C/C++ Optimizing Compiler Version 14.00.50727.42 for x64</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  Copyright (C) Microsoft Corporation.  All rights reserved.</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  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:0px"><span style="color:rgb(255,0,0)">  &quot;_MBCS&quot; /FD /RTCs /MDd /Fo&quot;cmTryCompileExec.dir\Debug\\&quot;</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  /Fd&quot;D:\ITK\Bin\CMakeFiles\CMakeTmp\Debug/cmTryCompileExec.pdb&quot; /W3 /c /Zi</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  /TC /Zm1000</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">     .\testCCompiler.c</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  testCCompiler.c</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  Compiling manifest to resources...</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  Linking...</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  Embedding manifest...</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  Project : error PRJ0003 : Error spawning &#39;cmd.exe&#39;.</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  Build log was saved at</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  &quot;file://d:\ITK\Bin\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm&quot;</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  cmTryCompileExec - 1 error(s), 0 warning(s)</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  ==========</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  </span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  </span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  CMake will not be able to correctly generate this project.</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">Call Stack (most recent call first):</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">  CMakeLists.txt:8 (PROJECT)</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px">Configuring incomplete, errors occurred!</p><p style="margin:0px">---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>


<p style="margin:0px"><br></p><p style="margin:0px"><br></p><p style="margin:0px">

<br></p><p style="margin:0px">Thanks a lot</p><p style="margin:0px">Lisa</p></div>
</div></blockquote></div></div><blockquote type="cite"><div>&lt;Part.002&gt;</div></blockquote></div>
</blockquote></div><br></div>
</div></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<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>