[Insight-users] ITK build error

Kent Ogden ogdenk at upstate.edu
Sat Mar 10 06:32:45 EST 2012


Do you have the express version of VS 2008?  I don't think the x64
compiler tools are included with the express version.  If I recall, you
may also need to download the Windows SDK to get the x64 components.  

Kent


Sent from my iPad

On Mar 9, 2012, at 11:39 PM, "Lisa Dean <lisadean.leo at gmail.com>"
<lisadean.leo at gmail.com> wrote:

> 
> Hi,
> 
> 
> I experience a problem while generating the ITK binaries using CMake.
Could anyone please tell me the reason and how to rectify it? I have
used an earlier version of ITK and never experienced this error while
generating the binaries before.�
> 
> The error I get is as follows
> 
> 
>
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> Check for working C compiler using: Visual Studio 8 2005 Win64
> Check for working C compiler using: Visual Studio 8 2005 Win64 --
broken
> CMake Error at
D:/ITK_FILES/cmake-2.8.4-win32-x86/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:C:\PROGRA~2\MICROS~1\Common7\IDE\devenv.com
> CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec
> Microsoft (R) Visual Studio Version 8.0.50727.42.
> Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
> ------ Build started: Project: cmTryCompileExec, Configuration: Debug
x64
> ------
> Compiling...
> Microsoft (R) C/C++ Optimizing Compiler Version 14.00.50727.42 for x64
> Copyright (C) Microsoft Corporation. All rights reserved.
> cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D
"CMAKE_INTDIR=\"Debug\"" /D
> "_MBCS" /FD /RTCs /MDd /Fo"cmTryCompileExec.dir\Debug\\"
> /Fd"D:\ITK\Bin\CMakeFiles\CMakeTmp\Debug/cmTryCompileExec.pdb" /W3 /c
/Zi
> /TC /Zm1000
> .\testCCompiler.c
> testCCompiler.c
> Compiling manifest to resources...
> Linking...
> Embedding manifest...
> Project : error PRJ0003 : Error spawning 'cmd.exe'.
> Build log was saved at
>
"file://d:\ITK\Bin\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"
> 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!
>
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> 
> 
> 
> Thanks a lot
> Lisa
> <Part.002>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120310/488102ca/attachment.htm>


More information about the Insight-users mailing list