Preparing Windows
Last updated
Last updated
Building on windows is significantly more complex than building on macos or linux. This guide will walk you through preparing your Windows machine for building a Firefox fork. Before building, you should be aware that , but you might be able to get other versions to work.
The first thing you will need to do is install Microsoft's c++ build tools. You will need to download . The following will need to be installed:
In the Workloads tab
Desktop development with C++
In the Individual components tab
MSVC v143 - VS 2022 C++ x64/x86 build tools.
Windows 10 SDK (at least 10.0.19041.0).
C++ ATL for v143 build tools (x86 and x64).
Note: If this guide ever gets out of date, you can get the latest build requirements from
You will need to install . Next, . You will need to set the following specific options on install to ensure high performance:
Configuring the line ending conversions must be: Checkout as-is, commit as-is
Enable experimental built-in file system monitor
Install on your system. This should also install chocolatey. If it does not, . To install the final two dependencies, run:
You should be good to return back to the main
If you are creating binaries to target windows, you will need nsis (which mach calls makensisu
for some reason, even though the binary is makensis
):
Note that you will also have to provide a path to nsis on your system. For mine it is: