[Insight-users] Problem when configure ITK

Sergio Vera sergio.vera at alma3d.com
Fri Apr 9 03:10:21 EDT 2010


Hello Ling

>>1>Project : error PRJ0003 : Error spawning 'cmd.exe'.

Have you tried to run cmd.exe by yourself? (window's start menu, then run
and type "cmd.exe")
Maybe it's somehow damaged or accidentally deleted or renamed

regards

2010/4/9 Ling Luo <shuiling119 at hotmail.com>

>  Hi all,
>
> When I use CMake to configure ITK, I encount the following problems. What
> should I do? I use VS2008. Thank you!
>
>
> ==========================================================================================================
> Check for working C compiler using: Visual Studio 9 2008
> Check for working C compiler using: Visual Studio 9 2008 -- broken
> CMake Error at D:/Program Files/CMake
> 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
>   The C compiler "cl" is not able to compile a simple test program.
>   It fails with the following output:
>    Change Dir: D:/ITK-Bin/CMakeFiles/CMakeTmp
>   Run Build Command:D:\PROGRA~1\MICROS~1.0\Common7\IDE\devenv.com
>   CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec
>
>   Microsoft (R) Visual Studio Version 9.0.30729.1.
>   Copyright (C) Microsoft Corp.  All rights reserved.
>
>   The evaluation period for Visual Studio Trial Edition ends in 90 days.
>   1>------ Build started: Project: cmTryCompileExec, Configuration: Debug
>   Win32 ------
>   1>Compiling...
>   1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01
> for
>   80x86
>   1>Copyright (C) Microsoft Corporation.  All rights reserved.
>   1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\""
>   /D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec.dir\Debug\\"
>   /Fd"D:\ITK-Bin\CMakeFiles\CMakeTmp\Debug/cmTryCompileExec.pdb" /W3 /c /Zi
>   /TC /Zm1000
>   1> ".\testCCompiler.c"
>   1>testCCompiler.c
>   1>Compiling manifest to resources...
>   1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
>   1>Copyright (C) Microsoft Corporation.  All rights reserved.
>   1>Linking...
>   1>Embedding manifest...
>   1>Project : error PRJ0003 : Error spawning 'cmd.exe'.
>   1>Build log was saved at
>   "
> file://d:\ITK-Bin\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm
> "
>   1>cmTryCompileExec - 1 error(s), 0 warning(s)
>   ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
>   ==========
>
>   CMake will not be able to correctly generate this project.
> Call Stack (most recent call first):
>   CMakeLists.txt:8 (PROJECT)
> Configuring incomplete, errors occurred!
>
> ============================================================================================================
>
> Ling Luo
>
> ------------------------------
> Hotmail: Free, trusted and rich email service. Get it now.<https://signup.live.com/signup.aspx?id=60969>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>


-- 
Sergio Vera

Alma IT Systems
C/ Vilana, 4B, 4º 1ª
08022 Barcelona
T. (+34) 932 380 592
www.alma3d.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100409/60d65d06/attachment.htm>


More information about the Insight-users mailing list