Master branch failed to compile

This is the error I’m getting:

ERROR : UBT error : Failed to produce item: F:\Github\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool-Core.pdb
Cumulative action seconds (6 processors): 0.00 building projects, 23.08 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.00 linking, 0.00 other
UBT execution time: 8.38 seconds
UnrealHeaderTool failed for target ‘UE4Editor’ (platform: Win64, module info: F:\Github\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UnrealHeaderTool.manifest).
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.

Any ideas?

Edit:

Here are the first few errors I’m getting.

1>f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(8): warning C4348: ‘TArray’ : redefinition of default parameter : parameter 2
1> F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(16) : see declaration of ‘TArray’
1>f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(8): warning C4348: ‘TArray’ : redefinition of default parameter : parameter 2
1> F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(16) : see declaration of ‘TArray’
1>f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(8): warning C4348: ‘TArray’ : redefinition of default parameter : parameter 2
1> F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(16) : see declaration of ‘TArray’
1>f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(8): warning C4348: ‘TArray’ : redefinition of default parameter : parameter 2
1> F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(16) : see declaration of ‘TArray’
1>f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(8): warning C4348: ‘TArray’ : redefinition of default parameter : parameter 2
1> F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(16) : see declaration of ‘TArray’
1>F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(51): error C4348: ‘TMap’ : redefinition of default parameter : parameter 3
1> f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(11) : see declaration of ‘TMap’
1>F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(51): error C4348: ‘TMap’ : redefinition of default parameter : parameter 4
1> f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(11) : see declaration of ‘TMap’
1>F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(52): error C4348: ‘TMultiMap’ : redefinition of default parameter : parameter 3
1> f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(12) : see declaration of ‘TMultiMap’
1>F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(52): error C4348: ‘TMultiMap’ : redefinition of default parameter : parameter 4
1> f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(12) : see declaration of ‘TMultiMap’
1>F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(51): error C4348: ‘TMap’ : redefinition of default parameter : parameter 3
1> f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(11) : see declaration of 'TMap’F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(51) : error C4348: ‘TMap’ : redefinition of default parameter : parameter 3
1> f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(11) : see declaration of ‘TMap’
1>F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(51): error C4348: ‘TMap’ : redefinition of default parameter : parameter 4
1> f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(11) : see declaration of ‘TMap’
1>F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(52): error C4348: ‘TMultiMap’ : redefinition of default parameter : parameter 3
1> f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(12) : see declaration of ‘TMultiMap’
1>F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(52): error C4348: ‘TMultiMap’ : redefinition of default parameter : parameter 4
1> f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(12) : see declaration of ‘TMultiMap’
1>F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(51): error C4348: ‘TMap’ : redefinition of default parameter : parameter 4
1> f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(11) : see declaration of ‘TMap’
1>F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(52): error C4348: ‘TMultiMap’ : redefinition of default parameter : parameter 3
1> f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(12) : see declaration of ‘TMultiMap’
1>F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(52): error C4348: ‘TMultiMap’ : redefinition of default parameter : parameter 4
1> f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(12) : see declaration of ‘TMultiMap’
1>F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(51): error C4348: ‘TMap’ : redefinition of default parameter : parameter 3
1> f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(11) : see declaration of ‘TMap’
1>F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(51): error C4348: ‘TMap’ : redefinition of default parameter : parameter 4
1> f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(11) : see declaration of ‘TMap’
1>F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(52): error C4348: ‘TMultiMap’ : redefinition of default parameter : parameter 3
1> f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(12) : see declaration of ‘TMultiMap’
1>F:\Github\UnrealEngine\Engine\Source\Runtime\Core\Public\Core.h(52): error C4348: ‘TMultiMap’ : redefinition of default parameter : parameter 4
1> f:\github\unrealengine\engine\source\runtime\core\public\Containers/ContainersFwd.h(12) : see declaration of 'TMultiMap’

Your missing the real error message, it would be a couple of lines above what you copied. I suggest copying the whole output window (do a ctrl-a).

Does the 4.5 branch compile? If it does it might be some bad push that they will fix soon, but if nobody else complained about that then i doubt that’s the reason. Try pulling the master branch to another folder or drive and do a fresh install. Make sure you have enough disk space. Not sure what more to suggest :stuck_out_tongue:

I would, but it’s an exceptionally long output.

Yeah, 4.5 compiles just fine. I’m assuming it’s not just me and see if it compiles later in the week.

Well there’s an experimental feature that’s just been added to the master branch that I’d like to check out, but that can wait. It’s my first time trying the master branch so I wasn’t sure if this was normal or not.

If 4.5 compiles just fine then it might be some bad push. Wait a little bit more to see if they fix it, meanwhile use 4.5 branch.

It shouldn’t be normal, master branches are for more stable pushes, the develop branch should be for in development pushes, but either way, you should always check before pushing that the code at least compiles.

4.5.1 release compiles just fine. Ensure that you are on a stable tag and try to rebuild from a clean install (wipe out the engine, clone it back, etc).

If the question is answered please mark as complete to close it :slight_smile: