Could I get some help with a strange error when building Unreal Engine/Editor?

Hi guys,

I’m getting an strange error when trying to build the engine. It looks that it can’t create the item ‘UE4Editor-UnrealEd.lib’. Error does’t give much more information and that is why I’m asking for some light here. Also, other lib files build without problem.

2> -------- End Detailed Actions Stats -----------------------------------------------------------
2>ERROR : UBT error : Failed to produce item: D:\GitHub\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-UnrealEd.lib
2> Cumulative action seconds (4 processors): 0,00 building projects, 1213,24 compiling, 0,00 creating app bundles, 0,00 generating debug info, 0,00 linking, 0,00 other
2> UBT execution time: 793,74 seconds
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command “…..\Build\BatchFiles\Build.bat UE4Editor Win64 Development” exited with code -1.

I got it with a recently installed VS 2013, so I don’t think it is due to some wrong config as everything is pretty much by default. Also, I’m building the ‘Development Editor’ for ‘Win64’.

Any ideas?? Any help would be much appreciated!

Thanks a lot in advance,
.

“UBT error : Failed to produce item” is not main error, but cause of error which prevented for that item from produce. scroll up and see if the no error when source file for that file been compiled. Alternatively pastebin whole log and give link to it here

Hi,

Thanks but I believe I figured it out. Silly me, I downloaded the files for the preview build, not the ones for 4.1, and also didn’t had the DirectX Runtime so I guess one or both of those things were preventing me from building the solution. Now I have both the files for 4.1 and June’s DirectX Runtime and it works!

Thanks,
.

I have the same issue, however, I did use the preview build and its dependencies. Everything compiles, except for UE4Editor-UnrealEd.lib. Exact same error as above.

Hello,

Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes. If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, could you please submit a new report for it.

Thanks!