Download

Error MSB3075 When Building UE4

I downloaded Unreal Engine’s source code by following the instructions on GitHub, but I’m getting this error when I build the engine:


2>UnrealBuildTool : error : UBT ERROR: Failed to produce item: D:\UE4\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\MovieSceneTools\UE4Editor-MovieSceneTools.lib
2> (see ../Programs/UnrealBuildTool/Log.txt for full exception trace)
2>Total build time: 51.23 seconds (Parallel executor: 0.00 seconds)
2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command.
2>Done building project "UE4.vcxproj" -- FAILED.
========== Build: 1 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========

I am using Visual Studio 2017 and Unreal Engine v4.20.3