Packaging fails - fatal error LNK1181: cannot open input file 'tbbmalloc.lib'

Hello,

I am having a problem with packaging. I have migrated my level to UE4.13 vr template in order to use the teleport system with HTC .

Here is the log:

UATHelper: Packaging (Windows (64-bit)): Running AutomationTool…
UATHelper: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=“F:/Documents/Unreal Projects/VirtualReality_Temp/VirtualReality_Temp.uproject” BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=“F:/Documents/Unreal Projects/VirtualRe
UATHelper: Packaging (Windows (64-bit)): ality_Temp/VirtualReality_Temp.uproject” -cook -stage -archive -archivedirectory=“F:/Documents/Unreal Projects/Tom_Kitchen 4.13/Packaged” -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -CrashReporter -utf8output
UATHelper: Packaging (Windows (64-bit)): Automation.Process: Setting up command environment.
UATHelper: Packaging (Windows (64-bit)): BuildCookRun.SetupParams: Setting up ProjectParams for F:\Documents\Unreal Projects\VirtualReality_Temp\VirtualReality_Temp.uproject
UATHelper: Packaging (Windows (64-bit)): Project.Build: ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\Program Files\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe VirtualReality_Temp Win64 Development -Project=“F:\Documents\Unreal Projects\VirtualReality_Temp\VirtualReality_Temp.uproject” “F:\Documents\Unreal Projects
UATHelper: Packaging (Windows (64-bit)): \VirtualReality_Temp\VirtualReality_Temp.uproject” -remoteini=“F:\Documents\Unreal Projects\VirtualReality_Temp” -noxge -generatemanifest -NoHotReload
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 2.816161s to run UnrealBuildTool.exe, ExitCode=0
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\Program Files\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe VirtualReality_Temp Win64 Development -Project=“F:\Documents\Unreal Projects\VirtualReality_Temp\VirtualReality_Temp.uproject” “F:\Documents\Unreal Projects
UATHelper: Packaging (Windows (64-bit)): \VirtualReality_Temp\VirtualReality_Temp.uproject” -remoteini=“F:\Documents\Unreal Projects\VirtualReality_Temp” -noxge -NoHotReload -ignorejunk
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Creating makefile for VirtualReality_Temp (changes to target files)
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Performing 1 actions (4 in parallel)
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: [1/1] Link VirtualReality_Temp.exe
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: LINK : fatal error LNK1181: cannot open input file ‘tbbmalloc.lib’
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: F:\Documents\Unreal Projects\VirtualReality_Temp\Binaries\Win64\VirtualReality_Temp.exe
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Total build time: 4.93 seconds
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 5.053289s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe VirtualReality_Temp Win64 Development
UATHelper: Packaging (Windows (64-bit)): -Project=“F:\Documents\Unreal Projects\VirtualReality_Temp\VirtualReality_Temp.uproject” “F:\Documents\Unreal Projects\VirtualReality_Temp\VirtualReality_Temp.uproject” -remoteini=“F:\Documents\Unreal Projects\VirtualReality_Temp” -noxge -NoHotReload -ignorejunk. See logfile for details: ‘UnrealBuildTool-2016.09.14-
13.04.05.txt’
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary2 EnvVars) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary2 EnvVars)
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary2 EnvVars) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary2 PlatformEnvVars, Nullable1 InChangelistNumberOverride, Dictio
nary2 InTargetToManifest) UATHelper: Packaging (Windows (64-bit)): at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) UATHelper: Packaging (Windows (64-bit)): at BuildCookRun.DoBuildCookRun(ProjectParams Params) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.BuildCommand.Execute() UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Automation.Process(String[] Arguments) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Program.MainProc(Object ) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.InternalUtils.RunSingleInstance(Func2 Main, Object )
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Program.Main()
UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults:Error: Error Unknown Error
LogEditorViewport: Clicking on Actor (LMB): MotionControllerPawn_C (MotionControllerPawn)
LogSavePackage: Save=5607.51ms
LogSavePackage: Moving ‘F:/Documents/Unreal Projects/VirtualReality_Temp/Saved/Minimal_Default1_Auto17BA8858542FC203BB7B48CBA405F273D.tmp’ to ‘F:/Documents/Unreal Projects/VirtualReality_Temp/Saved/Autosaves/Game/StarterContent/Maps/Minimal_Default1_Auto1.umap’
LogSavePackage:Display: Finished SavePackage F:/Documents/Unreal Projects/VirtualReality_Temp/Saved/Autosaves/Game/StarterContent/Maps/Minimal_Default1_Auto1.umap
LogFileHelpers: Editor autosave (incl. sublevels) for ‘/Game/StarterContent/Maps/Minimal_Default1’ took 5.777
LogFileHelpers: Editor autosave (incl. sublevels) for all levels took 5.777

Hello Robbie222,

I have a quick suggestion for you. Could you try disabling your web browser widget plugin and let me know if this allows you to package?

Hello Robbie222,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.

Thanks

Hello Rudy,

I am afraid my Web Browser Plugin is disabled by default. I have tried now with 4.13.1 and still fails.

Any other ideas?

Thanks!

Looks like same error even with 4.13.1 and Web browser widget plugin disabled (as default).

UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: LINK : fatal error LNK1181: cannot open input file ‘tbbmalloc.lib’
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: F:\Documents\Unreal Projects\VirtualReality_Temp\Binaries\Win64\VirtualReality_Temp.exe

Hello again,

With 4.13.1 I have started a new project and selected the VR template just to check. Did nothing else other than package to Windows 64 bit. I get the same fatal error. link text

Update: I have found the issue. It’s substance plugin. After disabling it packaging works.