[Insight-users] Problems with CMake2.4
Lars Nygard
lnygard at yahoo.com
Wed Jun 6 13:11:43 EDT 2007
Luis,
Thanks for the mail. Ive solved the problem. AFter I re-installed windows and
Visual Studio, I still got the problem (that caused a little shock). Then I downloaded all the newest updates,
about 70, and re-installed Visual studio. That fixed the problem. I don't know why I got the error in the
first place because I had all updates installed. Im really considering switching operating
system, this took me two days to find out and a lot of frustration and work. Im thinking about Mac, do you think
I will experience less problems with Mac?
greets,
Lars
----- Original Message ----
From: Luis Ibanez <luis.ibanez at kitware.com>
To: Lars Nygard <lnygard at yahoo.com>
Cc: insight-users at itk.org
Sent: Wednesday, June 6, 2007 9:53:04 AM
Subject: Re: [Insight-users] Problems with CMake2.4
Hi Lars,
Can you try using your Visual Studio for creating a "Hello World"
project *Independent* of CMake and ITK ?
The error messages that you posted seem to indicate the there is
a configuration problem with your Visual Studio itself. It doesn't
seem to be a problem related to ITK.
Please let us know if you can build a "Hello World" test.
Thanks
Luis
----------------------
Lars Nygard wrote:
> 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
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
_________________________________________________________
Alt i én. Få Yahoo! Mail med adressekartotek, kalender og
notisblokk. http://no.mail.yahoo.com
More information about the Insight-users
mailing list