Dolphin, the GameCube and Wii emulator - Forums
How to compile source code? - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Support (https://forums.dolphin-emu.org/Forum-support)
+--- Thread: How to compile source code? (/Thread-how-to-compile-source-code)



How to compile source code? - mudum - 03-25-2012

How do you compile this source code?

http://code.google.com/p/dolphin-emu/source/detail?r=b0f75f17ae19484735675fea348f7e95740f597f&name=FifoBusy

I followed the guide on this Windows Build guide

and i cant seem to compile this specific code. Only the default https://code.google.com/p/dolphin-emu/ for the Repository URL works


RE: How to compile source code? - Shonumi - 03-25-2012

So you basically want checkout the specific git commit in the link you posted? What software are you using for git? I'm not familiar with any of the GUI frontends for Windows, but I think the command line git does it this way:

Code:
git checkout b0f75f17ae19484735675fea348f7e95740f597f https://code.google.com/p/dolphin-emu/ dolphin-emu

You need to specify the hash of the revision that you want to checkout. Doing so varies depending on what programs you're using for git.


RE: How to compile source code? - mudum - 03-25-2012

(03-25-2012, 03:46 PM)Shonumi Wrote: So you basically want checkout the specific git commit in the link you posted? What software are you using for git? I'm not familiar with any of the GUI frontends for Windows, but I think the command line git does it this way:

Code:
git checkout b0f75f17ae19484735675fea348f7e95740f597f https://code.google.com/p/dolphin-emu/ dolphin-emu

You need to specify the hash of the revision that you want to checkout. Doing so varies depending on what programs you're using for git.

im using the tortoise posted on the windows build. how do you checkout using this?


RE: How to compile source code? - Shonumi - 03-25-2012

I believe for Tortoisegit, you can specify the revision to checkout on the checkout window itself. When you click on "Switch/Checkout" click on the Version option rather than Branch or Tag. The version should be the hash of the commit. Like I said, I'm not too familiar with Tortoisegit, but this blog has some helpful pointers and screenshots.


RE: How to compile source code? - mudum - 03-25-2012

(03-25-2012, 04:01 PM)Shonumi Wrote: I believe for Tortoisegit, you can specify the revision to checkout on the checkout window itself. When you click on "Switch/Checkout" click on the Version option rather than Branch or Tag. The version should be the hash of the commit. Like I said, I'm not too familiar with Tortoisegit, but this blog has some helpful pointers and screenshots.

tnx very much followed some of the pics on the blog and it didnt error Smile



RE: How to compile source code? - scummos - 03-25-2012

Code:
git checkout b0f75f17ae19484735675fea348f7e95740f597f https://code.google.com/p/dolphin-emu/ dolphin-emu
^ this won't work. You have to "git clone" the repository first, then you can do checkouts:
Code:
git clone https://code.google.com/p/dolphin-emu/ dolphin-emu
git checkout b0f75f17