PCSX2 Documentation/Compiling on Windows: Difference between revisions

Line 185: Line 185:
#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.
#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:visualstudio2008expressconfig.jpg | frameless]]
[[File:visualstudio2008expressconfig.jpg | frameless]]
#Under the Win32 Platform, you need to add the following to Include files:
#Under the Win32 Platform, you need to add the following to Include files:
<nowiki>$(ProgramFiles)\Microsoft Platform SDK for Windows Server 2003 R2\include\atl
<source lang="powershell">
$(ProgramFiles)\Microsoft Platform SDK for Windows Server 2003 R2\include\mfc</nowiki>
$(ProgramFiles)\Microsoft Platform SDK for Windows Server 2003 R2\include\atl
$(ProgramFiles)\Microsoft Platform SDK for Windows Server 2003 R2\include\mfc
</source>
Next up is to get around a limitation regarding the compiling 32-bit ATL / MFC solutions in the Express editions of VS.
Next up is to get around a limitation regarding the compiling 32-bit ATL / MFC solutions in the Express editions of VS.
Open the file C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\atl\atlbase.h in a text editor and search for the following text:
Open the file C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\atl\atlbase.h in a text editor and search for the following text:
  #pragma comment(lib, "atlthunk.lib")
<source lang="cpp">
#pragma comment(lib, "atlthunk.lib")
</source>
Comment this out, so that it reads:
Comment this out, so that it reads:
  // #pragma comment(lib, "atlthunk.lib")
<source lang="cpp">
#pragma comment(lib, "atlthunk.lib")
</source>
Save the file and exit your text editor.
Save the file and exit your text editor.
Once you have done this, you should be able to continue on to the next steps.
Once you have done this, you should be able to continue on to the next steps.
ninja
782

edits