How to setup MSVC2010: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Porting: http://qt-project.org/wiki/Category:Tools::msvc)
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
= How to set up MSVC2010 without buying Visual Studio =
== How to set up MSVC2010 without buying Visual Studio ==


Unfortunately it is rather complicated to set up MSVC2010 without getting a license for Visual Studio. The bare WinSDK 7.1 will produce this error:
Unfortunately it is rather complicated to set up MSVC2010 without getting a license for Visual Studio. The bare WinSDK 7.1 will produce this error:
Line 13: Line 13:
* Install VS 2010 SP1 from http://www.microsoft.com/en-au/download/details.aspx?id=23691 for the missing headers (this requires VS Express).
* Install VS 2010 SP1 from http://www.microsoft.com/en-au/download/details.aspx?id=23691 for the missing headers (this requires VS Express).
* Install MSVC 2010 SP1 Compiler Update from http://www.microsoft.com/en-au/download/details.aspx?id=4422 for the compiler fixes.
* Install MSVC 2010 SP1 Compiler Update from http://www.microsoft.com/en-au/download/details.aspx?id=4422 for the compiler fixes.
[[Category:MSVC]][[Category:HowTo]]

Latest revision as of 08:22, 26 March 2015

How to set up MSVC2010 without buying Visual Studio

Unfortunately it is rather complicated to set up MSVC2010 without getting a license for Visual Studio. The bare WinSDK 7.1 will produce this error:

   LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

To fix this problem you need to install KB2519277, which unfortunately misses some headers, causing your build to fail with errors about headers not being found.