[Insight-users] Problems with CMake2.4

Lars Nygard lnygard at yahoo.com
Mon Jun 4 18:28:40 EDT 2007


Hi,
Ive used itk 3.2.0 with CMake2.4 uptill now without problems. But today
I suddenly got an error when I try to configure with CMake2.4. Ive tried
re-installing both Visual studio .NET 2003 and CMake but this doesn't
solve the problem.
Anybody has an idea how I can solve this? The error from CMake is below which 
repeats about ten times, every time saying the same:

error:
-------------------------------
Determining if the C compiler works failed with the following output:

Microsoft (R) Development Environment  Version 7.10.3077.
Copyright (C) Microsoft Corp 1984-2001. All rights reserved.
------ Build started: Project: cmTryCompileExec, Configuration: Debug Win32 ------

Building Custom Rule C:/Documents and Settings/lars/Desktop/Insight Toolkit/Examples/Registration/ImageRegistration11/CMakeFiles/CMakeTmp/CMakeLists.txt
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/bin/cl.exe
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/bin/cl.exe -- broken
CMake Error: The C compiler "C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/bin/cl.exe" is not able to compile a simple test program.
It fails with the following output:

Determining if the C compiler works failed with the following output:

Microsoft (R) Development Environment  Version 7.10.3077.
Copyright (C) Microsoft Corp 1984-2001. All rights reserved.
------ Build started: Project: cmTryCompileExec, Configuration: Debug Win32 ------

Building Custom Rule C:/Documents and Settings/lars/Desktop/Insight Toolkit/Examples/Registration/ImageRegistration11/CMakeFiles/CMakeTmp/CMakeLists.txt
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/bin/cl.exe
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/bin/cl.exe -- broken
CMake Error: The C compiler "C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/bin/cl.exe" is not able to compile a simple test program.
It fails with the following output:
-------------------------------------------------------------------------------------------


	
	
		
_________________________________________________________
Alt i én. Få Yahoo! Mail med adressekartotek, kalender og
notisblokk. http://no.mail.yahoo.com


More information about the Insight-users mailing list