<div><br clear="all">Hi I use VS2008, cmake 2.6 and ITK 3.14<br>One week ago, I meet a problem and I can't solve it.<br> <br>/////The problem is: The C compiler "cl" is not able to compile a simple test program. </div>
<p>ImageRegistration2\ImageRegistration2-build>cmake .. -G "Visual Studio 9 2008"<br>-- Check for working C compiler: cl<br>-- Check for working C compiler: cl -- broken<br>CMake Error at C:/Program Files (x86)/CMake 2.6/share/cmake-2.6/Modules/CMakeTes<br>
tCCompiler.cmake:32 (MESSAGE):<br> The C compiler "cl" is not able to compile a simple test program.<br> It fails with the following output:<br> Change Dir: E:/I_VTK/test/src/old/old2/ImageRegistration2/ImageRegistration2-<br>
build/CMakeFiles/CMakeTmp<br> <br> Run Build Command:E:\PROGRA~1\MICROS~1.0\Common7\IDE\<a href="http://devenv.com">devenv.com</a><br> CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec<br> <br> Microsoft (R) Visual Studio Version 9.0.21022.8.<br>
Copyright (C) Microsoft Corp. All rights reserved.<br> 1>------ Build started: Project: cmTryCompileExec, Configuration: Debug<br> Win32 ------<br> 1>Embedding manifest...<br> 1>.\cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.intermediate.manifest :<br>
general error c1010070: Failed to load and parse the manifest. {_~0 v <br> 1>Build log was saved at<br> "<a href="file:///e:/I_VTK/test/src/old/old2/ImageRegistration2/ImageRegistration2-build">file://e:\I_VTK\test\src\old\old2\ImageRegistration2\ImageRegistration2-build</a><br>
\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"</p>
<p> 1>cmTryCompileExec - 1 error(s), 0 warning(s)<br> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped<br> ==========<br> <br> <br> CMake will not be able to correctly generate this project.<br>Call Stack (most recent call first):<br>
CMakeLists.txt:3 (PROJECT)</p>
<p>-- Configuring incomplete, errors occurred!<br>-- <br> 世事喧嚣,人生寂寞。我一直以为,支撑我生活的动力,便是罗素所称的三种单纯然而又极其强烈的激情:对爱情的渴望、对知识的渴求,以及对于人类苦难痛彻肺腑的怜悯。而在这样的动力下生活,注定是孤独,无尽的、近于绝望的孤独。 <br> 我想,在这片已经不再蔚蓝、不再纯洁的天空下,如果还有一双眼睛与我一同哭泣,那么生活就值得我为之受苦吧。<br>
<br></p>