Hi Bill, Alan,
just to make sure, I checked that there is an e-drive
and a directory temp on that drive. These settings are
the same as always when I use the MSVC/C++ or Intel
Fortran
compilers.
My guess is that the use of the forward slash is messing
up the argument parsing:
- cl uses both "/" and "-" as the start characters for
a command-line option.
- MSYS uses the forward slash to separate path components
and in this particular case both forward and backward
slashes occur.
- cl is complaining about a file called "e:", not
"e:/temp"
(The DOS shell can use both forward and backward slashes
by the way as a path separator, but it is not consistent
in this - path completion only works for backward slashes
for instance)
This means that the MSYS shell can not be readily used
to generate the makefiles. An alternative I can imagine is
that I use the DOS shell and make the MinGW/MSYS utilities
available via the path.
Regards,
Arjen
On Thu, 03 Jan 2013 17:10:09 -0500
Bill Hoffman <[email protected]> wrote:
On 1/3/2013 4:37 PM, Alan W. Irwin wrote:
...
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?
DISCLAIMER: This message is intended exclusively for the addressee(s) and may
contain confidential and privileged information. If you are not the intended
recipient please notify the sender immediately and destroy this message.
Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The
Netherlands, Commercial Registration Number 41146461, is not liable in any way
whatsoever for consequences and/or damages resulting from the improper,
incomplete and untimely dispatch, receipt and/or content of this e-mail.
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake