How can I fix this UBT Error?

I have been using UE4 for a couple of days now with the “Blueprints” and now working towards the “C++”. However, whenever I try to make a new project in the C++ section I get this error:

Running D:/UnrealEngine/Epic Games/UE_4.18/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject Development Win64 -project=“D:/UnrealEngine/Unreal Projects/MyProject/MyProject.uproject” -editorrecompile -progress -NoHotReloadFromIDE
Creating makefile for MyProject (no existing makefile)
Performing full C++ include scan (no include cache file)
@progress push 5%
Parsing headers for MyProjectEditor
Running UnrealHeaderTool “D:\UnrealEngine\Unreal Projects\MyProject\MyProject.uproject” “D:\UnrealEngine\Unreal Projects\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\MyProjectEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for MyProjectEditor in 9.2743323 seconds
@progress pop
Performing 9 actions (4 in parallel)
[2/9] Resource ModuleVersionResource.rc.inl
[3/9] Resource PCLaunch.rc
cl : Command line warning D9002 : ignoring unknown option ‘/source-charset:utf-8’
cl : Command line warning D9002 : ignoring unknown option ‘/execution-charset:utf-8’
SharedPCH.Engine.cpp
d:\unrealengine\epic games\ue_4.18\engine\source\runtime\core\public\Windows/WindowsPlatformCompilerSetup.h(19): error C2338: Visual Studio 2015 Update 3 is required to compile on Windows (http://go.microsoft.com/fwlink/?LinkId=691129)
ERROR: UBT ERROR: Failed to produce item: D:\UnrealEngine\Unreal Projects\MyProject\Binaries\Win64\UE4Editor-MyProject.dll
Total build time: 27.60 seconds (Local executor: 0.00 seconds)

Any assistance in fixing this issue would be greatly appreciated.

It says “Visual Studio 2015 Update 3 is required to compile on Windows”.

Try installing that. If you can’t get anywhere I suggest uninstalling UE4 and VS and then following an install guide.

Side note: some say to use 2017 but I use 2015 (with UE-4.18.1) so you can stick with that if you prefer.

Thank you for the help! I actually had got it to work shortly after posting this. I thought my VS2015 was on Update 3 but it was not.

That’s good to hear! Now on to the next problem, am i right? :slight_smile:

If you’re all good then please mark this as answered. GL!