Firefox/Windows 8 Integration: Difference between revisions

Jump to navigation Jump to search
Line 106: Line 106:
=== Building Locally ===
=== Building Locally ===


Updated 10/31/2012
Updated 5/9/2013


* Install Visual Studio 2010 or 2012.
* Install Visual Studio 2010 or 2012.
Line 112: Line 112:
* Install the [http://msdn.microsoft.com/en-us/windows/desktop/hh852363.aspx Windows 8.0 SDK]
* Install the [http://msdn.microsoft.com/en-us/windows/desktop/hh852363.aspx Windows 8.0 SDK]
* Install [http://www.microsoft.com/en-us/download/confirmation.aspx?id=6812 DirectX SDK (June 2010)]
* Install [http://www.microsoft.com/en-us/download/confirmation.aspx?id=6812 DirectX SDK (June 2010)]
* If you are using an express version of VS, install [http://www.microsoft.com/en-us/download/details.aspx?id=11800 the windows driver toolkit] - Don't install WDK 8, version 7.1 is needed because it contains the necessary ATL headers that express VS lacks. Then, add the following to start-msvc*.bat file (assuming it was installed on "C:\WinDDK\7600.16385.1"):
* Install the latest Mozilla Build version 1.7
<pre>
* For VC 2010 builds:
set "INCLUDE=%INCLUDE%;C:\WinDDK\7600.16385.1\inc\atl71"
** Modify the the following header in the sdk:
set "LIB=%LIB%;C:\WinDDK\7600.16385.1\lib\ATL\i386"
</pre>
 
: For VS 2010/8.0 SDK builds, update to the latest start-msvc2010 batch script from [https://hg.mozilla.org/mozilla-build/summary mozilla-build repo].
: For VS2012 builds, use the current start-msvc2011 batch scripts distributed with MozillaBuild.
 
* For VC 2010 builds, modify the the following header in the sdk:
 
<pre>
<pre>
C:\Program Files (x86)\Windows Kits\8.0\Include\winrt\asyncinfo.h
C:\Program Files (x86)\Windows Kits\8.0\Include\winrt\asyncinfo.h
Line 133: Line 125:


enum /*class*/ AsyncStatus {
enum /*class*/ AsyncStatus {
</pre>
* For Express versions of VS:
** Install [http://www.microsoft.com/en-us/download/details.aspx?id=11800 the windows driver toolkit] - Don't install WDK 8, version 7.1 is needed because it contains the necessary ATL headers that express VS lacks.
** Add the following to start-msvc*.bat file (assuming it was installed on "C:\WinDDK\7600.16385.1"):
<pre>
set "INCLUDE=%INCLUDE%;C:\WinDDK\7600.16385.1\inc\atl71"
set "LIB=%LIB%;C:\WinDDK\7600.16385.1\lib\ATL\i386"
</pre>
</pre>


Confirmed users
1,982

edits

Navigation menu