Hello!
First time builder of Unreal here. I have VS2015 installed, and just cloned 4.10 to my D Drive.
Ran Setup, no issues. Running GenerateProjectFiles.bat and:
GenerateProjectFiles ERROR: We couldn't find a valid installation of Visual Studio. This program requires Visual Studio 2015 or Visual Studio 2013 or Visual Studio 2012. Please check that you have Visual Studio installed, then verify that the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\InstallDir (or HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\InstallDir on 32-bit machines) registry value is set. Visual Studio configures this value when it is installed, and this program expects it to be set to the '\Common7\IDE\' sub-folder under a valid Visual Studio installation directory.
Checked my registry and the above entries exist.
Looked at the bat, found that the “” variable is never set. Looked at “GetVSComnToolsPath.bat”, and the TmpPath variable is never set when I run it.
However, if I run the reg.exe command from the file manually:
D:\git\epic\UnrealEngine\Engine\Build\BatchFiles>REG.exe query HKLM\Software\Wow6432Node\Microsoft\VisualStudio\14.0 /v "InstallDir"
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\VisualStudio\14.0
InstallDir REG_SZ C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\
Any help or insight?
edit: I am on Windows 10.