Dolphin, the GameCube and Wii emulator - Forums
Is Visual Studio 2015 a requirement for all branches? - 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: Development Discussion (https://forums.dolphin-emu.org/Forum-development-discussion)
+--- Thread: Is Visual Studio 2015 a requirement for all branches? (/Thread-is-visual-studio-2015-a-requirement-for-all-branches)



Is Visual Studio 2015 a requirement for all branches? - Maverick Hunter X - 09-13-2015

I have Visual Studio 2013 with all updates on my Windows Server 2012 R2 machine, however I recently read on GitHub that and I quote "Visual Studio 2015 is a hard requirement"

But it doesn't say that it's explicit for all branches.

Let's say I download the source from the Stable branch, is Visual Studio 2015 a hard requirement or is only Master affected?

If you really must have Visual Studio 2015, is the express version sufficient?


RE: Is Visual Studio 2015 a requirement for all branches? - Aleron Ives - 09-13-2015

The stable branch for 5.0 was split before the switch to VS 2015, so you can build 5.0 with VS 2013.


RE: Is Visual Studio 2015 a requirement for all branches? - Maverick Hunter X - 09-13-2015

(09-13-2015, 04:31 PM)Aleron Ives Wrote: The stable branch for 5.0 was split before the switch to VS 2015, so you can build 5.0 with VS 2013.

That's exactly the answer I was hoping for, what a huge relief.

Thank you!


RE: Is Visual Studio 2015 a requirement for all branches? - JosJuice - 09-13-2015

Yep, VS2013 is supported and in fact required for 5.0. If you want to get VS2015 for building the master branch, Visual Studio Community (the replacement for Visual Studio Express) is fine.


RE: Is Visual Studio 2015 a requirement for all branches? - Maverick Hunter X - 09-14-2015

Well I downloaded the latest source from the Stable branch and I tried to build it but I got 2 build errors:

1. Something about "make_scmrev.h.js" exited with code 1 and Cannot find Git or Git.cmd Check your path

Well Git is very much installed but what do they mean by check your path?
I could have installed Git wrong, but I don't know how to add a path or where to add it.

Seems like a lot have changed in 9 months since I last builded Dolphin.

2. Cannot open include "scmrev.h" no such file or directory

This is probably related to the first error.

What am I doing wrong here? Is there a updated guide for dummies how to build the Stable branch with Visual Studio 2013?


EDIT:

CANCEL what I said, I reinstalled Git and chose the correct options now it builds properly!


EDIT 2:

YAY my own dumped IPL.bin is finally recognized!!!!!!


RE: Is Visual Studio 2015 a requirement for all branches? - JosJuice - 09-14-2015

The problem is that git isn't in your PATH variable. The git installer should ask you whether you want to put git in the PATH variable or not. The option for it mentions something like being able to use git from the Windows command-line. Reinstall Git for Windows, select the option for being able to use git (but not other Unix tools) from the command-line, and try building Dolphin again.

Based on what I've seen, this is the most common problem regarding building Dolphin on Windows. Maybe it should be mentioned in the readme...


RE: Is Visual Studio 2015 a requirement for all branches? - Maverick Hunter X - 09-14-2015

(09-14-2015, 07:56 PM)JosJuice Wrote: The problem is that git isn't in your PATH variable. The git installer should ask you whether you want to put git in the PATH variable or not. The option for it mentions something like being able to use git from the Windows command-line. Reinstall Git for Windows, select the option for being able to use git (but not other Unix tools) from the command-line, and try building Dolphin again.

Based on what I've seen, this is the most common problem regarding building Dolphin on Windows. Maybe it should be mentioned in the readme...

It's somewhat confusing what to choose when you install Git, but I managed to get the right alternatives and Dolphin now builds properly even with my own build numbers by unloading SCMREVGen and then edit scmrev.h manually.

I used to work as an developer once about 4-5 years ago and it starts to show off that I have been out in the cold for so long, I feel like a god damn noob.