x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Couldn't find Visual Studio Enterprise 2015

Hey guys,

I just git pulled the latest release of the UE4 source code. On this computer I had never installed UE4 before and I only have Visual Studio Enterprise 2015 installed. When I run GenerateProjectFiles.bat, however, it outputs, that the script found no version of Visual Studio installed. I already checked the Registry, and the InstallDir value is set and correct, so there should be no problems, right?

Anyone got an idea why it isn't working?

Regards,

Taxel

Product Version: UE 4.10
Tags:
more ▼

asked Nov 15 '15 at 03:41 PM in Installation & Setup

avatar image

Taxel
40 7 6 12

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

4 answers: sort voted first

Right after asking the second time, I started to play around with the PATH environment variable, which contained C:\Windows\system32 and C:\Windows\System32\

Moving the first one below/ behind the other one seems to have fixed the problem. Now I am getting UnrealBuildTool Exception: ERROR: Windows SDK v8.1 must be installed in order to build this target.

GenerateProjectFiles ERROR: UnrealBuildTool was unable to generate project files. but this should be fixable by just downloading Win SDK 8.1 manually, which I am doing right now. If this leads to problems, I will ask another question.

more ▼

answered Dec 11 '15 at 02:09 PM

avatar image

Taxel
40 7 6 12

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hi,

unfortunately the -2015 parameter does not work or print out a different error message. It was apparently only needed in 5.09.

Thanks for the answer nevertheless :D

EDIT: Since on Win10 you can copy from cmd, here is the full error message:

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.

more ▼

answered Nov 16 '15 at 11:06 PM

avatar image

Taxel
40 7 6 12

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hi!

If you want build solution for VS 2015 you need use parameter "-2015".

GenerateProjectFiles.bat -2015

more ▼

answered Nov 16 '15 at 09:14 AM

avatar image

svv3dUDN
8.5k 254 42 400

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Some time has passed and I tried downloading the source code and reinstalling binaries etc. several times. Still, the error message persists when running generateProjectFiles.bat with or without Admin rights.

I just don't see a way, could someone please help me?

more ▼

answered Dec 11 '15 at 01:51 PM

avatar image

Taxel
40 7 6 12

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question