Dolphin, the GameCube and Wii emulator - Forums

Full Version: [r7248]_X86-X64_Compile Dolphin with VC++2010 Express
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
How to: Compile x64 Dolphin with VC++2010 Express

finally managed to compile with VC + 2010 Express

Works great
Thank you to tapek and godisgovernment

r7248_Win32
http://www.mediafire.com/?m1a69e8k535rb9j

r7248_Win64
http://www.mediafire.com/?il70zewp0we0i8n

other build
http://forums.dolphin-emu.org/showthread.php?tid=502
http://forums.dolphin-emu.org/showthread.php?tid=2176
http://forums.dolphin-emu.org/showthread.php?tid=13772

Download :
______________________________________________________
Microsoft® Visual Studio® 2010 Express
Download All - Offline Install ISO image file
http://www.microsoft.com/express/downloads/#2010-All

DirectX Software Development Kit
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=3021d52b-514e-41d3-ad02-438a3ba730ba

Microsoft Windows SDK for Windows 7 and .NET Framework 4 (ISO)
Version: 7.1
x86 ISO File Name:
http://download.microsoft.com/download/F/1/0/F10113F5-B750-4969-A255-274341AC6BCE/GRMSDK_EN_DVD.iso

x64 ISO File Name:
http://download.microsoft.com/download/F/1/0/F10113F5-B750-4969-A255-274341AC6BCE/GRMSDKX_EN_DVD.iso

Wiki Dolphin:
______________________________________________________
http://code.google.com/p/dolphin-emu/wiki/Windows_Build
You have to launch VS2010 from the x64 build environment.

Start Menu -> Windows SDK 7.1 -> Windows SDK 7.1 Command Prompt
Then run "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\VCExpress.exe" (or whatever/wherever your copy of VS is)
what? o_O
It sounds like you just need to run the windows sdk VS registration tool...then you won't have to launch VS all funny-like every time you want to use it...
should create a tutorial for VC 2010
like that of 2008 although this would
(02-12-2011, 07:54 AM)shuffle2 Wrote: [ -> ]what? o_O
It sounds like you just need to run the windows sdk VS registration tool...then you won't have to launch VS all funny-like every time you want to use it...

That tool only registers it for VS2008 for me.
r7173_Win64 Compile with VC++2010 Express
http://www.mediafire.com/?7lr4aqhsa2php7q
(02-12-2011, 07:01 AM)morka Wrote: [ -> ]finally managed to compile with VC + 2010 Express
Do not worry about

if there have an Error for x64
error LNK1181: cannot open input file 'iphlpapi.lib'\dolphin-emu\Source\Core\DolphinWX\LINK
add lib C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\x64

r7173_Win64 Compile with VC++2010 Express
http://www.mediafire.com/?7lr4aqhsa2php7q

what picture to include the lib, ect ..

Billiard26: This is not the proper way to configure your include/lib paths.

But VC + 2010 Express has made changes
I add the patch to these changes there have there any consequence in this change?

Not needed to add any include/lib directory. Change only Platform Toolset in General properties from v100 to Windows7.1SDK. All include/lib directories will be automaticaly set. You can also force Windows7.1SDK Platform as default for all x64 project by editing file:
Code:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.default.props
and change:

Code:
<PlatformToolset Condition="'$(PlatformToolset)' == ''">v100</PlatformToolset>

to

Code:
<PlatformToolset Condition="'$(PlatformToolset)' == ''">Windows7.1SDK</PlatformToolset>

You can do same for Win32 arch file.

Also using Windows 7.1 SDK Toolset overcome some Visual Studio 2010 RTM bugs, so I recommend to use it, even with professional or ultimate Visual Studio versions.
Thank you tapek
I'll give it a try
Works great and thank you to tapek

r7175_Win64 Compile with VC++2010 Express
http://www.mediafire.com/?f4bbqzvwe4d1xtg
FWIW: Here are the correct paths to add to VC++ Directories:

For Microsoft.Cpp.Win32.user
Executable Directories: $(DXSDK_DIR)Utilities\Bin\x86
Include Directories: $(DXSDK_DIR)Include
Library Directories: $(DXSDK_DIR)Lib\x86

For Microsoft.Cpp.x64.user
Executable Directories: $(DXSDK_DIR)Utilities\Bin\x64
Include Directories: $(DXSDK_DIR)Include
Library Directories: $(DXSDK_DIR)Lib\x64

You also should NOT have to:
Change PlatformToolset value
Launch VS2010 in a strange way
Edit the property sheet files manually

If you do those things...you're doin it rong.
Pages: 1 2 3 4 5