Install/Compile Engine from source with VS 2017
I downloaded the release version of the Engine (4.15) and wanted to compile it from source. Before this I was using the pre-compiled 4.13 version so it's my first attempt at compiling the engine.
I have Visual Studio 2017 on Windows 10 and I have incurred in the following error when trying to run "GenerateProjectFiles.bat" after running Setup.bat:
(pasted from command line window)
I have installed the older Visual C++ Build Tools 2015 from http://landinghub.visualstudio.com/v...pp-build-tools and have both the VC++ 2017 v141 toolset (x86,x64) and the Visual Studio C++ core features,
I have also installed the Windows SDK 8.1, and have .NET Framework 4.5 and .NET Framework 4.6.2 SDK installed on my system (https://www.microsoft.com/net/download/framework)
I tried to open the UnrealBuildTool.csproj and to select a different version of the .NETframework target when prompted, but even so I get the same error as above when trying to launch GenerateProjectFiles.bat (regardless of whether I add "-2017 -CurrentPlatform -NoShippingConfigs" or not.)
asked Mar 05 '17 at 05:25 PM in Installation & Setup
Sorry for the delayed response. If you are still having trouble with this, try running the Visual Studio Installer and select the option to Modify your Visual Studio 2017 installation. In there, make sure the option for .NET desktop development is selected:
If it is not selected, you may need to uninstall your existing .NET framework installation first. In my case, this was not selected since I had the frameworks installed already for previous versions of Visual Studio. However, after installing and then removing the framework through the Visual Studio Installer, I was able to reproduce the error you described. Installing the framework again allowed me to successfully generate project files for Visual Studio 2017.
If it is already selected, deselect it and click Modify to remove the framework and then select it and click Modify again to reinstall it.
you need to check the "Unreal Engine Installer" box in the VS2017 installer. it'll check every required dependencies for VS2017 to work with UE4
answered Mar 19 '17 at 08:51 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here