My favorites | Sign in
Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
                
Search
for
Updated Sep 28, 2009 by marc...@cox.net
Labels: Build
WindowsBuild  
How to do SVN builds in Windows.

How to build Dolphin in Windows

Requirements

  • TortoiseSVN, 32 or 64 bit, the right version for your Windows install. (download)

Instructions

1. Once you have everything installed, create a new folder somewhere on your computer, we'll call the folder "dolphin-emu-read-only" for this example.

2. Right-click on dolphin-emu-read-only and select svn checkout. For URL of repository enter http://dolphin-emu.googlecode.com/svn/trunk/

3. Click OK, wait for the source to download.

4. Open dolphin-emu-read-only\Source\Dolphin.sln

5. Once the project is loaded go to Tools > Options > Projects > VC++ Directories.Make sure that the includes and libraries paths ("Include files" and "Library files" in the "show directories for" dropdown) exist. If the answer is no, go to Path Fixing below. Otherwise, go to step 6.

6. Select Release and x64 if on a 64-bit platform, and right click on "Solution 'Dolphin'" and choose Build Solution.

When you want to update to the latest SVN, just right click the dolphin-emu-read-only folder and choose SVN Update, and build the solution again.

Path fixing

- Change the directory list to executables and add your direct X SDK folder to the list (default is C:\Program Files\Microsoft DirectX SDK (August 2009)\Utilities\bin\x86 or x64)
- Change the directory list to includes and add the include directory (default is C:\Program Files\Microsoft DirectX SDK (August 2009)\Include)
- Change the directory list to library and add the library folder there (default is C:\Program Files\Microsoft DirectX SDK (August 2009)\Lib\->x86 or x64<-)
- Click ok and go to step 6.

Comment by godisgovernment, Jul 31, 2008

Visual Studio 2008 Express Edition download page: http://www.microsoft.com/express/download/default.aspx

Comment by indioortu, Aug 03, 2008

no entinedo un carajo

Comment by nirris, Aug 05, 2008

yo tampoco entiendo... :S alguien puede explicarlo en algún idioma terrestre?? Gracias

Comment by Kronox.i, Aug 05, 2008

Instala Visual Studio 2005/-2008 Utiliza Tortoise SVN para descargar las revisiones a tu PC Para utilizar Tortoise lo que se debe hacer es ir a una carpeta de exploradaor de windows (con el programa previamente instalado) y apretar "archivo ---> Tortoise SVN --> Importar y colocar "http://dolphin-emu.googlecode.com/svn/trunk/" sin las comillas poner el numero de revision que se desee descargar y proceder a descargar

Para compilar

Se debe tener las librerias SDK de microsoft instaladas y bien linkeadas a tu proyecto


Now in ENGRISH! xD

First Download Tortoise SVN (32bit or 64bit depends on your OS) Tortoise SVN is not a stand-alone application it runs using Windows explorer

To download a revision

-Open a Windows Explorer sesion -Press file --> Tortoise SVN --> Import -In the Addres box put "http://dolphin-emu.googlecode.com/svn/trunk/" without the " " -Then imput the revision number you want to download. don't forget to Specify the destination folder

To compile you need Visual Studio 2005/-2008 Make sure you have the latest Microsoft SDK installed and your libraries are linked properly to the project

Comment by oskaroh, Aug 15, 2008

Press file --> Tortoise SVN --> Checkout (was what worked for me ;)

Comment by whitetig...@comcast.net, Aug 28, 2008

I cant get it to work! I download all those files and im trying to use visual c++ 2008 express and I get the "Cannot find the file specified" error! Help!

Comment by fournier...@yahoo.com, Sep 11, 2008

ya theres a password on it

Comment by ralphkleinveld, Sep 15, 2008

witch one of Visual studio 2008 you need?

Comment by epistor00, Sep 21, 2008

"Microsoft SDK" QUE ES EXACTAMENTE ME DICE QUE ES ALGO DEL SERVER???? LO INSTALO DE TODAS FORMAS AYUDENME

Comment by chrivapr...@second-try.com, Oct 07, 2008

Thank you, Guys. =) I kinda got tired of converting the project to MVS 2008 each and every time i checked out a new release. (I had to remove the older one every time you made changes to the project file since it was converted from MVS 2005 to 2008)

Comment by aevilman, Oct 21, 2008

alguien sabe cual es el password y lacontraseña para bajar el source, ya que quiero compilarlo y a si poder tenerlo actualizado.

Comment by deathkni...@aim.com, Nov 02, 2008

Seems like it can't be compiled in VC2008 Express, apparently can't use ATL.

Comment by powerdrummer, Nov 09, 2008

Fails when trying to compile on VC2008 Express. Log file points to afxres.h. Looks like it can't be loaded.

Comment by superempra, Nov 11, 2008

Why this won't compile in VC 2008 Express? It will NOT compile in VC 2008 Express edition. It will not work.

Comment by lpfaint99, Nov 11, 2008

Visual C++ 2008 Express does not include ALTMFC libraries, you will not be able to compile Plugin_VideoDX9, Plugin_DSP_HLE, Plugin_DSP_LLE, or DolphinWX. If you have another version of visual studio that has the altmfc libraries you can compile with VC++ Express

Comment by amandel12, Nov 14, 2008

so there is no way to compile the whole thing with visual studio express 2008?

Comment by amandel12, Nov 14, 2008

At the top it says you can use visual studio express but the only thing that wouldnt work is a useless plugin?

Comment by retrojogos, Nov 16, 2008

it says it MAY work, but it doesn't and I've not been able to compile it using VC2008 (Full not EE)

Comment by master...@hotmail.com, Nov 17, 2008

i get loads of errors when rebuilding the full project with microsoft visual studio 2008(FULL) i can only see the binary with a plugins map and no dolphinwx and such. what do i do wrong????? and can someone tell me if i even am using the right one??? and if not wich one should i buy/use???

Comment by master...@hotmail.com, Nov 17, 2008

oh and its visual studio 2008 professional edition plz help because i want to have the latest versions. the sites dont really keep up with the vast going SVN's so i want to compile it myself. the instructions on how to compile and what would be the result and what i need to do with it arent clear

plzzzz i beg someone to help me. i will reward him with a special dolphin trick for mario galaxy, to show hidden textures, (witch i will show on the ngemu forums later) and even free payd programs, (legally bought) (not the one on ngemu) (i am the first one)

Comment by asdolf, Nov 18, 2008

you must go under options...then you must include the include and the library files from directX SDK !!

Comment by master...@hotmail.com, Nov 18, 2008

asdolf thanks for the help,but i dont understand what you mean. i am still an extreme noob at visual basic. ok i can find the options and then what??? what do i need to click??????? plz help sdolf i would be so thankfull. and the trick for mario galaxy is a hidden settings trick. i am working on the screenshots and video so i can clearly show and prove it-

Comment by master...@hotmail.com, Nov 19, 2008

Someone plz help i still dont know how to compile the source with visual studio 2008 if i press rebuild and look at the result, i only get binary map with only the plugins map in it?!

asdolf plz explain what you mean, i dont understand, since i am a noob with visual studio 2008, i can find the options but then what???

Comment by Andrew3651, Nov 25, 2008

when i try to donwload it, it asks for a username and password could someone tellme what they are

Comment by amandel12, Nov 26, 2008

For those of you who are having problems where some of the parts fail when you go to rebuild it. You most likely do not have the DirectX SDK directories in the include paths in visual studio. Here is what to do. First go to Tools at the top of the screen, then click on options. On the left pane there is a category named "Projects and Solutions" click the arrow next to it and then select the sub-category titled "VC++ Directories". Then on the left side you should see 2 drop down boxes above the paths. Click the one on the right named "Show Directories For:" and select executable files first and add C:\Program Files\Microsoft DirectX SDK (November 2008)\Utilities\Bin\x86 Then under theh drop down box select "include files" enter C:\Program Files\Microsoft DirectX SDK (November 2008)\Include Then, in the drop down box select "Library Files" enter C:\Program Files\Microsoft DirectX SDK (November 2008)\Lib\x86

Then close visual studio re-open it and select the dolphin solution and make sure at the top of the screen next to the play looking button where it has 2 drop downs it says release instead of debug and win32 next to it. Then in the left pane the "solution explorer" right click on "solution 'Dolphin' (# projects)" and select rebuild solution. After this is done go back to your explorer window and go to the directory you downloaded all the svn files to and go to ..\Binary\Win32 and there you have your new dolphin build.

Comment by master...@hotmail.com, Nov 26, 2008

Thanks amandel12! it worked =D I owe you one . if i could something in return then just tell please ;)

Comment by master...@hotmail.com, Nov 26, 2008

but one question whats the difference with the debug mode? i know one difference without debug mode the compiling go's faster but what else? just question, you dont need to answer it if you dont want to :D

Comment by master...@hotmail.com, Nov 26, 2008

aw. it only gave me less errors amandel12 it didnt work. still only getting the plugins folder in the binary map :( someone plz help

Comment by superempra, Nov 26, 2008

Yes it worked! Just follow his instructions. When i first tried it, it didn't work, it only gave 2 less errors. But then i checked the options again and i found out i had done it wrong.

Comment by master...@hotmail.com, Nov 27, 2008

..... sorry for bothering again but well i indeed did wrong but since i now corrected it. i get more plugins in the win32\plugins map. but i am still not getting the rest in the binary win32 map. i am getting the exe and the rest of the files wich should be in the win32 map i do have a bit less errors and warnings. getting: 4 errors and 104 warnings

Comment by amandel12, Nov 27, 2008

I don't know why you are getting errors, send me your build log and ill look at it

Comment by superempra, Nov 29, 2008

Am i doing something wrong? Sometimes it compiles with no errors but sometimes it give two errors.

Comment by natanji, Nov 29, 2008

Make sure that you remove any kind of direct references to the Microsoft Platform SDK from your VC++ Directories, especially older version. They gave me a huge load of errors because I still had the Platform SDK version 6 installed. By removing those references and restarting VC++ afterwards, Dolphin now compiles fine. Well, with a huge load of warnings, but it compiles ;)

Comment by salemthu...@hotmail.com, Nov 30, 2008

it always give me 14 ok and 5 failed

Comment by lgtngstk, Nov 30, 2008

I got a ton of warnings also, but no errors. And it works flawlessly.

Comment by salemthu...@hotmail.com, Dec 01, 2008

can anyone make a video on how to compile dolphin source code because i cant do it

Comment by Felix-Lo...@gmx.net, Dec 01, 2008

my version stopped at 15 done and 4 failed

Error: 19>.\DolphinWX.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'.

please help

Comment by rafael_h...@yahoo.com.br, Dec 01, 2008

c'mon you guys, post a video, i've been here reading all the instructions and still not work.

I didn't understand one thing, the express visual C++ doesn't compile? If it don't where do i get a version that works?

Comment by steedry, Dec 02, 2008

You must pay for the non-express version or download a build that someone else has compiled, e.g. Builds by Daco: http://www.nyleveia.com/daco/

Comment by rafael_h...@yahoo.com.br, Dec 02, 2008

Thank's mate, works fine.

Comment by FrankFreeStuff, Dec 02, 2008

I am able to build the 32bit binaries without a problem. However, when I go to build the x64 ones, it just reports that it skipped 20 items.

Vista Ultimate 64bit, VC++ 2008, SDK 6.1A, SDK 6.0, SDK for Windows 2003, SDK for DX (Nov 2008), .NET 3.5 SP1

Under Tools->Options->Projects->VC++ Dirs, it does not list 64bit as a platform, only win32 and a bunch of mobile platforms

Comment by FrankFreeStuff, Dec 04, 2008

Installing SP1 for VS 2008 fixed my problem. If others have my problem, I suggest installing SP1

Comment by master...@hotmail.com, Dec 04, 2008

SP1 (service pack 1) ???? as you mean vista Service pack one. or does Visual Studio has a service pack? and if yes could you give me a download link to the service pack update?

Comment by FrankFreeStuff, Dec 05, 2008

VS 2008 has SP1 out for all but the Team System (So, Standard, Architecture, Pro, etc all have SP1)

Comment by master...@hotmail.com, Dec 06, 2008

Wait a sec! the team system? so it's not available for download? (i mean like update not as in illigal) Or do i have to buy SP1?

because i dont know i have VS 2008 PRO (bought it just for dolphin :D and for later use, maybe i will join dolphin team when i got the skills as i have a lot and i mean a lot of free time :D

well back to the part. You are saying that VS 2008 has SP1 already included in PRO?

Comment by FrankFreeStuff, Dec 06, 2008

All of the Service packs are FREE for VS 2008 just download them from Microsoft

Comment by master...@hotmail.com, Dec 07, 2008

YAJ! :D Thx Frank! going at lightspeed to Microsoft now ;P

Comment by monkey80gm, Dec 15, 2008

Could I use freeware app, if yes can you all recommend it.

Comment by egochan, Dec 17, 2008

I cannot debug with the above instruction. However, i can pass the compile......What happened?

My software configuate: Vista Ultimate, Visual C++ 2008 express SP1, TortoiseSVN, DX SDK

Comment by shallwebr, Dec 22, 2008

monkey80gm, i use linux, slackware 12.2 and i can compile with no problems. The dolphin works in the same speed in windows and linux for me.

Comment by ilja.korsun, Dec 24, 2008

Ok so i downloaded the full Microsoft Visual Studio 2008 (Not express but the full version) To clarify some things i have:

Vista x64 SP1 with all updates

Visual Studio 2008 SP1 (and not 2005 no other things than that, its newly formated)

I've added the DirectX (november 2008) libraries to executables and libraries

C:\Program Files (x86)\Microsoft DirectX SDK (November 2008)\Lib\x64 and C:\Program Files (x86)\Microsoft DirectX SDK (November 2008)\Lib\x86

When compiling the x64 versions I get a quick result of 21 skipped. However when making the Win32 Release version I get 15 compiled 6 skipped.

Can anybody help? Got the same thing with Visual Studio 2008 express (which is now completely uninstalled, restarted the computer too after uninstallation.

I want to put up a ftp that automatically compiles the latest version of the source and puts it there. (will build a script)

I appreciate all help.

Error (========== Rebuild All: 16 succeeded, 5 failed, 0 skipped ==========)

My build log that i got in the compile window: http://www.speedyshare.com/148885869.html

Buildlog generated in the source folder http://www.speedyshare.com/514752222.html

Can anybody spot the problem?

I only get the plugins folder

Comment by ilja.korsun, Dec 24, 2008

EDIT:

I solved it, i got errors with .h file extensions and i noticed that I had not included the "include" files.

Comment by aliasgha...@googlemail.com, Dec 26, 2008

I Not have User And Password Please Send Me

Comment by ultimategkr, Dec 26, 2008

Ok manos a la obra , a programar se ha dicho

Comment by nosound...@gmail.com, Jan 09, 2009

16 succeeded, 6 failed, 1 skipped. Am i doing something wrong?

Comment by oliveira.phc, Jan 10, 2009

Amandel12, can you help me? I don't know what am I doing wrong. First things first. I have Dolphin SVN R1713 on a windows xp 32 bits (moving to a 64). The rar file I downloaded from the official Dolphin page have inside a folder named Win32. I already have everything installed, even materkey.bin. Then, I did the SVN checkout with Tortoise, and I already had downloaded the files to either Win32\Dolphin-emu (the default option) and to Win32, only. I opened dolphin.sfn with visual c++ express, had the three paths alright, marked release and rebuild the Solution Dolphin. I got 13 successes and 9 erros. But the funny thing is, when I get to new Binary folder, created after compiling, and then I open the also new Win32 folder, there's only one folder, named Plugin. To tell you the truth, I tried three times in this folder structure: C:\Binary\Win32\Dolphin-emu. I did the SVN checkout in the three levels of this structure but I still don't get my new Dolphin.exe compiled, the one that was suposed to be in the Binary\Win32 folders. I just got the original one, the comes with the rar file, and when i use it, with Super Paper Mario, from wii, it says the is missing the filename dynamic library, and can't iniate the core. What am I doing wrong? To make it short, I have everything new, SDK's, Visual C++, tortoise and DirectX. Could this be because of Dolphin 1713? Should it be an older version?

Comment by nosound...@gmail.com, Jan 11, 2009

Same problem

Comment by nosound...@gmail.com, Jan 18, 2009

Found a problem. You need to BUY Visual Studio 2008 Pro not VC++ Express

Comment by wyx1999, Jan 21, 2009

I have compiled it without problem, but I don;t see any execuable file created?

Comment by xenos.ro, Jan 25, 2009

''Select Release and x64 if possible'' I don't get this part...

Comment by stgngts, Feb 06, 2009

visual c++ express does not support compiling to 64-bit afaik

Comment by ecchichuu, Feb 13, 2009

I get compiling problems similar to those mentioned by many others. I'm using VS2008 SP1 with Nov 08 DirectX SDK and trying to compile x64 but I end up only getting some of the plugins.

Comment by grimzer, Feb 14, 2009

I finally got it compiled for x86 with VC++ Express:

I followed the directions to the tee, but when it says to Unload the Plugin_DSP_LLE project, (you'll see it in the left hand panel about halfway down) make sure you do this. Right click the Plugin_DSP_LLE project and then click Unload Project.

Now the step that says: "2. Select Release and x64 if possible, and choose Rebuild Solution." You'll find those drop down boxes near the top middle of the screen next to a green arrow labeled "Start Debugging". Select "Release" for the first drop down box, and Win32 for the second one (maybe you can get x64 to work by selecting that option instead of Win32?).

After that, goto Build > Rebuild Solution. After compiling I got

Rebuild All: 20 succeeded, 0 failed, 1 skipped

And you'll find the actual .exe in \dolphin-emu-read-only\Binary\Win32

Hope this helps...

Comment by ecchichuu, Feb 14, 2009

Bah. Got it working more or less. I had unknowingly added those Directx x64 directories to win32 platform instead of the x64 platform.

Comment by kent.leonhart, Mar 01, 2009

So far, I've compile the x86/32bit just fine and it works. But how do you compile the jitIL release?

Comment by chuuey, Mar 02, 2009

seriously, every time i compile the JITIL release and load a game in it, the emulator always crashes, is there another way to compile it? Normal builds work just fine...

Comment by chuuey, Mar 02, 2009

i even tried to build it with the ICC... same deal

Comment by kent.leonhart, Mar 02, 2009

Nevermind, I just compiled both normal and the JITIL release. So far, both works.

@chuuey Try disabling jit dynarec and it should run your game/rom fine. But then again, it is not stable. Anyway, that should avoid crashes on your JITIL compilation. Disabling/unchecking the "Enable the JIT dynarec".

Comment by chuuey, Mar 02, 2009

yeah i tried that, thanks, but the interpreter mode is quite slow ;) besides i tried a compile from another user, and it worked, i just can't figure out why on earth every time i compile the IL version, it just won't work while the JIT one does lol ;) a mystery!

Comment by chgui.59, Mar 06, 2009

Es qu'il y a des français qui pourrais m'aider à configurer Dolphin ??

Comment by Wagnard28, Mar 07, 2009

Utilise Google translate pour traduire: http://www.google.ca/language_tools?hl=fr

Comment by phenovirtual, Mar 10, 2009

It's works For me, Thx , Just Follow the Instructions of amandel12. But i would Like to Know how to Build a 64Bit Dolphin. Thx for the Replies to my Email " virtualphenix@yahoo.com|".

Comment by spideybr, Mar 19, 2009

I just want to add something. Well registering the DirectX SDK paths, don't forget to include them for both platforms, x86 and x64. I added both paths under x86 platform, this way I couldn't compile the x64 version.

I've been messing around this for more than an hour. I hope I can save some time for other people.

Comment by sergey3...@hotmail.com, Mar 20, 2009

Can someone help me out plz. I installed everything but dolphin emulator doesnt work. It says:

17:53:609: 2 COMMON Exist: stat failed on ./User/Wii/shared1/content.map: The system cannot find the path specified.

17:53:953: 1 Warning: Hi,

Dolphin requires that your CPU has support for SSE2 extensions. Unfortunatly your CPU does not support them, so Dolphin will not run.

Sayonara!

Can someone tell me what i can do to make it work?

Comment by marc...@cox.net, Mar 22, 2009

Buy a newer computer...

Comment by andreasl...@hotmail.com, Mar 29, 2009

Error 3 error C2660: 'CMixer::PushSamples?' : function does not take 2 arguments c:\Documents and Settings\lundblom\Skrivbord\dolphin-emu-read-only\Source\Plugins\Plugin_DSP_HLE\Src\main.cpp 349 Plugin_DSP_HLE

What am I doing wrong?

Comment by wyl...@163.com, Apr 02, 2009

Could you take something optimization for AMD CPU?

Comment by lightpow...@hotmail.com, Apr 06, 2009

Cannot compile. I get a plugin_videodx9d.lib error, it seems it fails making the plugin. When I check the log there's I think 153 errors while compiling that plugin, then I get another error linking back to the plugin which isn't there. Then failing the compiling with 2 errors.

Comment by lightpow...@hotmail.com, Apr 06, 2009

The error begins there...

1>NativeVertexFormat?.cpp 11>BPStructs.cpp 11>.\Src\BPStructs.cpp(59) : error C2065: 'BPMEM_IND_MTX' : undeclared identifier 11>.\Src\BPStructs.cpp(59) : error C2046: illegal case 11>.\Src\BPStructs.cpp(60) : error C2065: 'BPMEM_IND_MTX' : undeclared identifier 11>.\Src\BPStructs.cpp(60) : error C2046: illegal case 11>.\Src\BPStructs.cpp(61) : error C2065: 'BPMEM_IND_MTX' : undeclared identifier 11>.\Src\BPStructs.cpp(61) : error C2046: illegal case 11>.\Src\BPStructs.cpp(62) : error C2065: 'BPMEM_IND_MTX' : undeclared identifier

etc.

More errors following that. Please help :[

Comment by lightpow...@hotmail.com, Apr 06, 2009

I unloaded the plugin and it compiled without it. I would still like a fix if anyone can help.

Comment by moses.ma...@gmail.com, Apr 10, 2009

Got some error at first, but after I moved up the DirectX SDK dependences (executables, includes, libraries) to the top of the directories lists in VS2008, compiles works fine for me. Hope this is helpful for some of you :)

Comment by amiraljallad, May 09, 2009

i

Comment by amiraljallad, May 09, 2009

guys i deleted something from VC++ directories and i got more errors can any 1 tell me where i can reset it

Comment by amiraljallad, May 09, 2009

i compiled dolphin r3000 but when i tried to compile dolphin r1997 it didnt work . is anyone know why ?

Comment by amiraljallad, May 09, 2009

guys anyonw know where i can get dolphin svn r1997 source ? plz tell me the link

Comment by toole.t, May 13, 2009

Everything compiles from the latest SVN R 3214 and DirectX SDK without issues.

Comment by eduardo.rosostolato, May 22, 2009

good!! Now I understand how to do this!!

Comment by aston_vi...@hotmail.co.uk, May 25, 2009

cannot opengl renderer. please help me. i havent got a clue what its going on about, does anybody know how i can recorrect this?

Comment by Gamer19...@aim.com, Jun 05, 2009

what do i do when it says "open with what?"

Comment by ulopez679, Jun 20, 2009

it works perfectly with me. and it took 10 minutes.

Comment by dapetcu21, Jun 21, 2009

mee too! I had VS C++ 2008 Express already installed. I had to install DX9 SDK when I installed DarkGDK, so all prereqs were already installed. I just opened the project, changed the config to release, rebuilt solution, and boom in 15 mins I was already playing

Comment by las...@hotmail.com, Jun 27, 2009

thanks it worked correctly for me too. I just have a question, when i update sources, i have to recompile all the project every time? It takes a lot of time...

Comment by totti19...@hotmail.com, Jul 03, 2009

guys i have ths problem:

Build Log

Rebuild started: Project: Dolphin, Configuration: Release|x64

Command Lines

Creating temporary file "d:\Roms\GC\dolphin-emu-read-only\Source\Core\DolphinWX\x64\Release\BAT00005048764920.bat" with contents [ @echo off

"d:\Roms\GC\dolphin-emu-read-only\Source\Core\DolphinWX\..\Common\SubWCRev.exe" "D:\Roms\GC\dolphin-emu-read-only\Source\\." "d:\Roms\GC\dolphin-emu-read-only\Source\Core\DolphinWX\..\Common\src\svnrev_template.h" "d:\Roms\GC\dolphin-emu-read-only\Source\Core\DolphinWX\..\Common\src\svnrev.h"

if errorlevel 1 goto VCReportError

goto VCEnd

:VCReportError

echo Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."

exit 1

:VCEnd ] Creating command line """d:\Roms\GC\dolphin-emu-read-only\Source\Core\DolphinWX\x64\Release\BAT00005048764920.bat""" Creating temporary file "d:\Roms\GC\dolphin-emu-read-only\Source\Core\DolphinWX\x64\Release\RSP00005148764920.rsp" with contents [ /Ox /Ob2 /Oi /Ot /I "..\Common\Src" /I "..\Core\Src" /I "..\DebuggerWX\src" /I "..\DiscIO\Src" /I "..\InputCommon?\Src" /I "..\..\PluginSpecs?" /I "..\..\..\Externals\wxWidgets\Include" /I "..\..\..\Externals\wxWidgets\Include\msvc" /I "..\..\..\Externals\SFML\include" /D "WIN32" /D "WXMSW" /D "WINDOWS" /D "NOPCH" /D "SECURE_SCL=0" /D "CRT_SECURE_NO_WARNINGS" /D "CRT_SECURE_NO_DEPRECATE" /D "VC80_UPGRADE=0x0600" /GF /FD /EHsc /MT /GS- /Fp"x64\Release\Dolphin.pch" /Fo"x64\Release\\" /Fd"x64\Release\vc80.pdb" /W4 /c /Zi /TP ".\Src\WxUtils?.cpp"

".\src\stdafx.cpp"

".\src\main.cpp"

".\src\ISOFile.cpp"

".\src\BootManager?.cpp"

".\Src\NetWindow?.cpp"

".\Src\NetSockets?.cpp"

".\Src\NetFunctions?.cpp"

".\Src\NetEvent?.cpp"

".\Src\PatchAddEdit?.cpp"

".\src\MemcardManager?.cpp"

".\src\LogWindow?.cpp"

".\Src\ISOProperties.cpp"

".\Src\InfoWindow?.cpp"

".\src\Globals.cpp"

".\src\MemoryCards?\GCMemcard.cpp"

".\src\GameListCtrl?.cpp"

".\Src\FrameWiimote?.cpp"

".\Src\FrameTools?.cpp"

".\src\Frame.cpp"

".\src\ConfigMain?.cpp"

".\Src\CheatsWindow?.cpp"

".\Src\ARCodeAddEdit.cpp"

".\Src\AboutDolphin?.cpp" ] Creating command line "cl.exe @"d:\Roms\GC\dolphin-emu-read-only\Source\Core\DolphinWX\x64\Release\RSP00005148764920.rsp" /nologo /errorReport:prompt" Creating command line "rc.exe /d "WXMSW" /d "WINDOWS" /d "NOPCH" /d "VC80_UPGRADE=0x0600" /l 0x409 /I ".\..\..\lib\vc_lib\msw" /I ".\..\..\include" /I "." /I ".\..\..\samples" /fo"x64\Release/DolphinWX.res" ".\DolphinWX.rc"" Creating temporary file "d:\Roms\GC\dolphin-emu-read-only\Source\Core\DolphinWX\x64\Release\RSP00005548764920.rsp" with contents [ /OUT:"../../../Binary/x64/Dolphin.exe" /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:"x64\Release\Dolphin.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"x64\Release\Dolphin.pdb" /SUBSYSTEM:WINDOWS /BASE:"0x00400000" /DYNAMICBASE:NO /FIXED:No /NXCOMPAT /MACHINE:X64 comctl32.lib rpcrt4.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "..\discio\x64\release\discio.lib" "..\common\x64\release\common.lib" "..\core\x64\release\core.lib" "..\..\..\externals\wxwidgets\build\msw\wxbase28_x64\release\wxbase28.lib" "..\..\..\externals\bochs_disasm\x64\release\bochs_disasm.lib" "..\..\..\externals\wxwidgets\build\msw\wxadv28_x64\release\wxadv28.lib" "..\..\..\externals\wxwidgets\build\msw\wxcore28_x64\release\wxcore28.lib" "..\..\..\externals\zlib\x64\release\zlib.lib" "..\..\..\externals\lzo\x64\release\lzo.lib" "..\inputcommon\x64\release\inputcommon.lib" "..\debuggerwx\x64\release\debugger.lib" "..\debuggeruicommon\x64\release\debuggeruicommon.lib" "..\videocommon\x64\release\videocommon.lib" "..\..\..\externals\soil\x64\release\soil.lib" "..\..\plugins\plugin_njoy_sdl\x64\release\plugin_njoy_sdl.lib" "..\..\..\externals\sfml\build\vc2008\x64\release\sfml_network.lib" "..\..\plugins\plugin_videodx9\x64\release\plugin_videodx9.lib" "..\..\plugins\plugin_padsimple\x64\release\plugin_padsimple.lib" "..\..\plugins\plugin_wiimote\x64\release\plugin_wiimote.lib" "..\..\plugins\plugin_dsp_hle\x64\release\plugin_dsp_hle.lib" "..\..\plugins\plugin_videoogl\x64\release\plugin_videoogl.lib"

".\x64\Release\DolphinWX.res"

".\x64\Release\AboutDolphin?.obj"

".\x64\Release\ARCodeAddEdit.obj"

".\x64\Release\CheatsWindow?.obj"

".\x64\Release\ConfigMain?.obj"

".\x64\Release\Frame.obj"

".\x64\Release\FrameTools?.obj"

".\x64\Release\FrameWiimote?.obj"

".\x64\Release\GameListCtrl?.obj"

".\x64\Release\GCMemcard.obj"

".\x64\Release\Globals.obj"

".\x64\Release\InfoWindow?.obj"

".\x64\Release\ISOProperties.obj"

".\x64\Release\LogWindow?.obj"

".\x64\Release\MemcardManager?.obj"

".\x64\Release\PatchAddEdit?.obj"

".\x64\Release\NetEvent?.obj"

".\x64\Release\NetFunctions?.obj"

".\x64\Release\NetSockets?.obj"

".\x64\Release\NetWindow?.obj"

".\x64\Release\BootManager?.obj"

".\x64\Release\ISOFile.obj"

".\x64\Release\main.obj"

".\x64\Release\stdafx.obj"

".\x64\Release\WxUtils?.obj" ] Creating command line "link.exe @"d:\Roms\GC\dolphin-emu-read-only\Source\Core\DolphinWX\x64\Release\RSP00005548764920.rsp" /NOLOGO /ERRORREPORT:PROMPT"

Output Window

Performing Pre-Build Event... SubWCRev: 'D:\Roms\GC\dolphin-emu-read-only\Source' Last committed at revision 3659 Updated to revision 3659 Compiling... WxUtils?.cpp stdafx.cpp main.cpp ISOFile.cpp BootManager?.cpp NetWindow?.cpp NetSockets?.cpp NetFunctions?.cpp NetEvent?.cpp PatchAddEdit?.cpp MemcardManager?.cpp LogWindow?.cpp ISOProperties.cpp InfoWindow?.cpp Globals.cpp GCMemcard.cpp GameListCtrl?.cpp FrameWiimote?.cpp FrameTools?.cpp Frame.cpp Generating Code... Compiling... ConfigMain?.cpp CheatsWindow?.cpp ARCodeAddEdit.cpp AboutDolphin?.cpp Generating Code... Compiling resources... Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 Copyright (C) Microsoft Corporation. All rights reserved. Linking... LINK : fatal error LNK1181: cannot open input file '..\inputcommon\x64\release\inputcommon.lib'

i have done every step correctly twice but tha same problem! can any1 help me??? i have Microsoft Visual Studio 2008 Professional Edition

Comment by totti19...@hotmail.com, Jul 03, 2009

maybe its the inputcommon.lib file cuz i searched for that file and it doesn't exist! can some1 upload/send me that file???

Comment by thealtaf, Jul 05, 2009

SOFTS NEEDED

1.VS2008 AND DIRECTX SDK MAR09

2.RapidSVN-0.9.8 AND ADD REPOSITORY

http://dolphin-emu.googlecode.com/svn/trunk/

3.DONT DELETE ".SVN" FOLDERS INCASE MOVE TO NEW FOLDER BCOZ ITS NEEDED BY

SUBWCREV.EXE AND PEOPLE GET "COMMON.LIB" ERRROR BCOZ COMMON PROJECT IS NOT
COMPILED IF ".SVN" IS DELETED SO DONT DELETE IT WILL WRITE REVISION# IN ABOUT
BOX. IT SHOULD COMPILE WITHOUT ANY ERRORS DONT DELETE ".SVN" WHICH IS IN
SOURCE FOLDER IF U DELETE IN OTHER FOLDERS ITS OK IF U WANNA SAVE SPACE.
Comment by natronaliasdvd, Jul 12, 2009

does compiling the build yourself have any advantages over simply downloading the same version?

Comment by bdice1400, Jul 13, 2009

For some reason, VC++ 2008 Express skips 30 builds and says "Project not selected to build for this solution configuration" when attempting to build Release >> x64 on a Windows XP x64 installation. I think it has something to do with the fact that the DirectX SDK seems to only install for x86 and not x64. What causes that? Thanks for your help.

Comment by ierafael...@yahoo.com, Jul 16, 2009

this is stupid, dolphin should release compiled version for ppl that doesnt know all this stuff, its so hard to make an .exe? btw http://www.nyleveia.com/daco/ those compilations doesnt works...

Comment by chicuong.hua, Jul 16, 2009

You're stupid. There are lots of compiles done by the community, and if you don't get a step by step guide, I'm sorry, but you are screwed.

Comment by Twilit.Rayne, Jul 21, 2009

YOU CANNOT FULLY COMPILE DOLPHIN x32 OR COMPILE x64 AT ALL ON EXPRESS

If you want to compile Dolphin by yourself it is NECESSARY to have the PAID version of Visual Studio. Compiling x32 only results in you compiling the emulator and not the plugins since the libraries are not in express. Express doesn't compile x64 at all.

Comment by caco_...@hotmail.com, Jul 21, 2009

^ O RLY?

Comment by caco_...@hotmail.com, Jul 21, 2009
Comment by jeffjohnson14, Jul 21, 2009

Good job guys. Followed your instructions and everything worked great.

Keep up the good work!!!!

Comment by ritchiwolf, Aug 08, 2009

hmmm should i uninstall microsoft visual studio C++ 2005

for the microsoft visual studio C++ 2008 one ???

i really wanted to use dolphin emulator ..

Comment by Lumar999, Aug 08, 2009

Visual Studio C++ 2005 is obsolete, Microsoft doesn't even distribute it anymore. You'll have to update to 2008 to compile Dolphin, and you should definitely uninstall 2005 before you install 2008.

Comment by feralig...@163.com, Aug 25, 2009

"wxWidget" is a solution folder, which isn't supported in Visual Studio 2008 Express. I got many link errors because lack of wxWidgets. Does it mean I must use trial edition of VS2008?

Comment by shaneooconnor, Aug 25, 2009

I'm on Windows 7 64-bit and can build this in Win32. But when I select "x64" I get "Build: 0 succeeded or up-to-date, 0 failed, 29 skipped", I went into tools>options>projects and solutions>VC++ Directories, but under platform there is only Win32 and a bunch of Windows Mobile platforms.

P.S. I'm running Visual Studio 2008 SP1

Comment by lpfaint99, Aug 26, 2009

feralig...@163.com: attempting to get things working for vc++ express, r4051 can be compiled with express

shaneooconnor: you do not have the x64 libs installed, use your disc and do a custom install of vs to include the x64 libs

Comment by marc...@cox.net, Aug 30, 2009

We've had some problems with the compiling recently, and things were in a bit of an unstable state this past week.

The good thing is that Dolphin.sln is back to normal, and you should be able to build just like in the past (as detailed above).

Comment by haran.hockey, Sep 07, 2009

I followed instructions but still get only 17 files compiled, 10 files failed, 3 skipped on 32 bit XP and am using Visual C++ 2008 Express Edition. Is something wrong with the compiler??

Comment by sibadoba, Sep 07, 2009

what does it mean in step 6 when it says "elect Release and x64 if on a 64-bit platform?" is that the drop down menu in the directories setting window?

Comment by sibadoba, Sep 07, 2009

nevermind. i think i figured it out

Comment by haran.hockey, Sep 09, 2009

Alright I got it working on x32 on XP - and yes you only need the Express Edition. Instructions may be confusing so this is for future reference for others:

When you go to Tools > Options > Projects > VC++ Directories, you must put it your SDK directory. Also, the executable, include and library drop down box things all have different paths so read it carefully. Then, press OK and find the green arrow near the top of the screen. It should say 'Debug'; change it to 'Release' and if you're using 32 bit, leave it on Win32. Then it's pretty straight forward, juts right click on Solution 'Dolphin' and choose Build Solution. If you make a mistake, correct it and then choose rebuild solution.

After it's done compiling, you'll find the actual dolphin.exe file in Binary/Win32

You can put the Win32 folder on your usb and run it on a different computer (even vista) and it'll still work.

Comment by jmcg_ian...@hotmail.co.uk, Oct 11, 2009

What do i do to use Dolphin once i've done these steps? Where do i go on the computer to find it?

Comment by weeworl...@yahoo.com, Oct 28, 2009

more do it more harder

Comment by mikeya84, Oct 28, 2009

<svn root dir>\Binary\<build type>\ to find Dolphin.exe/DolphinIL.exe

Comment by quim_nar...@hotmail.com, Nov 03, 2009

Hmm.... A mí sólo me aparecen los plugins de audio y video y unos cuantos archivos ¿Alguna sugerencia?

Comment by bigdeak@hotmail.com, Nov 12, 2009

Well, following problem: i wan't to debug Dolphin in Visual Studio with break points, i test it with the about dialog and it works... but the real problem is, i cannot load the plugins in this debugmode :/ if i click on the Configuration, i get the error message like "Trying to read invalid SYSCONF" for 4 times...

Comment by Auld00.cm, Nov 27, 2009

I just tried it, all worked nicely until I clicked 'Build Solution'. After that, I get this... "Build: 0 succeeded or up-to-date, 0 failed, 31 skipped"

Comment by luisr142004, Nov 27, 2009

Build Solution only compiles the sources once, if you want to rebuild the sources then use Rebuild Solution :P

Comment by godisgovernment, Nov 27, 2009

No, probably Auld00.cm tried to build x64 without the x64 compiler installed...

Comment by Auld00.cm, Nov 29, 2009

godisgovernment, that sounds like it'd be it. Any help, just a point in the right direction?

Comment by CuentaSpam23, Nov 30, 2009

@Auld00.cm

http://forums.dolphin-emu.com/thread-2291.html

Hope this can help you

Comment by Auld00.cm, Nov 30, 2009

Thanks, I'll give it a shot and tell you how it all turns out.

Comment by Auld00.cm, Dec 06, 2009

No luck. Having trouble extracting the VCProjectAMD64Platform.dll from vc_stdx86.cab. Argh. == Been using 7-zip, is there a different tool I should try?

Comment by iampowerslave, Dec 08, 2009

Doing lots of manual stuff like renaming files and setting DX SDK project by project I could compile but I got stuck to:

Project: VideoCommon?

Error 1 error MSB4023: Cannot evaluate the item metadata "%(Extension)". The item metadata "%(Extension)" cannot be applied to the path ""D:\Downloads\dolphin-emu-read-only\Source\\..\Binary\x64\User\OpenCL\..\..\..\Data\User\OpenCL\TextureDecoder?.cl"". Illegal characters in path. D:\Downloads\dolphin-emu-read-only\Source\Core\VideoCommon?\OpenCL.targets 63 6 VideoCommon?

I can't find where to fix the double back-slash (which I think is the root of the cause).

Comment by barcaroandrea, Dec 20, 2009

I have a problem: I downloaded Dolphin r4710 in a folder with TortoiseSVN.After this, I open the project file Plugin_Wiimote??.vcproj (Source\Plugins\Plugin_Wiimote??) with Microsoft Visual Studio 2008.....

I compile Plugin_Wiimote? but appear this message: 1>------ Inizio compilazione: Progetto: Plugin_Wiimote?, Configurazione: Debug Win32 ------ 1>Linking... 1>LINK : fatal error LNK1181: cannot open input file 'wxbase28ud.lib' 1>Build log was saved at "file:......\Source\Plugins\Plugin_Wiimote\Win32\Debug\BuildLog.htm" 1>Plugin_Wiimote? - 1 error(s), 0 warning(s)

Compilazione: 0 completate, 1 non riuscite, 0 aggiornate, 0 ignorate

I search wxbase28ud.lib but I don't find it....Can you tell me where can I find this file and the wxmsw28ud_core.lib file? I want to create a dll of the file....do I mistake procedure? Can someone help me? Excuse me for the English :)

Comment by j4ck.fr0st, Dec 20, 2009

You have to open Source\Dolphin.sln and build that. Preferably in one of the Release configurations.

Comment by barcaroandrea, Dec 20, 2009

Thanks a lot.....Now there aren't any errors, but I don't succeed to create the dll file, because they are created others files..... At the output of the compilation I see the writing: 7> Creating library Win32\Debug\Plugin_WiimoteD.lib and object Win32\Debug\Plugin_WiimoteD.exp How can I create the dll file? I still excuse me for the English and for my ignorance......

Comment by j4ck.fr0st, Dec 20, 2009

Why do you only want that DLL? Its usually part of SVN builds provided by various people, and its also part of the official distribution. You can find it in the Binary folder, depending on your build in Win32 or x64, and inside the Plugins folder. It wont help you on older versions, since the interface most probably changed since then.

Comment by barcaroandrea, Dec 21, 2009

Thank you, now I haven't any problems...... :) :) :)

Comment by Mr.bRocko, Dec 21, 2009

How do you repair logs when you get error msgs?

Mine showed up like this vvv

Build: 18 succeeded, 11 failed, 0 up-to-date, 2 skipped
Comment by barcaroandrea, Dec 23, 2009

The my problems made because I didn't open the file Dolphin.sln (it's the project to modify and to compile in the folder "Source") but I opened others projects...... I don't know if it is the same for you....... :)

Comment by Mr.bRocko, Dec 23, 2009

Sorry it didn't help =(, but thanks for trying =). Well when i open my dolphin svn r 3972 and click the game i wanna play it pops up with the error msg

"can't create opengl renderer. You might be missing some required opengl extensions, check the logs for more info"

Comment by death2droid, Dec 23, 2009

You need a new graphics card then. But first you might want to out a newer rev first.

Comment by darkshadw, Dec 26, 2009

No m8, just try to update ur videocard drivers ;)


Nvidia: http://www.nvidia.com/Download/index.aspx?lang=en-us

ATI: http://support.amd.com/us/gpudownload/Pages/index.aspx


Good Luck now! =)

Comment by drugstop, Jan 08, 2010

Had to follow this guide to get x64 build running on Win7/x64 VC 2008 Express.

http://jenshuebel.wordpress.com/2009/02/12/visual-c-2008-express-edition-and-64-bit-targets/

Comment by tobi.uchuila, Jan 09, 2010

viual basic 2008 express edition says that the file type is not supported in this version. which version fo i use?

Comment by j4ck.fr0st, Jan 09, 2010

You need Visual C++ Express.

Comment by agarrameporelmango, Jan 23, 2010

Hi buddies,

I've managed to compile x86 version, but I just can't with x64 one. It just omites all the files.

I've done all the patch changing, and I've downloaded everything. But It carries on failing.

Any Idea?

Comment by agarrameporelmango, Jan 23, 2010

Finally ! I Got it working.

HERE'S THE SOLUTION FOR YOU, X64 USERS AND DEVELOPERS:

1 - Install Visual C++ 2008 Express. (http://www.microsoft.com/express/Downloads/#2008-Visual-Basic)

2 - Install Tortoise SVN x64. (http://downloads.sourceforge.net/tortoisesvn/TortoiseSVN-1.6.7.18415-x64-svn-1.6.9.msi?download)

3 - Install Windows SDK. (http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&displaylang=en)

4 - Install DirectX SDK. (http://www.microsoft.com/downloads/details.aspx?FamilyID=b66e14b8-8505-4b17-bf80-edb2df5abad4&displaylang=en)

5 - Download and Decompress this: http://suma.soulogic.com/dl/VCE64BIT.zip

6 - With all that stuff installed, head to Start/Programs/Microsoft Windows SDK 6.1/CMD Shell

7 - Once in the console, search where you decompressed VCE64BIT.zip, and execute setup_x64.bat.

8 - When done, create a new folder somewhere on your computer, we'll call the folder "dolphin-emu-read-only" .

9 - Right-click on dolphin-emu-read-only and select svn checkout. For URL of repository enter http://dolphin-emu.googlecode.com/svn/trunk/

10 - Open dolphin-emu-read-only\Source\Dolphin.sln

11 - Once the project is loaded go to Tools > Options > Projects > VC++ Directories, and DO the PATH FIXING:

+ Change the directory list to executables and add your direct X SDK folder to the list (default is C:\Program Files\Microsoft DirectX SDK (WHATEVER VERSION)\Utilities\bin\x64)
+ Change the directory list to includes and add the include directory (default is C:\Program Files\Microsoft DirectX SDK (WHATEVER VERSION)\Include) - + Change the directory list to library and add the library folder there (default is C:\Program Files\Microsoft DirectX SDK (WHATEVER VERSION)\Lib\x64)

12 - Do that in x64 mode, and the same on Win32 mode ( take care and change library folder and DirectX folder from x64 to x86 )

13 - Select Release and x64, and right click on "Solution 'Dolphin'" and choose Build Solution.

14 - You're done. Look into Dolphin-emu-read-only/Binary/x64 and there should be your EXE file.

EVEN JitIL Experimental IS WORKING FOR ME.

Comment by andre.van.schoubroeck, Jan 25, 2010

On MS-Windows, I can compile a fine 32-bit version, but the 64-bit version got problems, a linker error for plugin_wiimote.lib

Looking at agarrameporelmangos comment, I tried to download http://suma.soulogic.com/dl/VCE64BIT.zip but that link doesn't work.

btw. I am using the normal version of Visual Studio, not the express version.

Comment by j4ck.fr0st, Jan 25, 2010

His link/tutorial is for Express only. Plain Visual Studio supports both x86 and x64 builds (provided you installed the x64 Tools). Just make sure you add the correct Include and Library settings for both x86 and x64 (they are on the same settings page, but different settings).

In case a complete clean of the solution doesnt work, can you tell us the linker error? Usually, those are resolved cleaning interdiary files (unless someone screwed up).

Comment by CuentaSpam23, Jan 25, 2010

We first need to know that according to the Microsoft website, VC++2008 Express is supposed to have native x64 support (x64 enviroment + x64 compiler), it doesn't.

see this guide http://forums.dolphin-emu.com/thread-2291.html

Comment by bboyin4l...@yahoo.com, Jan 25, 2010

http://suma.soulogic.com/dl/VCE64BIT.zip i can't access that webpage!

can someone please post the batch files code that that contains for me please!

just post the code and i already know how to create the batch file with that code

Comment by xsplitsk...@yahoo.com, Feb 02, 2010

Ok i did everything it told me to do,and i click build solution,and it said it was successful,but nothing is happening?how do i play the game cube emulator?


Sign in to add a comment
Hosted by Google Code