<br>Here is the download link:<br>&nbsp; <a href="http://www.cmake.org/files/v2.4/">http://www.cmake.org/files/v2.4/</a><br><br><div><span class="gmail_quote">On 6/15/07, <b class="gmail_sendername">Lars Nygard</b> &lt;<a href="mailto:lnygard@yahoo.com">
lnygard@yahoo.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 10pt;">
<div style="font-size: 10pt; font-family: times new roman,new york,times,serif;">Hi David,</div>
<div style="font-size: 10pt; font-family: times new roman,new york,times,serif;">&nbsp;</div>
<div style="font-size: 10pt; font-family: times new roman,new york,times,serif;">Thaks for your email. I tried what you said but I still get the same error.</div>
<div style="font-size: 10pt; font-family: times new roman,new york,times,serif;">Where can I download cmake 2.4.7? The latest version on the site is</div>
<div style="font-size: 10pt; font-family: times new roman,new york,times,serif;">2.4.6...</div>
<div style="font-size: 10pt; font-family: times new roman,new york,times,serif;">greets,</div><span class="sg">
<div style="font-size: 10pt; font-family: times new roman,new york,times,serif;">Lars Nygard<br><br></div></span><div><span class="e" id="q_113309aa465acb36_2">
<div style="font-size: 12pt; font-family: times new roman,new york,times,serif;">----- Original Message ----<br>From: David Cole &lt;<a href="mailto:david.cole@kitware.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
david.cole@kitware.com</a>&gt;<br>To: Lars Nygard &lt;<a href="mailto:lnygard@yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lnygard@yahoo.com</a>&gt;<br>Cc: <a href="mailto:cmake@cmake.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
cmake@cmake.org</a><br>Sent: Friday, June 15, 2007 10:47:28 AM<br>Subject: Re: [CMake] Unable to compile a simple test program<br><br>This file name: ...<br>c:\Documents and Settings\lars\Desktop\Insight Toolkit\myPrograms\ImageRegist
<div style="direction: ltr;">rationBin\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug <br>...is 254 characters long.
<br></div><br>Try a shorter initial directory for your source and build trees. Also: perhaps try updating to CMake 2.4.7, it has some bug fixes in it that may prevent the occurrence of ridiculously long file names during try compiles... 
<br><br><br>HTH,<br>David<br><br><br>
<div><span class="gmail_quote">On 6/15/07, <b class="gmail_sendername">Lars Nygard</b> &lt;<a href="mailto:lnygard@yahoo.com" rel="nofollow" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lnygard@yahoo.com
</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>Im having some problems with cmake and Visual studio 2003 .NET. It has worked<br>
good some time, but a few weeks I suddenly got &quot;unable to compile a simple test program&quot;.<br>When I re-install visual studio, it sometimes works for a while but after a few configuration <br>i get this error. I can&#39;t understand what&#39;s wrong.
<br>Ive tried re-installing windows, cmake and visual studio several times but this error is coming<br>back.<br>Can anybody give me some advice on how to analyse what&#39;s wrong? Im not that profficient <br>with either configuring visual studio or cmake.
<br>Id really appreciate any help.<br>regards,<br>Lars Nygard<br><br>Im using Visual Studio .NET 2003, Window XP service pack2 (with all latest updates)<br>and Cmake 2.4 patch 6 <br>This is part of the error file from
 cmake.<br>******************************************************************************<br>Determining if the C compiler works failed with the following output:<br><br>Building Custom Rule C:/Documents and Settings/lars/Desktop/Insight Toolkit/myPrograms/ImageRegistrationBin/CMakeFiles/CMakeTmp/CMakeLists.txt 
<br>-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/bin/cl.exe<br>-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/bin/cl.exe -- broken<br>CMake Error: The C compiler &quot;C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/bin/cl.exe&quot; is not able to compile a simple test program. 
<br>It fails with the following output:<br>Microsoft (R) Development Environment&nbsp;&nbsp;Version 7.10.3077.<br>Copyright (C) Microsoft Corp 1984-2001. All rights reserved.<br>------ Build started: Project: cmTryCompileExec, Configuration: Debug Win32 ------ 
<br>cmTryCompileExec : warning PRJ0009 : Build log
 could not be opened for writing.<br>Make sure that the file is not open by another process and is not write-protected.<br>cmTryCompileExec : error PRJ0020 : Tool &#39;C/C++&#39;, Property &#39;Object File Name&#39; contains invalid file name &#39; 
cmTryCompileExec.dir\Debug\testCCompiler.c&#39;.<br>cmTryCompileExec : error PRJ0005 : Unable to create a temporary file in directory &#39;c:\Documents and Settings\lars\Desktop\Insight Toolkit\myPrograms\ImageRegistrationBin\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug&#39;. 
<br><br>Build log was saved at &quot;file://c:\Documents and Settings\lars\Desktop\Insight Toolkit\myPrograms\ImageRegistrationBin\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\Build&quot; 
<br>cmTryCompileExec - 2 error(s), 1
 warning(s)<br>---------------------- Done ----------------------<br><br>&nbsp;&nbsp;&nbsp;&nbsp;Build: 0 succeeded, 1 failed, 0 skipped<br><br>CMake will not be able to correctly generate this project.<br>-- Configuring done<br>Compiling...
<br>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86<br>Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.<br>cl /Od /D &quot;_MBCS&quot; /FD /RTCs /MDd /GS /Fo&quot; cmTryCompileExec.dir\Debug\\
&quot; /Fd&quot;Debug/cmTryCompileExec.pdb&quot; /W3 /c /Zi /TC&nbsp;&nbsp;&nbsp;&nbsp;/DWIN32 /D_WINDOWS&nbsp;&nbsp;/Zm1000&nbsp;&nbsp; /D_DEBUG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-DCMAKE_INTDIR=\&quot;Debug\&quot;<br>&nbsp;&nbsp; &quot;.\testCCompiler.c&quot;<br>testCCompiler.c <br>Linking...<br>
Microsoft (R) Incremental Linker Version 7.10.3077<br>Copyright (C) Microsoft Corporation.&nbsp;&nbsp;All rights reserved.<br>&quot;/OUT:Debug\cmTryCompileExec.exe&quot; /VERSION:0.0 /INCREMENTAL /DEBUG &quot;/PDB:Debug\cmTryCompileExec.pdb&quot; /SUBSYSTEM:CONSOLE
 /STACK:10000000 /machine:I386 /debug kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib<br>&quot;.\cmTryCompileExec.dir\Debug\testCCompiler.obj&quot;
<br><br>Build log was saved at &quot;file://c:\Documents and Settings\lars\Desktop\Insight Toolkit\myPrograms\ImageRegistrationBin\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm&quot; 
<br>cmTryCompileExec - 2 error(s), 1 warning(s)<br>---------------------- Done ----------------------<br><br><br><br><br><br>_________________________________________________________<br>Alt i én. Få Yahoo! Mail med adressekartotek, kalender og 
<br>notisblokk. <a href="http://no.mail.yahoo.com/" rel="nofollow" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://no.mail.yahoo.com</a><br>_______________________________________________<br>
CMake mailing list<br><a href="mailto:CMake@cmake.org" rel="nofollow" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">CMake@cmake.org</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake" rel="nofollow" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br></div>
<div style="font-size: 10pt; font-family: times new roman,new york,times,serif;"><br></div></span></div></div><div><span class="e" id="q_113309aa465acb36_4"><br>


      <hr size="1"><br><table><tbody><tr><td>Alt i én. Få <a href="http://no.mail.yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Yahoo! Mail</a> med adressekartotek, kalender og notisblokk.
</td></tr></tbody></table></span></div></div><br>_______________________________________________<br>CMake mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:CMake@cmake.org">CMake@cmake.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>