PCSX2 Documentation/Compiling on Windows: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 20: Line 20:
*[http://nsis.sourceforge.net/Download Nullsoft Install System (Optional)] ''Only needed if you're compiling the Installer''
*[http://nsis.sourceforge.net/Download Nullsoft Install System (Optional)] ''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''
*[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]
*[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]
*[http://www.microsoft.com/en-us/download/details.aspx?id=30679 Visual C++ Redistributable for Visual Studio 2012]
Line 94: Line 94:


===Installing SDKs===
===Installing SDKs===
The PCSX2 codebase makes use of several freely available SDKs that must be downloaded and installed in order to successfully compile PCSX2. If you are intending to compile the PCSX2 plugins as well, you will need additional SDKs. Each of the requisite SDKs is listed below.
Recent revisions of PCSX2 only require DirectX SDK to compile successfully. OpenGL Extension Wrangler library becoming redistributable allowed its integration into the codebase. nVidia CG Toolkit, now defunct, its functionality has been replaced by other libraries which are now part of build environmemt.
====DirectX SDK====
====DirectX SDK====
DirectX SDK installer is a problematic peace of software as installers that drop unsolicited software on target machine behind user's back are nothing good mainly due to 2 reasons:
#the unsolicited software eats system resources, this is even more unpleasant if that software is never used;
#in these days when IT security threats are at large any unsolicited software is equivalent to a collection of security holes.
Experimented with this installer on a [http://en.wikipedia.org/wiki/Virtual_machine virtual machine] and discovered it installs the following components without consent:
*.NET Framework v2.0
*Visual C++ 2008 Redistributable runtimes
*Visual C++ 2010 Redistributable runtimes
None of these software products are any more supported by Microsoft, meaning no more security patches and none of these are needed to build PCSX2. Bellow are described 2 ways of installing DirectX SDK, one secure and minimalist and another easier but dirty and insecure.
=====Secure and minimalist installation=====     
=====Standard (dirty and insecure installation=====
#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.
#You will be prompted to join the Windows Customer Experience Improvement Program. I chose not to, but the decision is yours to make. It won't impact anything you'll be doing with the software.
#You will be prompted to join the Windows Customer Experience Improvement Program. I chose not to, but the decision is yours to make. It won't impact anything you'll be doing with the software.
#You will then be prompted for a destination folder, I recommend choosing the default to make life easier later on.
#You will then be prompted for a destination folder, I recommend choosing the default to make life easier later on.
#You will be prompted with a list of components. The default selection will suffice for building PCSX2, so go ahead and click Next.
#You will be prompted with a list of components.Only headers and libs are needed to build PCSCX2, the rest are entirely subject to your choice if you need them. Then go ahead and click Next.
#The DirectX SDK will then begin installing.
#The DirectX SDK will then begin installing.
#You should then be presented with this screen.
#You should then be presented with this screen.
ninja
34

edits