[CMake] MSYS and Intel Fortran/MSVC/C++
Bill Hoffman
bill.hoffman at kitware.com
Thu Jan 3 17:10:09 EST 2013
On 1/3/2013 4:37 PM, Alan W. Irwin wrote:
>
> Hi Arjen:
>
> The error was that the Microsoft Visual Studio 10.0
> compiler failed the initial check of whether
> it could compile a simple test programme
> for the "NMake Makefiles" generator case.
>
> Recalling that CMake-2.8.10 had a lot of changes to
> language support is this a regression for cmake-2.8.10.2 or do you
> get the same issue for earlier cmake versions?
This does not seem to have anything to do with CMake versions. Here is
the error:
"c:\PROGRA~1\Microsoft Visual Studio 10.0\VC\bin\cl.exe"
@e:/Temp\nm591.tmp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for
80x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line error D8022 : cannot open 'e:'
NMAKE : fatal error U1077: '"c:\PROGRA~1\Microsoft Visual Studio
10.0\VC\bin\cl.exe"' : return code '0x2
Looks like cl is using your e:/Temp for temp files. Maybe you have a
bad env var. You have to make sure you are running CMake from a shell
where the command line tools for cl are configured correctly. Do you
have an e: drive on the machine? Is there an e:/Temp?
-Bill
More information about the CMake
mailing list