PCSX2 Documentation/Compiling on Windows: Difference between revisions
PCSX2 Documentation/Compiling on Windows (view source)
Revision as of 15:35, 13 January 2015
, 13 January 2015→Microsoft Visual C++ 2008 Express Edition
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: | ||
<source lang="powershell"> | |||
$(ProgramFiles)\Microsoft Platform SDK for Windows Server 2003 R2\include\mfc</ | $(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: | ||
<source lang="cpp"> | |||
#pragma comment(lib, "atlthunk.lib") | |||
</source> | |||
Comment this out, so that it reads: | Comment this out, so that it reads: | ||
<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. |