[cmake-developers] [CMake 0012524]: CMake 2.8.6 Configure Error identifying assembler with VS2010

Mantis Bug Tracker mantis at public.kitware.com
Tue Oct 18 11:53:19 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12524 
====================================================================== 
Reported By:                zhaoqin
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12524
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2011-10-18 11:53 EDT
Last Modified:              2011-10-18 11:53 EDT
====================================================================== 
Summary:                    CMake 2.8.6 Configure Error identifying assembler
with VS2010
Description: 
On Windows 7 Enterprise, Visual Studio 2010 Professional
in Visual Studio Command Prompt (2010)

D:\src\cygwin\home\zhaoqin\Workspace\DynamoRIO\dynamorio-read-only\build>cmake
-G"Visual Studio 10" ..
-- Check for working C compiler using: Visual Studio 10
-- Check for working C compiler using: Visual Studio 10 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 10
-- Check for working CXX compiler using: Visual Studio 10 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Version number: 3.0.1063
-- Found message compiler: C:/Program Files (x86)/Microsoft
SDKs/Windows/v7.0A/Bin/MC.Exe
-- DDK/WDK is too recent: no support for Windows 2000 or earlier
-- Found ntdll.lib: C:/WinDDK/7600.16385.1/lib/wxp/i386/ntdll.lib
-- Found Perl: C:/strawberry/perl/bin/perl.exe
-- Checked for GNU
--    Output: -MASM : warning A4018:invalid command-line option : --version
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.40219.01
Copyright (C) Microsoft Corporation.  All rights reserved.

-
--    Result: -1-
-- Checked for HP
--    Output: -MASM : warning A4018:invalid command-line option : -V
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.40219.01
Copyright (C) Microsoft Corporation.  All rights reserved.

-
--    Result: -1-
-- Checked for Intel
--    Output: -MASM : warning A4018:invalid command-line option : --version
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.40219.01
Copyright (C) Microsoft Corporation.  All rights reserved.

-
--    Result: -1-
-- Checked for SunPro
--    Output: -MASM : warning A4018:invalid command-line option : -V
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.40219.01
Copyright (C) Microsoft Corporation.  All rights reserved.
...
Comment 5 by project member bruening at google.com, Oct 16 (45 hours ago)



The same in Win-7 Home 

Windows 7 Home Edtion
- VS2010 Express
- cmake-gui 2.8.6
- winsdk 7.1
- winddk 7600

in Visual Studio Command Prompt (2010)

H:\cygwin\home\zhaoqin\Workspace\DynamoRIO\dynamorio-read-only\build>cmake
-G"Visual Studio 10" ..
-- Version number: 3.0.1063
-- Found message compiler: C:/Program Files (x86)/Microsoft
SDKs/Windows/v7.0A/Bin/MC.Exe
-- DDK/WDK is too recent: no support for Windows 2000 or earlier
-- Found ntdll.lib: C:/WinDDK/7600.16385.1/lib/wxp/i386/ntdll.lib
-- Checked for GNU
--    Output: -MASM : warning A4018:invalid command-line option : --version
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

-
--    Result: -1-
-- Checked for HP
--    Output: -MASM : warning A4018:invalid command-line option : -V
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

-
--    Result: -1-
-- Checked for Intel
--    Output: -MASM : warning A4018:invalid command-line option : --version
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

-
--    Result: -1-
-- Checked for SunPro
--    Output: -MASM : warning A4018:invalid command-line option : -V
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

-
--    Result: -1-
-- Checked for XL
--    Output: -MASM : warning A4018:invalid command-line option : -qversion
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

-
--    Result: -1-
-- Checked for TI_DSP
--    Output: -MASM : warning A4018:invalid command-line option : -h
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

-
--    Result: -1-
-- The ASM compiler identification is unknown
-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio
10.0/VC/bin/ml.exe
-- Warning: Did not find file Compiler/-ASM
-- Configuring done
-- Generating done
-- Build files have been written to: 

Additional Information: 
Similar to http://public.kitware.com/Bug/view.php?id=12358
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-10-18 11:53 zhaoqin        New Issue                                    
======================================================================




More information about the cmake-developers mailing list