PCSX2 Documentation/Compiling on Windows: Difference between revisions

Line 97: Line 97:
====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:
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 any of those unsolicited software is never used;
#the unsolicited software eats system resources, this is even more unpleasant if any of these unsolicited peaces of 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.
#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:
Experimented with this installer on a [http://en.wikipedia.org/wiki/Virtual_machine virtual machine] and discovered it installs the following components without consent:
Line 104: Line 104:
*Visual C++ 2010 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 minimal and another easier but dirty and insecure.
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 minimal and another easier but dirty and insecure.
=====Secure and minimal installation=====      
=====Secure and minimal installation=====
#Download the DirectX SDK Web Installer and 7-zip;
#Install 7-zip with default settings, the installer in executable format it's by far the easiest to use and has minimum system footprint;
#Open 7-zip and navigate to folder where you downloaded DirectX SDK installer;
#Right click on the installer and Select 7-Zip - Open Inside, this opens the installer as an archive;
#Extract Lib and Include to a folder that will host DirectX SDK. If that folder doesn't exist it's going to be created;
#Set DirectX SDK environment variable (DXSDK_DIR).
======Setting DirectX SDK environment variable======       
=====Standard (dirty and insecure 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.)
ninja
34

edits