PCSX2 Documentation/Compiling on Windows: Difference between revisions

no edit summary
(Created page with "1. Setting up the Build Environment In order to compile PCSX2 you will need to configure a working build environment based on Microsoft's Visual Studio. There are a lot of thi...")
 
No edit summary
Line 1: Line 1:
1. Setting up the Build Environment
==Setting up the Build Environment==
In order to compile PCSX2 you will need to configure a working build environment based on Microsoft's Visual Studio. There are a lot of things to download, so I've placed links to them at the front of the guide so you can get everything you'll need as the first step.
In order to compile PCSX2 you will need to configure a working build environment based on Microsoft's Visual Studio. There are a lot of things to download, so I've placed links to them at the front of the guide so you can get everything you'll need as the first step.


Downloading the Prerequisites You know the drill -- download all of these. You have your choice between Visual Studio 2008, Visual C++ 2008 Express and Visual Studio 2010 Professional, but at present Visual Studio 2010 is not an officially supported build environment so users are discouraged from electing to use it to compile PCSX2 (more detail provided below).
===Downloading the Prerequisites===
Visual Studio 2008
You know the drill -- download all of these. You have your choice between Visual Studio 2008, Visual C++ 2008 Express and Visual Studio 2010 Professional, but at present Visual Studio 2010 is not an officially supported build environment so users are discouraged from electing to use it to compile PCSX2 (more detail provided below).
Visual C++ 2008 Express Edition
*Visual Studio 2008
Visual Studio 2010 Professional (Beta 1)
*Visual C++ 2008 Express Edition
Windows Server 2003 R2 SDK* Only needed if you're compiling with Visual C++ 2008 Express Edition
*Visual Studio 2010 Professional (Beta 1)
DirectX SDK (August 2009)
*Windows Server 2003 R2 SDK* Only needed if you're compiling with Visual C++ 2008 Express Edition
TortoiseSVN* Recommended but not required - though you will need an SVN client
*DirectX SDK (August 2009)
OpenGL Extension Wrangler* Only needed if you're compiling plugins as well
*TortoiseSVN* Recommended but not required - though you will need an SVN client
nVidia's CG Toolkit* Only needed if you're compiling plugins as well
*OpenGL Extension Wrangler* Only needed if you're compiling plugins as well
Nullsoft Install System (Optional)* Only needed if you're compiling the Installer
*nVidia's CG Toolkit* Only needed if you're compiling plugins as well
NSIS Advanced Uninstall Header* Only needed if you're compiling the Installer
*Nullsoft Install System (Optional)* Only needed if you're compiling the Installer
Visual C++ 2008 SP1 Redistributable* Only needed if you're compiling the Installer
*NSIS Advanced Uninstall Header* Only needed if you're compiling the Installer
Installing Microsoft Visual Studio At present, there are three versions of Microsoft Visual Studio that are capable of compiling PCSX2. Depending on whether or not you develop professionally, as well as other factors, you may or may not have access to a copy of Microsoft Visual Studio 2008 Standard. To ensure the widest applicable audience, this guide will cover the installation and configuration of all three of these versions. Note, however, that it is only required for you to install one of them!
*Visual C++ 2008 SP1 Redistributable* Only needed if you're compiling the Installer
Installing Microsoft Visual Studio 2008 Standard Edition
 
Insert your Visual Studio 2008 Standard CD (or download the Trial from the link above). Run setup and click next at the Welcome Screen (shown below). It's your choice as to sending information about the setup experience to Microsoft.
===Installing Microsoft Visual Studio===
Accept the terms of the EULA and enter your product key.
At present, there are three versions of Microsoft Visual Studio that are capable of compiling PCSX2. Depending on whether or not you develop professionally, as well as other factors, you may or may not have access to a copy of Microsoft Visual Studio 2008 Standard. To ensure the widest applicable audience, this guide will cover the installation and configuration of all three of these versions. Note, however, that it is only required for you to install one of them!
 
====Installing Microsoft Visual Studio 2008 Standard Edition====
#Insert your Visual Studio 2008 Standard CD (or download the Trial from the link above). Run setup and click next at the Welcome Screen (shown below). It's your choice as to sending information about the setup experience to Microsoft.
#Accept the terms of the EULA and enter your product key.
The Visual Web Developer and Visual Basic features are not required in order to compile PCSX2, however, if you program in any of these languages, you may elect to install them and it will not cause any problems. Make sure to install Visual C++. I recommend keeping the default installation paths.
The Visual Web Developer and Visual Basic features are not required in order to compile PCSX2, however, if you program in any of these languages, you may elect to install them and it will not cause any problems. Make sure to install Visual C++. I recommend keeping the default installation paths.
Visual Studio will begin installing.
#Visual Studio will begin installing.
Once setup is complete, you will be presented with the following screen. Click Finish.
#Once setup is complete, you will be presented with the following screen. Click Finish.
Now that Visual Studio is installed, your system needs a few patches in order to be current. Visiting Windows Update with Microsoft Update enabled shows the following:
#Now that Visual Studio is installed, your system needs a few patches in order to be current. Visiting Windows Update with Microsoft Update enabled shows the following:
Install all of the updates and then Visual Studio 2008 is ready to go. Skip the Visual C++ 2008 Express and Visual Studio 2010 Professional sections and continue below with Installing SDKs.
#Install all of the updates and then Visual Studio 2008 is ready to go. Skip the Visual C++ 2008 Express and Visual Studio 2010 Professional sections and continue below with Installing SDKs.
1 2 3 4 5 6
1 2 3 4 5 6
Installing Microsoft Visual C++ 2008 Express Edition
Installing Microsoft Visual C++ 2008 Express Edition
ninja
782

edits