User Tools

Site Tools




Download and install the following:

  1. Visual Studio 2005. This can be either the Professional or Express versions (however I need to check if the Express version is usable, as the CRT source is needed to build jemalloc when compiling xulrunner)
    • Run Windows Update after installing to obtain the latest service pack.

SDKs: NOTE — Install these to a path without any spaces! (e.g. c:\SDKs)

    • Make sure to install the “Samples” as they are needed for DirectShow libraries.
    • You'll need to create an Apple Developer account to access the download. It is free to register and download.

Clone the Repo

Open a Git Bash shell, which can now be found in your Start Menu, and change to the directory where you'd like to clone the dependencies to. Run the following:

git clone -b xul-192-new

This may take awhile.

Setup & Configuration

Now that the repo is cloned, open C:\mozilla-build-1.8\start-msvc8.bat. DO NOT USE start-msvc8-x64.bat!

Change into the repo directory, and set up the packages from packages/win32 into another path with no spaces. I used c:\ng-deps.

After this has finished, close the terminal. Open C:\mozilla-build-1.8\start-msvc8.bat with a text editor (like Notepad++ or Sublime Text).

Scroll to the bottom and add the following:

set INCLUDE=%INCLUDE%;C:\WinDDK\7600.16385.1\inc\api;C:\WinDDK\7600.16385.1\inc\crt;C:\WinDDK\7600.16385.1\inc\atl71;c:\ng-deps\bison-2.4.1\include;c:\ng-deps\flex-2.5.33\include;c:\ng-deps\regex-0.12\include;%DXSDK_DIR%\include
set LIB=%LIB%;c:\WinDDK\7600.16385.1\lib\wxp\i386;c:\WinDDK\7600.16385.1\lib\Crt\i386;C:\WinDDK\7600.16385.1\lib\ATL\i386;c:\ng-deps\bison-2.4.1;c:\ng-deps\flex-2.5.33\lib;c:\ng-deps\regex-0.12\lib;%DXSDK_DIR%\lib
set PATH=%PATH%;c:\WinDDK\7600.16385.1\bin\x86\x86;c:\ng-deps\bison-2.4.1\bin;c:\ng-deps\flex-2.5.33\bin;c:\ng-deps\regex-0.12\bin;c:\ng-deps\binutils-2.24-1\bin;c:\ng-deps\pkg-config_0.28-1_win32\bin;c:\ng-deps\cmake-\bin

Immediately BEFORE the line:

"%MOZILLABUILD%\msys\bin\bash" --login -i

In a build script, in the dependencies repository, you'll need to make sure you have the following lines:

export QUICKTIME_SDK_ROOT="/c/SDKs/QuickTime-SDK"
export WINDOWS_SDK_ROOT="/c/SDKs/Windows-SDK/v6.0"
build/dependencies/xr192/windows.txt · Last modified: 2014/06/18 17:56 by johnmurrayvi