Download

Build and compile errors

I tried to build UE4 source but always got errors.

Tried to reinstall windows SDK, checked “Game Development with C++” and “Unreal Engine Installer”, run Setup.bat, GenerateProjectFiles.bat run **UE4.sln **with Visual Studio 2017 (Development editor, W64), right click on the UE4 target and select **Build **and got this errors:

Severity Code Description Project File Line Suppression State
Error C1083 Cannot open include file: ‘nldef.h’: No such file or directory ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\shared\ipmib.h 37
Error Failed to produce item: C:\UnrealEngine-4.18\Engine\Intermediate\Build\Win64\ShaderCompileWorker\Development\ShaderCompileWorker-Core.lib ShaderCompileWorker C:\UnrealEngine-4.18\Engine\Intermediate\ProjectFiles\ERROR 1
Error MSB3075 The command “…\Build\BatchFiles\Build.bat ShaderCompileWorker Win64 Development -waitmutex” exited with code 5. Please verify that you have sufficient rights to run this command. ShaderCompileWorker C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets 44
Error C1083 Cannot open include file: ‘nldef.h’: No such file or directory UE4 C:\Program Files (x86)\Windows Kits\8.1\include\shared\ipmib.h 37
Error Failed to produce item: C:\UnrealEngine-4.18\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-Core.lib UE4 C:\UnrealEngine-4.18\Engine\Intermediate\ProjectFiles\ERROR 1
Error UnrealHeaderTool failed for target ‘UE4Editor’ (platform: Win64, module info: C:\UnrealEngine-4.18\Engine\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor.uhtmanifest, exit code: OtherCompilationError (5)). UE4 C:\UnrealEngine-4.18\Engine\Intermediate\ProjectFiles\EXEC 1
Error MSB3075 The command “…\Build\BatchFiles\Build.bat UE4Editor Win64 Development -waitmutex” exited with code 5. Please verify that you have sufficient rights to run this command. UE4 C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets 44