PCSX2 Documentation/Compiling on Windows: Difference between revisions

Remove info about versions of VS before 2013
No edit summary
(Remove info about versions of VS before 2013)
Line 4: Line 4:
===Downloading the Prerequisites===
===Downloading the Prerequisites===
====Downloading build environment====
====Downloading build environment====
First you have to download a build environment. At this moment the recommended build environment is Visual Studio 2013 Express for Windows Desktop.  
First you have to download a build environment. Microsoft Visual Studio 2013 and 2015 are capable of compiling PCSX2. At this moment, the recommended build environment is Visual Studio 2013 Express for Windows Desktop.  
*[http://www.visualstudio.com/downloads/download-visual-studio-vs Visual Studio 2013 Express for Windows Desktop]
*[http://www.visualstudio.com/downloads/download-visual-studio-vs Visual Studio - Various Editions]
*[http://www.visualstudio.com/downloads/download-visual-studio-vs Visual Studio 2013 Ultimate]
 
*[http://www.visualstudio.com/downloads/download-visual-studio-vs Visual Studio 2013 Premium]
*[http://www.visualstudio.com/downloads/download-visual-studio-vs Visual Studio 2013 Professional]
*[http://www.visualstudio.com/downloads/download-visual-studio-vs Visual Studio 2013 Test Professional]
*[http://www.microsoft.com/en-us/download/details.aspx?id=34673 Visual Studio 2012 Express]
*[http://www.microsoft.com/en-us/download/details.aspx?id=30682 Visual Studio 2012 Professional]
*[http://www.visualstudio.com/downloads/download-visual-studio-vs Visual C++ 2010 Express]
*[http://www.visualstudio.com/downloads/download-visual-studio-vs Visual Studio 2010 Express All in One]
====Downloading additional prerequisites====
====Downloading additional prerequisites====
*[http://www.microsoft.com/en-us/download/details.aspx?id=6812 DirectX SDK (June 2010)]
*[http://www.microsoft.com/en-us/download/details.aspx?id=6812 DirectX SDK (June 2010)]
Line 22: Line 15:
A Visual C++ redistributable runtime matching the build environment major release (''Only needed if you're compiling the Installer''):
A Visual C++ redistributable runtime matching the build environment major release (''Only needed if you're compiling the Installer''):
*[http://www.microsoft.com/en-us/download/details.aspx?id=40784 Visual C++ Redistributable Packages for Visual Studio 2013]
*[http://www.microsoft.com/en-us/download/details.aspx?id=40784 Visual C++ Redistributable Packages for Visual Studio 2013]
*[http://www.microsoft.com/en-us/download/details.aspx?id=30679 Visual C++ Redistributable for Visual Studio 2012]
*[https://www.microsoft.com/en-us/download/details.aspx?id=48145 Visual C++ Redistributable Packages for Visual Studio 2015]
*[http://www.microsoft.com/en-us/download/details.aspx?id=26999 Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package]


===Installing Microsoft Visual Studio===
===Installing Microsoft Visual Studio===
''This section is severely obsolete. Bringing it up to date requires extended research in order to rebuild it from scratch''
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.
#Visual Studio will begin installing.
#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:
#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.


[[File:visualstudio1.jpg|frameless]]
At present, Microsoft Visual Studio 2013 and 2015 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 Professional. This guide will cover the installation and configuration of Visual Studio Express 2015 for Windows Desktop.
[[File:visualstudio2.jpg|frameless]]
[[File:visualstudio3.jpg|frameless]]
[[File:visualstudio4.jpg|frameless]]
[[File:visualstudio5.jpg|frameless]]
[[File:visualstudio6.jpg|frameless]]


====Installing Microsoft Visual Studio 2008 Express Edition====
====Installing Visual Studio Express 2015 for Windows Desktop====
Download the Visual C++ 2008 Express Edition Installer from the link above. Run it, and click next at the Welcome Screen (shown below).
Download Visual Studio Express 2015 for Windows Desktop installer from the link above, and run it.


#Accept the EULA. It's your choice whether or not you allow it to display online and RSS content, it doesn't make a difference to the compiling of PCSX2.
#I recommend keeping the default installation location. Click Install.
#You do not need Microsoft SQL Server 2008 Express Edition in order to compile PCSX2, however, if you are doing development in any other capacity that requires a local SQL Database, you may choose to install this component.
I# recommend keeping the default installation location. Click Next.
#The components will be downloaded to your computer.
#The components will be downloaded to your computer.
#Once done downloading, they will then be installed.
#Once done downloading, they will then be installed.
#Once the installation has finished, you will see the following screen.
#Once the installation has finished, you will see the following screen.
#Click Finish and the installer will close. Now that Visual C++ is installed, your system needs a few patches in order to remain current. Visiting Windows Update with Microsoft Update enabled shows the following:
#Click Restart Now
#Download and install the updates, and then skip past Installing Visual Studio 2010 Professional and continue with the SDK installations.
 
[[File:visualstudio2008-1.jpg|frameless]]
[[File:visualstudio2008-2.jpg|frameless]]
[[File:visualstudio2008-3.jpg|frameless]]
[[File:visualstudio2008-4.jpg|frameless]]
[[File:visualstudio2008-5.jpg|frameless]]
[[File:visualstudio2008-6.jpg|frameless]]
[[File:visualstudio2008-7.jpg|frameless]]
[[File:visualstudio2008-8.jpg|frameless]]
 
 
====Installing Microsoft Visual Studio 2010 Professional (Beta 1)====
''NOTE: Visual Studio 2010 is not presently a supported build environment for PCSX2. The instructions and configuration information below are provided sheerly for completeness's sake as Visual Studio 2010 will ultimately be a supported build platform, and this information will be updated as it nears completion and release. It is not recommended that you attempt to build PCSX2 with Visual Studio 2010 at this time.''
 
#Download the Visual Studio 2010 Professional Web Installer from the link above. Run it, and click next at the Welcome Screen (shown below). Yes, it will have the Visual Studio Team System logo even though you downloaded Visual Studio 2010 Professional and the titlebar and actual text say so. Don't ask me. Ask Microsoft.
#Accept the EULA and enter your Product Key, then hit Next.
#The .NET Development Environment is NOT required in order to configure PCSX2, but you can choose to install it if you plan on doing .NET Development. I recommend installing Visual Studio in the default location to ensure there are no problems later on.
#Visual Studio's installer will begin downloading the installation components.
#Once it has finished downloading the components, it will begin installing them.
#Soon after beginning the installation, I was prompted to reboot in order to continue.
#After I rebooted and logged on, I got the following at system startup:
#The installer then launched and continued installing where it had left off.
#After that finishes, you should be presented with the following screen:
#Click finish and the installer will close. Now that Visual Studio is installed, your machine needs several more patches in order to be current. Visit Windows Update with Microsoft Update enabled and you'll be presented with the following updates
#The SQL Server update isn't required for PCSX2, but is recommended in general to keep your machine as up-to-date as possible. After the updates have installed, Visual Studio 2010 Professional is now installed on your computer. Go ahead on to the next step.


[[File:visualstudio2010-1.jpg | frameless]]
[[File:Vs-express-2015-0.png|frameless]]
[[File:visualstudio2010-2.jpg | frameless]]
[[File:Vs-express-2015-1.png|frameless]]
[[File:visualstudio2010-3.jpg | frameless]]
[[File:Vs-express-2015-2.png|frameless]]
[[File:visualstudio2010-4.jpg | frameless]]
[[File:visualstudio2010-5.jpg | frameless]]
[[File:visualstudio2010-6.jpg | frameless]]
[[File:visualstudio2010-7.jpg | frameless]]
[[File:visualstudio2010-8.jpg | frameless]]
[[File:visualstudio2010-9.jpg | frameless]]
[[File:visualstudio2010-10.jpg | frameless]]
[[File:visualstudio2010-11.jpg | frameless]]


===Installing SDKs===
===Installing SDKs===
ninja
31

edits