Error: invalid Microsoft version number: 87 in VS 2008

Error: invalid Microsoft version number: 87 in VS 2008

Gerriet R.'s picture

Hello!

When i try to compile a VS 2008 project within Visual Studio using the Intel compiler, i get the following error message:

Command-line error: invalid Microsoft version number: 87

Isn't VS 2008 supported or what went wrong here?

Regards

Gerriet

11 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Sergey Kostrov's picture

>>When i try to compile a VS 2008 project within Visual Studio using the Intel compiler, i get the following error message:
>>
>>Command-line error: invalid Microsoft version number: 87
>>
>>Isn't VS 2008 supported or what went wrong here?

Only some editions of Visual Studios are supported. For example, Express Editions are not supported, Professional Editions are supported. What edition of the Visual Studio do you use?

Gerriet R.'s picture

I am using VS 2008 Team System 2008 Development Edition.

Maybe it's best to give you the relevant parts of about dialog:

Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1

Installed Edition: Enterprise

Microsoft Visual C++ 2008   91904-270-9141231-60933
Microsoft Visual C++ 2008

Microsoft Visual Studio Team System 2008 Development Edition   91904-270-9141231-60933
Microsoft Visual Studio Team System 2008 Development Edition

Hotfix for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB2538241)   KB2538241
This hotfix is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2538241.

Hotfix for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB944899)   KB944899
This hotfix is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/944899.

Hotfix for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB945282)   KB945282
This hotfix is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/945282.

Hotfix for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB946040)   KB946040
This hotfix is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946040.

Hotfix for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB946308)   KB946308
This hotfix is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946308.

Hotfix for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB946344)   KB946344
This hotfix is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946344.

Hotfix for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB946581)   KB946581
This hotfix is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946581.

Hotfix for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB947171)   KB947171
This hotfix is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947171.

Hotfix for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB947173)   KB947173
This hotfix is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947173.

Hotfix for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB947180)   KB947180
This hotfix is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947180.

Hotfix for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB947540)   KB947540
This hotfix is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947540.

Hotfix for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB947789)   KB947789
This hotfix is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947789.

Hotfix for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB948127)   KB948127
This hotfix is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/948127.

Hotfix for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB953256)   KB953256
This hotfix is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/953256.

Hotfix for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB971091)   KB971091
This hotfix is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/971091.

Hotfix for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB973674)   KB973674
This hotfix is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/973674.

Intel(R) Visual Fortran     Package ID: w_fcompxe_2013.1.119
Intel(R) Visual Fortran Composer XE 2013 Update 1 Integration for Microsoft Visual Studio* 2008, 13.0.3600.2008, Copyright (C) 2002-2012 Intel Corporation
* Other names and brands may be claimed as the property of others.

Intel® Advisor XE 2013 Update 1   
Intel® Advisor XE 2013 Update 1, (build 251878), Copyright © 2009-2012 Intel Corporation. All rights reserved.

Intel® C++ Composer XE 2013   Package ID: w_ccompxe_2013.1.119
Intel® C++ Composer XE 2013 Update 1 Integration for Microsoft* Visual Studio* 2008, Version 13.0.1194.2008, Copyright © 2002-2012 Intel Corporation
* Other names and brands may be claimed as the property of others

Intel® Inspector XE 2013 Update 3   
Intel® Inspector XE 2013 Update 3, (build 259694), Copyright © 2009-2012 Intel Corporation. All rights reserved.

Intel® VTune™ Amplifier XE 2013 Update 3   
Intel® VTune™ Amplifier XE 2013 Update 3, (build 261256), Copyright © 2009-2012 Intel Corporation. All rights reserved.

Microsoft Visual Studio Team System 2008 Development Edition - ENU Service Pack 1 (KB945140)   KB945140
This service pack is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/945140.

Microsoft Visual Studio Team System 2008 Development Edition - ENU Service Pack 1 (KB947888)   KB947888
This service pack is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947888.

Microsoft Visual Studio Team System 2008 Development Edition - ENU Service Pack 1 (KB948484)   KB948484
This service pack is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/948484.

Security Update for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB2251487)   KB2251487
This security update is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this security update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2251487.

Security Update for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB2669970)   KB2669970
This security update is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this security update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2669970.

Security Update for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB973675)   KB973675
This security update is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this security update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/973675.

Update for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB956453)   KB956453
This update is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/956453.

Update for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB967143)   KB967143
This update is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/967143.

Update for Microsoft Visual Studio Team System 2008 Development Edition - ENU (KB972221)   KB972221
This update is for Microsoft Visual Studio Team System 2008 Development Edition - ENU.
If you later install a more recent service pack, this update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/972221.

Jennifer J. (Intel)'s picture

It could be the "path" is over-flowed. could you clean the "path"?

If it's not the "path" issue, could you upload the .vcproj and .icproj file?

thanks,

Jennifer

Sergey Kostrov's picture

>>...It could be the "path" is over-flowed...

A very interesting question: What is a maximum length of the PATH environment variable for Windows platforms?

Gerriet R.'s picture

Quote:

Jennifer J. (Intel) wrote:

It could be the "path" is over-flowed. could you clean the "path"?

After cleaning up as much as possible the path is below 400 characters. It nearly contains only intel specific entries. Unfortunately the error stays the same.

Quote:

Jennifer J. (Intel) wrote:
If it's not the "path" issue, could you upload the .vcproj and .icproj file?

I've attached the requested files. (At least i tried. There is an error message while uploading ("An AJAX HTTP request terminated abnormally." )

Regards

Gerriet

Sergey Kostrov's picture

>>>>It could be the "path" is over-flowed. could you clean the "path"?
>>
>>After cleaning up as much as possible the path is below 400 characters. It nearly contains only intel specific entries. Unfortunately
>>the error stays the same.

I don't think the problem is related to some limitations of PATH environment variable since a memory for the list of paths should be allocated dynamically. I don't think it is declared by Microsoft developers as follows:
...
TCHAR szPATH[ 512 ] = { 0x0 };
...

>>...When i try to compile a VS 2008 project...

Here are a couple of questions:

- What are origins of your project?
- Is it imported, for example from VS 2005 Professional Edition, or a newly created in VS 2008 Team System Edition?
- Do you have another versions of Visual Studio?

Gerriet R.'s picture

Quote:

Sergey Kostrov wrote:

Here are a couple of questions:

- What are origins of your project?
- Is it imported, for example from VS 2005 Professional Edition, or a newly created in VS 2008 Team System Edition?
- Do you have another versions of Visual Studio?

The project has a long history. Before VS 2008 it was compiled with Visual C++ 6. We ommited Versions 2003 (VC++ 7) and 2005 (VC++ 8).

On my computer I've also installed VS 2010 and VS2012. Should I try a computer with VS 2008 only?

Sergey Kostrov's picture

>>The project has a long history. Before VS 2008 it was compiled with Visual C++ 6. We ommited Versions 2003 (VC++ 7)
>>and 2005 (VC++ 8).
>>
>>On my computer I've also installed VS 2010 and VS2012. Should I try a computer with VS 2008 only?

Of course you can try but I'm not sure that it will help. Here a couple of notes:

- Visual Studio project upgrades are very reliable and I never had any issues ( starting from Visual C++ version 1.5 up to Visual Studio 2012 ).

- All Visual Studios could be installed on one computer in different folders. For example, on my primary computer I have 7 different Visual C++ IDEs and Visual Studios.

- It is possible that a wrong order in the PATH environmet variable is set ( sorry, I can't prove it since I didn't see your PATH values ).

- I could create a test project in Visual C++ version 6 and upgrade it to Visual Studio 2008 Professional Edition and I'll post results later.

Sergey Kostrov's picture

>>...I could create a test project in Visual C++ version 6 and upgrade it to Visual Studio 2008 Professional Edition...

Please download a zip-file with projects for your tests ( it is attached ).

The following verifications are done:

Test 1: Project created with Visual C++ 6.0 Enterprise Edition ( SP5 & Processor Pack )

Test 2: Upgrade to Visual Studio 2008 Professional Edition ( All SPs installed ) ( from VC6 EE ) - No problems detected

Test 3: Upgrade to Visual Studio 2012 Express Edition ( All SPs installed ) ( from VC6 EE ) - No problems detected

Test 4: All configurations are successfully built

Attachments: 

AttachmentSize
Download contestapp.zip11.66 KB
Sergey Kostrov's picture

>>>>It could be the "path" is over-flowed. could you clean the "path"?
>>
>>After cleaning up as much as possible the path is below 400 characters. It nearly contains only intel specific entries. Unfortunately
>>the error stays the same.

I did a quick review of Microsoft's source codes for a CRT-function _putenv and it uses the dynamically allocated buffers for the list of all environment variables. If some Win32 API functions are used they also should use the dynamically allocated buffers.

Login to leave a comment.