What's new? | Help | Directory | Sign in
Google
                
Search
for
Updated Dec 29, 2008 by daco65
Labels: Build
WindowsBuild  
How to do SVN builds in Windows.

How to build Dolphin in Windows

Requirements

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 they do go to the next step, if they dont you'll have to add them by doing the following for both 32 and 64bit:
- 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 2008)\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 2008)\Include)
- change the directory list to library and add the library folder there (default is C:\Program Files\Microsoft DirectX SDK (August 2008)\Lib\->x86 or x64<-)
- click ok and go on
  1. Select Release and x64 if possible, and choose Rebuild Solution.

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


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 message4...@Hotmail.co.uk, 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 aakh1...@yahoo.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.97, Yesterday (35 hours ago)

i've got errors with .h files what should i do?


Sign in to add a comment