PCSX2 Documentation/Compiling on Windows: Difference between revisions

Jump to navigation Jump to search
Line 191: Line 191:
===Configuring the SDK Library and Include Directories===  
===Configuring the SDK Library and Include Directories===  
Before PCSX2 will compile successfully, we need to ensure that all of the include, library, and header directories for the SDKs that we have installed are configured in our respective version of Visual Studio.
Before PCSX2 will compile successfully, we need to ensure that all of the include, library, and header directories for the SDKs that we have installed are configured in our respective version of Visual Studio.
====Microsoft Visual Studio 2008 Standard Edition====
#Navigate to your C:\Development\Project Source\PCSX2\ directory and double click on the pcsx2_suite_2008.sln Solution file. This will open Visual Studio 2008 and you will be presented with a screen that should look similar (it may not look exact) to the one here:
#To access the configuration that we need to change, we will need to open the Tools menu and select Options from it.
#Expand "Projects and Solutions" from the left-hand side and then select "VC++ Directories". This will bring up the dialog that allows you to modify the search paths for your VC++ solutions.
[[File:visualstudio2008config1.jpg | frameless]][[File:visualstudio2008config2.jpg | frameless]][[File:visualstudio2008config3.jpg | frameless]]
*Several changes need to be made here.
*Under the Win32 Platform, you need to add the following to Include files: ''If you installed GLEW elsewhere, reflect here''
<source lang="powershell">
$(DXSDK_DIR)\Include
$(ProgramFiles)\NVIDIA Corporation\Cg\include
C:\Development\Add-on Libraries\GLEW\include
</source>
Under the Win32 Platform, you need to add the following to Library files: ''If you installed GLEW elsewhere, reflect here''
<source lang="powershell">
$(DXSDK_DIR)\Lib\x86
$(ProgramFiles)\NVIDIA Corporation\Cg\lib
C:\Development\Add-on Libraries\GLEW\lib
</source>
Under the x64 Platform, I added the following for Library files: ''NVIDIA Directory only available or necessary if compiling on a 64-bit OS''
<source lang="powershell">
$(ProgramFiles)\NVIDIA Corporation\Cg\lib.x64
$(DXSDK_DIR)\Lib\x64
</source>
That should finish up all of the search directory modifications required for PCSX2 to build properly. Now on to the next step!


====Microsoft Visual C++ 2008 Express Edition====
====Microsoft Visual C++ 2008 Express Edition====