UnrealHeaderTool build failed

When I want to build UE4 editor. unrealheadertools is failed to build.
the error message shows below

1>Building UnrealHeaderTool…

1>Using Visual Studio 2017 14.16.27034 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023) and Windows 10.0.17763.0 SDK (C:\Program Files (x86)\Windows Kits\10).

1>[1/43] Compile Module.TraceLog.cpp

1>[2/43] Compile BuildSettings.cpp

1>[3/43] Compile Module.UnrealHeaderTool.cpp

1>EXEC : error : Unable to create child process

1>dbsbuild : error : aborting build on error (4294967295)

I use VS2017 to build the ue4 project.And Unreal build tools seems build successful.

Per the instructions here, try closing the editor first if open, deleting both the ‘.vs’ and ‘Intermediate’ folders, then left clicking the uproject file and choosing ‘Generate Visual Studio Files’ and then rebuilding the project in Visual Studio.

Thank you for your answer.
But I have already tried this one.
After I rebuild the project, It still get the same error

1 Like

I have fixed this problem.
It seems that my Visual Stdio 2017 have lost the authority of administrator.
Run VS 2017 as administrator will solve this problem.

Ouch, I had this same issue. totally different root cause.

First fifteen times I tried to build project at a c:/really_long/really_complex/really_long_directory_path on Windows. I tried it once at c:/temp/ and that totally nailed it. (i.e. really short path name.) Who’d have thought that would generate a error with a build fail (and virtually no description) ?

Perhaps this might help others? I hate when error messages are worthless.

1 Like