UE 4.12.5 Source Cant Be Built

When I Click On GenerateFrojectFiles.bat I get This Error

Setting up Unreal Engine 4 project files…
Visual C++ 2015 toolchain does not appear to be correctly installed. Please verify that “Common Tools for Visual C++ 2015” was selected when installing Visual Studio 2015.
UnrealBuildTool Exception: ERROR: A game project path was not specified, which is required when generating project files using an installed build or passing -game on the command line
GenerateProjectFiles ERROR: UnrealBuildTool was unable to generate project files.
Press any key to continue . . .


i tried to generate it manualy
Unrealbuildtool.exe -2013 -projectfiles

i got this error only

UnrealBuildTool Exception: ERROR: A game project path was not specified, which is required when generating project files using an installed build or passing -game on the command line

i tried to use unrealbuildtool.exe from ue4.11 but also got a lot of errors

You need Visual studio 2015 for 4.12 and above, as the error log tells you

i’ve installed it. still giving this error
UnrealBuildTool Exception: ERROR: A game project path was not specified, which is required when generating project files using an installed build or passing -game on the command line

i think it’s a bug in the source of unrealbuildtool

i’ve installed it. still giving this error
UnrealBuildTool Exception: ERROR: A game project path was not specified, which is required when generating project files using an installed build or passing -game on the command line

i think it’s a bug in the source of unrealbuildtool

Hey -

When you installed Visual Studio 2015, did you also make sure to include the C++ Programming Language and the Common Tools for C++? These are not included (checked) by default and my be manually added during install. You can check this by running the uninstaller for VS2015 from the Control Panel and choosing Modify then find the Programming Languages->VisualC++->CommonTools for Visual C++2015 check boxes. If you check the box for Common Tools, the Visual C++ box should update with a square to indicate that a portion of the dropdown has been selected rather than the whole thing.

Cheers

Can you elaborate on what you are attempting to do and where you are getting this error? For my understanding, were you able to successfully build the engine? Are you attempting to compile changes to source code or are you trying to compile a project solution?

Leave the first problem. It’s solved.

But unreal build tool still give the same error.
ERROR: A game project path was not specified, which is required when generating project files using an installed build or passing -game on the command line

I’m trying to compile the original engine source without any change.
Downloaded from github. The same error with ue4.13.0

Hey -

You are referring to getting the “A game project path was not specified…” error message when running GenerateProjectFiles.bat, is that correct? Did Setup.bat complete without errors when you ran it? Just for reference, where are you saving / building the engine on your machine? If the engine is located within a nested folder, please try saving the downloaded engine folder to your desktop and run it again. If possible could you also include a screenshot of the output window when you run GenerateProjectfiles.bat?