Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Roy_v_
Beginner
277 Views

icl.exe exited with code 4 - invalid Microsoft version number: 89

Hi,

I recently installed Intel Parallel Studio XE 2016 and now have the Intel C++ compiler (update 4) integrated in Visual Studio 2015 (update 3).

When I create an empty c file, I can compile from the command line. However, when I take one of the sample solutions for Visual Studio I get build errors (I did run psxevars.bat): 

Error    MSB6006    "icl.exe" exited with code 4.    xres5    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\Intel C++ Compiler 16.0\Toolset.targets    377    

With output log:

1>icl: : warning #10121: overriding '/Qstd=c++11' with '/Qstd:c++14'
1>  main.cpp
1>  Command-line error: invalid Microsoft version number: 89
1>
1>  compilation aborted for main.cpp (code 4)

 

The only related topic I could find did not give a solution to this issue:
https://software.intel.com/en-us/forums/intel-c-compiler/topic/517998

Can anyone help me out on this issue?

Thanks.

0 Kudos
5 Replies
SergeyKostrov
Valued Contributor II
277 Views

>>...1> Command-line error: invalid Microsoft version number: 89... I just solved ( ! ) a similar problem but an error message was: ... Command-line error: invalid Microsoft version number: 20. ... when configuring a software development environment with Visual Studio 2005 and Intel C++ compiler version 11.0.075 for Itanium architecture ( aka IA-64 ). Note: ICC version 11.0.075 is the last version with support of IA-64 and can be used only with VSs 2005 and 2008. During my investigation I reviewed SetEnv.cmd from Microsoft Platform SDK for Windows Server 2003 SP1 ( 5.2.3790.1431.1 ) ( !!! ) and then "walked" through all bat-files that set the environment for IA-64 command line development. That was very unusual since I didn't expect that I would need to do some little corrections related to Microsoft Platform SDK for Windows Server 2003 SP1 bat-files.
Roy
Beginner
277 Views

Hi, 

I seem to be facing a similar issue and was hoping you could give any directions on what might cause the problem.

I'm currenlty running Visual Studio 2015 Update 3 with Intel Parallel Studio XE 17 Update 4.

***** ClCompile (x64 - Intel C++)

1>         main.cpp
1>         Command-line error: invalid Microsoft version number: 87
1>
1>         compilation aborted for main.cpp (code 4)

The installation is just cleanly installed, and all Intel related variables in the path are at the beginning of the line, so the folders should surely be accessible.

Thanks.

- Roy

Roy
Beginner
277 Views

No one else facing this problem?

Hope to get this resolved.

Thanks.

-Roy

Czapla__Adrian
Beginner
277 Views

Hi,

I'm facing the same problem with a clean installation of Intel System Studio 2018 Ultimate for Windows (2018.2.059).

Copyright (C) 1985-2018 Intel Corporation. All rights reserved.
Intel(R) Compiler 18.0 Update 4 (package 253)

**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.6.7
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'

E:\dev\IntelSWTools>icl test.cpp
Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 18.0.4.253 Build 20180410
Copyright (C) 1985-2018 Intel Corporation.  All rights reserved.

test.cpp
Command-line error: invalid Microsoft version number: 180

compilation aborted for test.cpp (code 4)

E:\dev\IntelSWTools>

Adrian
 

Viet_H_Intel
Moderator
277 Views

 

VS2017 v15.6.7 was released on 4/26/2018; whereas Intel compiler version 18.0.4.253 was built 04/10/2018. We can't support a VS version if it didn't exist when the compiler is built.

Thanks,

Viet 

Reply