Hello Ling<br><br> >>1>Project : error PRJ0003 : Error spawning 'cmd.exe'.<br><br>Have you tried to run cmd.exe by yourself? (window's start menu, then run and type "cmd.exe")<br>Maybe it's somehow damaged or accidentally deleted or renamed<br>
<br>regards<br><br><div class="gmail_quote">2010/4/9 Ling Luo <span dir="ltr"><<a href="mailto:shuiling119@hotmail.com">shuiling119@hotmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
Hi all,<br>
<br>
When I use CMake to configure ITK, I encount the following problems. What should I do? I use VS2008. Thank you!<br>
<br>
==========================================================================================================<br>Check for working C compiler using: Visual Studio 9 2008<br>Check for working C compiler using: Visual Studio 9 2008 -- broken<br>
CMake Error at D:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (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: D:/ITK-Bin/CMakeFiles/CMakeTmp<br>
Run Build Command:D:\PROGRA~1\MICROS~1.0\Common7\IDE\<a href="http://devenv.com" target="_blank">devenv.com</a><br> CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec<br> <br>
Microsoft (R) Visual Studio Version 9.0.30729.1.<br>
Copyright (C) Microsoft Corp. All rights reserved.<br>
<br> The evaluation period for Visual Studio Trial Edition ends in 90 days.<br>
1>------ Build started: Project: cmTryCompileExec, Configuration: Debug<br> Win32 ------<br>
1>Compiling...<br>
1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for<br> 80x86<br>
1>Copyright (C) Microsoft Corporation. All rights reserved.<br>
1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\""<br> /D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec.dir\Debug\\"<br> /Fd"D:\ITK-Bin\CMakeFiles\CMakeTmp\Debug/cmTryCompileExec.pdb" /W3 /c /Zi<br>
/TC /Zm1000<br>
1> ".\testCCompiler.c"<br>
1>testCCompiler.c<br>
1>Compiling manifest to resources...<br>
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1<br>
1>Copyright (C) Microsoft Corporation. All rights reserved.<br>
1>Linking...<br>
1>Embedding manifest...<br>
1>Project : error PRJ0003 : Error spawning 'cmd.exe'.<br>
1>Build log was saved at<br> "<a>file://d:\ITK-Bin\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm</a>"<br>
1>cmTryCompileExec - 1 error(s), 0 warning(s)<br>
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped<br> ==========<br> <br> CMake will not be able to correctly generate this project.<br>Call Stack (most recent call first):<br> CMakeLists.txt:8 (PROJECT)<br>
Configuring incomplete, errors occurred!<br>
============================================================================================================<br><font color="#888888">
<br>
Ling Luo<br>                                            </font><div class="hm"><br><hr>Hotmail: Free, trusted and rich email service. <a href="https://signup.live.com/signup.aspx?id=60969" target="_blank">Get it now.</a></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.html" target="_blank">http://www.kitware.com/products/protraining.html</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><br clear="all"><br>-- <br>Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br> <a href="http://www.alma3d.com">www.alma3d.com</a><br>