PCSX2 Documentation/Compiling on Windows: Difference between revisions

no edit summary
m (add arg to git clone example to automate fetching of xz submodule)
No edit summary
Line 4: Line 4:
===Downloading the Prerequisites===
===Downloading the Prerequisites===
====Downloading build environment====
====Downloading build environment====
First you have to download a build environment. Microsoft Visual Studio 2013 and 2015 are capable of compiling PCSX2. At this time, the recommended build environment is Visual Studio 2015 Community, as Express does not support the ATL libraries used by GSdx (issue 970[https://github.com/PCSX2/pcsx2/issues/970]).
First you have to download a build environment. Microsoft Visual Studio 2015 and 2017 are capable of compiling PCSX2. At this time, the recommended build environment is Visual Studio 2015 Community, as Express does not support the ATL libraries used by GSdx (issue 970[https://github.com/PCSX2/pcsx2/issues/970]).
*[http://www.visualstudio.com/downloads/download-visual-studio-vs Visual Studio 2015 - Various Editions]
*[http://www.visualstudio.com/downloads/download-visual-studio-vs Visual Studio 2015 - Various Editions]


Line 14: Line 14:
*[http://nsis.sourceforge.net/Advanced_Uninstall_Log_NSIS_Header NSIS Advanced Uninstall Header] ''Only needed if you're compiling the Installer''
*[http://nsis.sourceforge.net/Advanced_Uninstall_Log_NSIS_Header NSIS Advanced Uninstall Header] ''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''):
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]
*[https://www.microsoft.com/en-us/download/details.aspx?id=48145 Visual C++ Redistributable Packages for Visual Studio 2015]
*[https://www.microsoft.com/en-us/download/details.aspx?id=48145 Visual C++ Redistributable Packages for Visual Studio 2015]
*[https://go.microsoft.com/fwlink/?LinkId=746571 Visual C++ Redistributable Packages for Visual Studio 2017]


===Installing Microsoft Visual Studio===
===Installing Microsoft Visual Studio===


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 2015 Community and Visual Studio 2015 Express for Windows Desktop.
Microsoft Visual Studio 2015 and 2017 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 2015 Community and Visual Studio 2015 Express for Windows Desktop.


====Installing Visual Studio Community 2015====
====Installing Visual Studio Community 2015====
Line 124: Line 124:


=====Standard (dirty and insecure installation)=====
=====Standard (dirty and insecure installation)=====
#Remove any previous installations of "Microsoft Visual C++ 2010 Redistributable Packages". This is important otherwise the installation may fail.
#Download the Web Installer from the link above. Run it, and click next at the Welcome Screen (shown below.)
#Download the Web Installer from the link above. Run it, and click next at the Welcome Screen (shown below.)
#Accept the EULA as shown.
#Accept the EULA as shown.