This post is outdated! AFAIK VS 2010 is not officially supported yet, you cannot compile PCSX2 successfully with it, thant's why I hadn't update this post to match VS2010 RTM. Using VS2008 SP1 instead for this moment, you'll have a successful build.
Download Visual Studio 2010 Professional RC
from M$ for free.
The only thing you need to install is Visual C++
with its x64 support.
The x64 support here is ONLY a dependency for a few projects including GSdx to be successfully converted from pcsx2_suite_2008.sln, because these projects have x64 thingy within them, or conversion failed to these projects without x64 support. On the other hand, it's a trick and doesn't indicate that you can build a 64-bit pcsx2.
Onto latest trunk wxGUI (r2591 for now)
Open pcsx2_suite_2008.sln with VS2010RC, Simply click Finish button when the Conversion Wizard prompt you.
You agree with it when you have been asked for overwriting something.
A few seconds passed by until Conversion Complete.
From my experiment to all plugins and pcsx2.exe, only 7 plugins can be compiled and worked like a charm:
(need workaround, see below), xpad
Others toss errors, the most common one is error MSB3073. I'm not a programmer so that I dunno how to deal with.
Workaround to SPU2-X
Go to folder X:\PCSX2_SVN_NEW_GUI\3rdparty\wxWidgets\src
, duplicate directory msw
and rename the counterpart to univ
. Or you'll encounter missing files.
The Nostalgia of Legacy/Old GUI (r2186)
You need the folder VCProjectDefaults
from VS2010 beta1, before you uninstall VS2010 beta 1, backup this folder at
C:\Program Files\Microsoft Visual Studio 10.0\VC\VCProjectDefaults
After installing VS2010 RC, restore backupped VCProjectDefaults
and overwrite the existing one.
Otherwise, the project of pcsx2 couldn't load due to the lack of masm files in folder VCProjectDefaults.
The folder VCProjectDefaults from VS2010 beta1, for guys have never been installed VS2010 beta1
(Size: 6,73 KB / Downloads: 485)
After opening pcsx2_suite_2010.sln, select a release of SSE first. Right click the pcsx2
project at the bottom of Solution Explorer, then select Properties
at bottom in contextual menu.
In the left tree you click Configuration Properties
then VC++ Directories
, add this line in front of other lines in Include Directories
at right pane. Otherwise the build will fail by losing svnrev.h
Wanna distribute the PCSX2 you compiled?
to the folder where pcsx2.exe
lives in. The two dll files are situated in
C:\Program Files\Microsoft Visual Studio 10.0\VC\redist\x86\Microsoft.VC100.CRT