Tip:
Highlight text to annotate it
X
In this video we're going to setup a fresh install of Windows
and prepare to build Firefox.
The only thing that I pre-installed on this computer, is Firefox itself.
So there's 3 things that you need to build Firefox.
You need a package called mozilla-build.
You need Visual Studio, and I'm going to use version 2012.
And you need the DirectX 2010 SDK.
So the first thing we're going to do is open up Firefox itself.
Go to the Google search box, and type: Windows build prerequisites MDN
And MDN stands for the Mozilla Developer Network and that's just a place where you can get a lot of good documentation.
So whenever you're looking for something Firefox development related, usually append to your query MDN.
So I'm just going to hit enter.
And the first result is what we're looking for: Windows build prerequisites
And I'm going to scroll down, and you're going to notice that you see Visual Studio 2010 is supported
and 2012 is supported, at the time of this recording, Visual Studio 2013 is released, but not yet supported.
So we're going to go with Visual Studio 2012.
2010 is the official build that we use for Firefox releases,
But I'm still going to recommend 2012 because it makes the setup a lot easier because we don't need an extra Windows 8 SDK to install.
So the first thing I'm going to do is look for the Mozilla Build package.
To do that I'm just going to search in this page for mozillabuild package and I'm going to click to download.
It's going to ask me to save it.
And this takes about a minute, so I'm just going to pause [the recording].
So I'm going to go click on mozilla build
Press Yes on the UAC prompt
And I'm just going to walk through this installer, [click] I agree.
I'm going to install to the default location which is c:\mozilla-build
Click yes.
And again it's going to take a bit so I'm going to pause again.
And it's just about done.
And it's installed, so I'm just going to hit close.
And that's it for the first thing: Mozilla Build.
The second thing is Visual Studio 2012.
Now it's a little bit tricky because Visual Studio 2013 is out,
and if you just type in Google to download Visual Studio 2012,
it's going to actually take you to the 2013 page which we don't want.
So I'm going to go to microsoft.com in a new tab.
And in the search box I'm going to type: Visual Studio 2012 express
and even Microsoft tries to give you 2013 but we don't want that.
So we're going to scroll down to Download Microsoft Visual Studio Express 2012 for Windows Desktop.
I'm going to click that,
and I'm going to start downloading.
And I'm just going to grab the ISO.
And I'm going to save it.
And this is going to take a while again, so I'm going to pause [the recording].
OK that's downloaded, so I'm going to go to the folder where that downloaded to.
And in Windows 8 you can just right click and you can say: "Mount".
If you're not using Windows 8, you can download a program like WinRAR and extract it first.
And then oyu'll see that wdexpress_full, we're just going to double click on that.
and it starts to install.
And we're just going to hit I agree, and click install.
Yes on the UAC prompt.
And we're just going to wait for a while again, pausing.
And it's done installing, so I can click launch.
And it'll start it up, but we don't actually need to use it right now.
Alright so we have 2 of the 3 things installed that we need.
The last thing that we need is the DirectX SDK.
So I'm just going to go back to this Windows build prerequisites tab.
And I'm going to search for DirectX
And you can see right here, it has a link directly to the link to the download.
So I'm going to click it, and then click download.
And save.
And again this will be six minutes, so I'm going to pause.
And we can see that it's downloaded, so I'm going to click to open it.
I'm going to hit Run.
Hit Yes on the UAC prompt.
And then just go through the installer clicking Next, I accept, Next,
Click no I would not like to participate, Next.
The default, install location is best so hit Next.
And Next again. And I'm just going to pause again because this is going to take a while.
Actually first it's going to ask you for .NET 3.5, so go ahead and download and install the feature.
Now .NET is installed, so I'm just going to close that.
And now then DirectX SDK is going to continue to install.
And that's the last thing we need, so in the future videos we're going to get the source code and build Firefox.
Subtitles by the Amara.org community