[Insight-users] Problems with CMake2.4
Luis Ibanez
luis.ibanez at kitware.com
Wed Jun 6 12:53:04 EDT 2007
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
>
More information about the Insight-users
mailing list