Dolphin, the GameCube and Wii emulator - Forums

Full Version: Revision page changed - FAQ
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
Those are not forwarding correctly. what is happening is that, for example "7668" is being interpreted as "hey, find commit with hash starting with "7668"", which is the page you get http://code.google.com/p/dolphin-emu/source/detail?r=766818baa8eedc946f2df71428260121179f63c6

Notice that this commit is actually from SVN r5382
I'm getting linker errors and errors with Version.cpp and another with cmd.exe since the switch to Git. I have not been able to compile successfully yet.
You should probably mention what kind of errors you are getting.
Have you taken note of my comment at the GCode page concerning the git errors btw? Change the "git.cmd" in svnrevgen.h.js to "git".
OFFTOPIC: This thread shouldn't be marked as an Important thread for now?
Meh.. sticked it.
Xtreme: how did you install git?
(08-22-2011, 09:59 AM)shuffle2 Wrote: [ -> ]Xtreme: how did you install git?

I installed TortoiseGit and msysgit, only the 32-bit build of msysgit since the x64 build doesn't seem to be complete or stable. I added the environment variables for git.exe under system.

Errors:

Quote:Error 25 error LNK1181: cannot open input file 'D:\Documents\Emulator_SVN\Dolphin_Git\Source\Win32\Release\Common.lib' D:\Documents\Emulator_SVN\Dolphin_Git\Source\Core\AudioCommon\LINK

Error 22 error C2059: syntax error : 'string' D:\Documents\Emulator_SVN\Dolphin_Git\Source\Core\Common\Src\Version.cpp 36

Error 21 error C2143: syntax error : missing ';' before 'string' D:\Documents\Emulator_SVN\Dolphin_Git\Source\Core\Common\Src\Version.cpp 36

Error 20 error C2440: 'initializing' : cannot convert from 'int' to 'const char *' D:\Documents\Emulator_SVN\Dolphin_Git\Source\Core\Common\Src\Version.cpp 36

Error 19 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int D:\Documents\Emulator_SVN\Dolphin_Git\Source\Core\Common\Src\Version.cpp 26

Error 18 error C2146: syntax error : missing ';' before identifier 'SVN_REV_STR' D:\Documents\Emulator_SVN\Dolphin_Git\Source\Core\Common\Src\Version.cpp 26

open cmd and go to your dolphin-emu\Source\Core\Common directory.
then run make_svnrev.h.js and tell me what happens.

edit: basically the problem is that msysgit allows the user to decide how to modify the path. Worse, it defaults to not adding git to the path at all. In our case, I choose the option which adds some wrapper scripts into the path instead of adding the bin directory to the path. You've likely added the bin directory to the path.
Try the above two steps after changing "git.cmd" in make_svnrev.h.js to "git" as well, and let me know...
WIll you guys update the build guide to embrace the switch to git? I still haven't found time to setup my build enviroment, but the first time I tried I got errors. Now I saw what I was doing wrong, I'll probably figure it out by myself (or maybe not Tongue) tomorrow, but a guide would be nice ^^

Edit: Just saw the updated guide
This is the output I got:

[attachment=6543]

Pages: 1 2 3 4 5 6 7 8