Hi Kent,<div><br></div><div><br></div><div>I tried everything that you suggested. VS, ITK, both have been removed and reinstalled and yet the problem persists. I was led to believe that my CMake got corrupted so I tried removing and reinstalling that too at which time I discovered I had had 2 different versions of CMake installed at the same time and though I removed those as well, I&#39;ve had no success with my original problem.</div>
<div><br></div><div><br></div><div>Thanks a lot for your help anyways<br>Lisa</div><div><br><div class="gmail_quote">On 12 March 2012 20:17, 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 style="margin-top:4px;margin-bottom:1px;margin-left:4px;font-variant:normal;margin-right:4px;line-height:normal">
    <p style="margin-top:0;margin-bottom:0">
      <font size="5" face="Times New Roman">Lisa,</font>    </p>
<br>      
    <p style="margin-top:0;margin-bottom:0">
      <font size="5" face="Times New Roman">You can use 32 bit ITK on 64 bit Windows.  Somehow I misread the error message and saw VS 2008 instead of 2005, if you are not using an express version, you might want to check your install to see if the x64 compiler tools are installed, I don&#39;t think they do by default.  I think you have to do a custom install of VS  (not the &#39;typical&#39; install) to be able to set this option.  I have never had good luck trying to compile ITK in 64 bit mode anyways, I use a 32 bit build on Win 7 64, it works just fine.</font>    </p>

<br>      
    <p style="margin-top:0;margin-bottom:0">
      <font size="5" face="Times New Roman">Kent</font>    </p>
<br>      <br>
    <p style="margin-top:0;margin-bottom:0">
      <br>
      <br>
      &gt;&gt;&gt; Lisa Dean &lt;<a href="mailto:lisadean.leo@gmail.com" target="_blank">lisadean.leo@gmail.com</a>&gt; 3/12/2012 05:47 AM &gt;&gt;&gt;<br>Hi,    </p><div><div class="h5">
    <div>
      <p style="margin-top:0;margin-bottom:0">
        <br>
              </p>
    </div>
    <div>
      <p style="margin-top:0;margin-bottom:0">
        <br>
              </p>
    </div>
    <div>
      <p style="margin-top:0;margin-bottom:0">
        No, I&#39;m my windows is 64 bit, so I compiled ITK in 64bit mode. I guess I&#39;ll try out 32 bit too.      </p>
    </div>
    <div>
      <p style="margin-top:0;margin-bottom:0">
        <br>
              </p>
    </div>
    <div>
      <p style="margin-top:0;margin-bottom:0">
        <br>
              </p>
    </div>
    <div>
      <p style="margin-top:0;margin-bottom:0">
        Thanks      </p>
    </div>
    <div>
      <p style="margin-top:0;margin-bottom:0">
        Lisa      </p>
    </div>
    <div>
      <p style="margin-top:0;margin-bottom:0">
        <br>
              </p>
    </div>
    <div>
      <p style="margin-top:0;margin-bottom:0">
        <br>
        <br>
              </p>
      <div class="gmail_quote">
        <p style="margin-top:0;margin-bottom:0">
          On 12 March 2012 13:19, Jagjeet Nain <span dir="ltr">&lt;<a href="mailto:jagjeet.nain@gmail.com" target="_blank">jagjeet.nain@gmail.com</a>&gt;</span> wrote:<br>        </p>
        <blockquote class="gmail_quote" style="margin-top:0;margin-bottom:0;padding-left:0;margin-left:0;border-left:1px #ccc solid;margin-right:0">
          <p style="margin-top:0;margin-bottom:0">
            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>          </p>
          <div class="gmail_quote">
            <div>
              <div>
                <p style="margin-top:0;margin-bottom:0">
                  On Mon, Mar 12, 2012 at 4:09 AM, Lisa Dean <span dir="ltr">&lt;<a href="mailto:lisadean.leo@gmail.com" target="_blank">lisadean.leo@gmail.com</a>&gt;</span> wrote:<br>                </p>
              </div>
            </div>
            <blockquote class="gmail_quote" style="margin-top:0pt;margin-bottom:0pt;padding-left:0;margin-left:0;border-left:1px solid rgb(204,204,204);margin-right:0pt">
              <div>
                <div>
                  <p style="margin-top:0;margin-bottom:0">
                    Hi,                  </p>
                  <div>
                    <p style="margin-top:0;margin-bottom:0">
                      <br>
                                          </p>
                  </div>
                  <div>
                    <p style="margin-top:0;margin-bottom:0">
                      <br>
                                          </p>
                  </div>
                  <div>
                    <p style="margin-top:0;margin-bottom:0">
                      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                    </p>
                  </div>
                  <div>
                    <p style="margin-top:0;margin-bottom:0">
                      Lisa                    </p>
                  </div>
                  <div>
                    <div>
                      <div>
                        <p style="margin-top:0;margin-bottom:0">
                          <br>
                                                  </p>
                      </div>
                      <div>
                        <p style="margin-top:0;margin-bottom:0">
                          <br>
                                                  </p>
                        <div class="gmail_quote">
                          <p style="margin-top:0;margin-bottom:0">
                            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>                          </p>
                          <blockquote class="gmail_quote" style="margin-top:0pt;margin-bottom:0pt;padding-left:0;margin-left:0;border-left:1px solid rgb(204,204,204);margin-right:0pt">
                            <div bgcolor="#FFFFFF">
                              <div>
                                <p style="margin-top:0;margin-bottom:0">
                                  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.                                </p>

                              </div>
                              <div>
                                <p style="margin-top:0;margin-bottom:0">
                                  <br>
                                                                  </p>
                              </div>
                              <div>
                                <p style="margin-top:0;margin-bottom:0">
                                  Kent                                </p>
                              </div>
                              <div>
                                <p style="margin-top:0;margin-bottom:0">
                                  <br>
                                  <br>
                                  Sent from my iPad                                </p>
                              </div>
                              <div>
                                <div>
                                  <div>
                                    <p style="margin-top:0;margin-bottom:0">
                                      <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>                                    </p>
                                  </div>
                                  <div>
<br>                                      
                                  </div>
                                  <blockquote type="cite">
                                    <div>
                                      <p style="margin-top:0;margin-bottom:0">
                                        <br>
                                                                              </p>
                                      <div>
                                        <p style="margin-top:0;margin-bottom:0">
                                          Hi,                                        </p>
                                      </div>
                                      <div>
                                        <p style="margin-top:0;margin-bottom:0">
                                          <br>
                                                                                  </p>
                                      </div>
                                      <div>
                                        <p style="margin-top:0;margin-bottom:0">
                                          <br>
                                                                                  </p>
                                      </div>
                                      <div>
                                        <p style="margin-top:0;margin-bottom:0">
                                          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.�                                        </p>

                                      </div>
                                      <div>
                                        <p style="margin-top:0;margin-bottom:0">
                                          <br>
                                                                                  </p>
                                      </div>
                                      <div>
                                        <p style="margin-top:0;margin-bottom:0">
                                          The error I get is as follows                                        </p>
                                      </div>
                                      <div>
                                        <p style="margin-top:0;margin-bottom:0">
                                          <br>
                                                                                  </p>
                                      </div>
                                      <div>
                                        <p style="margin-top:0;margin-bottom:0">
                                          <br>
                                                                                  </p>
                                      </div>
                                      <div>
                                        <p style="margin-top:0;margin-bottom:0">
                                          ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------                                        </p>

                                      </div>
                                      <div>
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          Check for working C compiler using: Visual Studio 8 2005 Win64                                        </p>
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          Check for working C compiler using: Visual Studio 8 2005 Win64 -- broken                                        </p>
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font 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):</font></span>                                        </p>

                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">The C compiler &quot;cl&quot; is not able to compile a simple test program.</font></span>                                        </p>

<br>                                          
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">It fails with the following output:</font></span>                                        </p>
<br>                                          
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">Change Dir: D:/ITK/Bin/CMakeFiles/CMakeTmp</font></span>                                        </p>
<br>                                          <br><br>
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font 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></font></span>                                        </p>

                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec</font></span>                                        </p>

<br>                                          <br><br>
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">Microsoft (R) Visual Studio Version 8.0.50727.42.</font></span>                                        </p>
<br>                                          
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">Copyright (C) Microsoft Corp 1984-2005. All rights reserved.</font></span>                                        </p>

<br>                                          
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">------ Build started: Project: cmTryCompileExec, Configuration: Debug x64</font></span>                                        </p>

                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">------</font></span>                                        </p>
<br>                                          
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">Compiling...</font></span>                                        </p>
<br>                                          
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">Microsoft (R) C/C++ Optimizing Compiler Version 14.00.50727.42 for x64</font></span>                                        </p>

<br>                                          
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">Copyright (C) Microsoft Corporation. All rights reserved.</font></span>                                        </p>
<br>                                          
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font 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</font></span>                                        </p>

                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">&quot;_MBCS&quot; /FD /RTCs /MDd /Fo&quot;cmTryCompileExec.dir\Debug\\&quot;</font></span>                                        </p>

                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">/Fd&quot;D:\ITK\Bin\CMakeFiles\CMakeTmp\Debug/cmTryCompileExec.pdb&quot; /W3 /c /Zi</font></span>                                        </p>

                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">/TC /Zm1000</font></span>                                        </p>
<br>                                          
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">.\testCCompiler.c</font></span>                                        </p>
<br>                                          
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">testCCompiler.c</font></span>                                        </p>
<br>                                          
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">Compiling manifest to resources...</font></span>                                        </p>
<br>                                          
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">Linking...</font></span>                                        </p>
<br>                                          
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">Embedding manifest...</font></span>                                        </p>
<br>                                          
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">Project : error PRJ0003 : Error spawning &#39;cmd.exe&#39;.</font></span>                                        </p>
<br>                                          
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">Build log was saved at</font></span>                                        </p>
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">&quot;file://d:\ITK\Bin\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm&quot;</font></span>                                        </p>

<br>                                          <br>
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">cmTryCompileExec - 1 error(s), 0 warning(s)</font></span>                                        </p>
<br>                                          
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped</font></span>                                        </p>

                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">==========</font></span>                                        </p>
<br>                                          <br><br><br><br>
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">CMake will not be able to correctly generate this project.</font></span>                                        </p>
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">Call Stack (most recent call first):</font></span>                                        </p>
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          <span style="color:rgb(255,0,0)"><font color="rgb(255,0,0)">CMakeLists.txt:8 (PROJECT)</font></span>                                        </p>
<br>                                          <br>
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          Configuring incomplete, errors occurred!                                        </p>
                                        <p style="margin-left:0px;margin-top:0;margin-right:0px;margin-bottom:0">
                                          ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------                                        </p>

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

</blockquote></div><br></div>