[Insight-users] Problem when compile ITK.

phuong trinh pham ngoc equationsupertrinh at hotmail.com
Mon Feb 9 08:02:12 EST 2009




Hello,I am new beginner who is trying to use ITK for the research work. One year ago, I tried to use ITK first time and was successful with configuring ITK 3.4.0 for Windows Vista. I also finished to run Hello World example. I stopped my work then, however, to jump to another stuff. Now I am back with ITK again. Unfortunately I cannot do well this time even with the first step. I cannot understand why there is an error when I configure ITK 3.4.0 or 3.8.0 with Cmake 2.4 pack 8 for Windows Vista. I copy the error announcements in the following lines. Anyone can help me out, please??? Thanks in advance!PhuongTrinh.
Error-----------------------------------------------
Cmake Error: The C compiler "cl" is not able to compile a simple test program. It fails with the following output:
 
Microsoft (R) Visual Studio Version 8.0.50727.867.
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
1>------ Build started: Project: cmTryCompileExec, Configuration: Debug Win32------
1>Compiling...
1>Microsoft (R) 32-bt C/C++ Optimizing Compiler Version 14.00.50727.762 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/EHsc/RTC1/MDd
/Fo"cmTryCompileExec.dir\Debug\\"
/Fd"C:/SOFTWARE/ITK_BINARY_DIR/CamkeFiles/CmakeTmp/Debug/cmTryCompileExec.pdb" /W3/c/Zi/TC /Zm1000
1> .\testCCompiler.c
1>testCCompiler.c
1>Compiling manifest to resources...
1>Linking...
1>Embedding manifest...
1>Project: error PRJ0003: Error spawning 'cmd.exe'.
1>Build log was saved at file://c:\SOFTWARE\ITK_BINARY_DIR\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.html
1>cmTryCompileExec - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ===========
CMake will not be able to correctly generate this project.
(Press Cancel to suppress any furthur messages).
 



See all the ways you can stay connected to friends and family
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090209/e82cf396/attachment-0001.htm>


More information about the Insight-users mailing list