Dolphin, the GameCube and Wii emulator - Forums

Full Version: How to: Compile x64 Dolphin with VC++2008 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 6 7 8 9 10 11
Thanks for the guide Big Grin

The only annoying thing is that I have to rebuild all when I change from plattaforms Tongue
my problems are solved. i didn't know you have to build other solutions before the dolphin one.
thanks for the no solution folders patch as well.
Alright, got everything setup exactly as the guide shows, went to build and got 1 error, double checked and everything is -definitely- setup as the guide shows:


Code:
16>------ Build started: Project: Core, Configuration: Release x64 ------
[-snip-]
11>LINK : fatal error LNK1181: cannot open input file 'wxmsw28u_core.lib'

I've looked at the No Solution Folders patch, and the DolphinNoExternals.sln it would modify does not exist, nor is there any Externals.sln

Any ideas?

EDIT: I rebuilt just the 4 wx projects under Release Win32, and found the file I was looking for, so I copied all of the wx* libs out of the svn tree and into the following folder:

C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\lib

Then I did rebuild solution on the whole thing and it worked. So then I changed it to Release x64 and repeated the steps, except that I put the wx* libs into the following folder:

C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\lib\amd64

That got the x64 release to build as well.

So quick rundown until the Build Order is fixed (I looked at it but don't know what I'm doing with it bc I'm only familiar with linux coding really), here's what to do:

-Find the green arrow and set to whichever release you want to run, Win32, or x64.
-Select all 4 of the wx* projects toward the bottom of the Solution Explorer.
-Right click and hit Rebuild Selection.
-Go to (DolphinSVNdir)\Externals\wxWidgets\lib\vc_lib
-Go into either Win32 or x64 directory, depending on which build you are making
-Copy all *.lib files from there
-Go to (VCExpressInstallDir)\lib
-If building for x64, go into amd64 directory, else stay in lib directory
-Paste *.lib files copied from before
-Go back to VC++ Express and right click Solution 'Dolphin' and hit Rebuild Solution

Once done, make sure you remember to remove the wx*.lib files from the (VCExpressInstalldir)\lib and (VCExpressInstalldir)\lib\amd64 to prevent conflicts in the future.

One last edit: The build order has been fixed. It was a problem with quad core CPU's and parallel compiles.
I've got a stupid error list, lawl :p.

I have Windows XP 32 Bit, but when I try to compile with Visual C++ Express I only get errors, can someone tell me what the settings are? :o.
I'm totally clueless now Sad.

EDIT: I got tripple boot:
1. Windows XP (32 Bit).
2. Windows Vista Ultimate (64 Bit).
3. Windows 7 (64 Bit).

U guys know whats the best? (I get more FPS in 7 btw :p).
Are you sure you installed and set up the proper SDK's? (windows and directx*latest*)
(06-28-2009, 07:05 PM)CacoFFF Wrote: [ -> ]The compiler module for x64 platform has been registered, but it will not work, because the SDK installer gave us a 64bit dll, and our VC+++ 2008 is a 32 bit app.
Go to Windows SDK ISO, folder \Setup, open vc_stdx86.cab.
Copy/Extract [color=#696969]FL_VCProjectAMD64Platform_dll_76113_76113_x86_ln.3643236F_FC70_11D3_A536_0090278A1BB8[/color] to a temporary folder, rename this file to [color=#696969]VCProjectAMD64Platform.dll[/color]
Go again to [color=#2F4F4F]*drive*:\*Program Files Folder*\Microsoft Visual Studio 9.0\VC\vcpackages[/color], replace the old, 64bit VCProjectAMD64Platform.dll for the one we just extracted.
How I do that If I used the web installer Smile ??

I had to download the full SDK xD
(06-28-2009, 07:05 PM)CacoFFF Wrote: [ -> ]For Win x64 users:
Sorry, but you are going to have to download the full SDK + .NET ISO file (1.3gb). Not gonna explain, if you want it to work, you'll do it.

So for Vista, use the full ISO. Since you already have it, might as well use it for all 3 os.. Why do you run 3 anyways? XP and 7 should be enough to do whatever..... Undecided
(10-29-2009, 11:24 AM)Speeddymon Wrote: [ -> ]
(06-28-2009, 07:05 PM)CacoFFF Wrote: [ -> ]For Win x64 users:
Sorry, but you are going to have to download the full SDK + .NET ISO file (1.3gb). Not gonna explain, if you want it to work, you'll do it.

So for Vista, use the full ISO. Since you already have it, might as well use it for all 3 os.. Why do you run 3 anyways? XP and 7 should be enough to do whatever..... Undecided
and for every os the full ISO because you need this Tongue
(06-28-2009, 07:05 PM)CacoFFF Wrote: [ -> ]The compiler module for x64 platform has been registered, but it will not work, because the SDK installer gave us a 64bit dll, and our VC+++ 2008 is a 32 bit app.
Go to Windows SDK ISO, folder \Setup, open vc_stdx86.cab.
Copy/Extract [color=#696969]FL_VCProjectAMD64Platform_dll_76113_76113_x86_ln.3643236F_FC70_11D3_A536_0090278A1BB8[/color] to a temporary folder, rename this file to [color=#696969]VCProjectAMD64Platform.dll[/color]
Go again to [color=#2F4F4F]*drive*:\*Program Files Folder*\Microsoft Visual Studio 9.0\VC\vcpackages[/color], replace the old, 64bit VCProjectAMD64Platform.dll for the one we just extracted.

pettersean

i just try this last time, Im so happy it works to me..


___________________________
Letterhead printing
Is there any reason I should be doing "Rebuild" instead of just "Build" everytime? I've had no problem just using Build for my revisions.
I know Rebuild completely redoes all the code, instead of just checking for changes like Build does. So if I should do Rebuild each time, would I be safe doing Rebuild for my 64bit and 32bit builds, then afterwards save time by just doing Build for the JITIL versions?

In other words, do I need to waste my time waiting for a Rebuild or can I just do Build and be safe?
Pages: 1 2 3 4 5 6 7 8 9 10 11