Windows SDK versions

  • Revision slug: Windows_SDK_versions
  • Revision title: Windows SDK versions
  • Revision id: 329585
  • Created:
  • Creator: BrianDiPalma
  • Is current revision? No
  • Comment

Revision Content

Mozilla, from time to time, might support building against multiple versions of the Windows SDK as a compatibility/transitional measure. If it does, several features will be disabled if you build with an SDK older than the default, which means that you'll have to specify a non-default SDK version explicitly.

Quick start

Follow the instructions for whichever version of Visual C++ you're using.

Visual Studio Professional 2012

This comes with the Windows 8.0 SDK included.

Visual Studio 2012 Express for Windows Desktop

???

Visual C++ 10 (VS2010) Professional

This comes with the Windows 7 SDK, so you should be all set out of the box.

Visual C++ 10 (VS2010) Express

Download and install the Windows 7 SDK.

Older versions

Some of the older version are no longer supported, further information is available at Obsolete Build Caveats and Tips [en-US] under the Windows SDK article. Generally the Windows 7 SDK is acceptable.

Windows 7 SDK

This is the SDK that official builds are built against. Features that depend on this SDK include:

  • Windows 7 taskbar previews
  • Windows 7 download taskbar progress
  • Windows 7 jump lists

You can download the SDK (v7.0 or unsupported v7.1 [web setup or ISO image]) from the Microsoft Download Center. Note that if you're running a 64 bit version of Windows you may require the "AMD" version of the SDK even if you have an Intel processor, and you may need to deselect the documentation component in the installer in order to avoid an installation error. (This was certainly the case for 64 bit Windows 7 on a late 2008 MacBook Pro.)

Warning: Due to a bug in Windows 7 SDK, if you get "SDKSETUP encountered an error: Expecting path %SystemRoot% to represent a valid system volume" error you may require to set environmental variable %windir% to something like "C:\Windows" instead of "%SystemRoot%".

Older SDKs

These are no longer supported, further information is available at Obsolete Build Caveats and Tips [en-US] under the Windows SDK article.

Troubleshooting

Help! I know I have the correct SDK, but configure.in's still failing!

Try the following things in order:

  1. Run the Windows SDK Configuration Tool (if available) and make sure the right SDK is selected.
  2. Restart the msys console.
  3. Delete your entire object directory and start over.

Revision Source

<p>Mozilla, from time to time, might support building against multiple versions of the Windows SDK as a compatibility/transitional measure. If it does, several features will be disabled if you build with an SDK older than the default, which means that you'll have to specify a non-default SDK&nbsp;version explicitly.</p>
<h2 id="Quick_start">Quick start</h2>
<p>Follow the instructions for whichever version of Visual C++ you're using.</p>
<h3 id="Visual_Studio_Professional_2012">Visual Studio Professional 2012</h3>
<p>This comes with the Windows 8.0 SDK included.</p>
<h3 id="Visual_Studio_2012_Express_for_Windows_Desktop">Visual Studio 2012 Express for Windows Desktop</h3>
<p>???</p>
<h3 id="Visual_C.2B.2B_10_(VS2010)_Professional">Visual C++ 10 (VS2010) Professional</h3>
<p>This comes with the Windows 7 SDK, so you should be all set out of the box.</p>
<h3 id="Visual_C.2B.2B_10_(VS2010)_Express">Visual C++ 10 (VS2010) Express</h3>
<p>Download and install the&nbsp;<a href="#Windows_7_SDK">Windows 7 SDK</a>.</p>
<h3>Older versions</h3>
<p>Some of the older version are no longer supported, further information is available at <a href="/en-US/docs/Introduction/Obsolete_Build_Caveats_and_Tips" title="/en-US/docs/Introduction/Obsolete_Build_Caveats_and_Tips">Obsolete Build Caveats and Tips [en-US]</a> under the Windows SDK article. Generally the Windows 7 SDK is acceptable.</p>
<h2 id="Windows_7_SDK">Windows 7 SDK</h2>
<p>This is the SDK&nbsp;that official builds are built against. Features that depend on this SDK&nbsp;include:</p>
<ul>
  <li>Windows 7 taskbar previews</li>
  <li>Windows 7 download taskbar progress</li>
  <li>Windows 7 jump lists</li>
</ul>
<p>You can download the SDK (<a class="external" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&amp;displaylang=en">v7.0</a> or unsupported v7.1 [<a class="external" href="http://go.microsoft.com/fwlink/?LinkID=191420" title="http://go.microsoft.com/fwlink/?LinkID=191420">web setup</a> or <a class="external" href="http://go.microsoft.com/fwlink/?LinkID=191424" title="http://go.microsoft.com/fwlink/?LinkID=191424">ISO image</a>]) from the Microsoft Download Center. Note that if you're running a 64 bit version of Windows you may require the "AMD" version of the SDK even if you have an Intel processor, and you may need to <strong>de</strong>select the documentation component in the installer in order to avoid an installation error. (This was certainly the case for 64 bit Windows 7 on a late 2008 MacBook Pro.)</p>
<div class="warning">
  <strong>Warning:</strong> Due to a bug in Windows 7 SDK, if you get "SDKSETUP encountered an error: Expecting path %SystemRoot% to represent a valid system volume" error you may require to set environmental variable %windir% to something like "C:\Windows" instead of "%SystemRoot%".</div>
<h2 id="Older_SDKs">Older SDKs</h2>
<p>These are no longer supported, further information is available at <a href="/en-US/docs/Introduction/Obsolete_Build_Caveats_and_Tips" title="/en-US/docs/Introduction/Obsolete_Build_Caveats_and_Tips">Obsolete Build Caveats and Tips [en-US]</a> under the Windows SDK article.</p>
<h2 id="Troubleshooting">Troubleshooting</h2>
<h4 id="Help!_I_know_I_have_the_correct_SDK.2C_but_configure.in's_still_failing!"><strong>Help! I know I have the correct SDK, but configure.in's still failing!</strong></h4>
<p>Try the following things in order:</p>
<ol>
  <li>Run the Windows SDK Configuration Tool (if available) and make sure the right SDK is selected.</li>
  <li>Restart the msys console.</li>
  <li>Delete your entire object directory and start over.</li>
</ol>
Revert to this revision