[CMake] Unable to compile a simple test program

Alexander Neundorf a.neundorf-work at gmx.net
Fri Jun 15 14:34:56 EDT 2007


On Friday 15 June 2007 13:22, Lars Nygard wrote:
> Hi,
>
> Im using Visual Studio .NET 2003, Window XP service pack2 (with all latest
> updates) and Cmake 2.4 patch 6
> This is part of the error file from cmake.
> ***************************************************************************
>*** Determining if the C compiler works failed with the following output:
>
> Building Custom Rule C:/Documents and Settings/lars/Desktop/Insight
> Toolkit/myPrograms/ImageRegistrationBin/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:
> Microsoft (R) Development Environment  Version 7.10.3077.
> Copyright (C) Microsoft Corp 1984-2001. All rights reserved.
> ------ Build started: Project: cmTryCompileExec, Configuration: Debug Win32
> ------ cmTryCompileExec : warning PRJ0009 : Build log could not be opened
> for writing. Make sure that the file is not open by another process and is
> not write-protected. cmTryCompileExec : error PRJ0020 : Tool 'C/C++',

Maybe a permission problem ?

Alex


More information about the CMake mailing list