Package Project for Windows 64 fails - Unable to find Vulkan-1.lib

Tested in both 4.14 Preview and 4.13.2

Steps to recreate:

  1. Launch the 4.14 Preview 3 Project Browser.
  2. Select New Project > C++ Project > Blank
  3. Build the project in Visual Studio and run.
  4. In the Editor, Select File > Package Project > Windows 64
  5. All options are default.

I do not the Vulkan SDK installed, however I had it installed in the past.

The following is the error message:

UATHelper: Packaging (Windows (64-bit)): Running AutomationTool...
UATHelper: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=C:/UE4/Test4_14/Test4_14.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=C:/UE4/Test4_14/Test4_14.uproject -cook -stage -archive -archivedirectory=C:/UE4/Test4_14/Final -package -clientconfig=Development -ue4exe=UE4Editor
-Cmd.exe -SkipCookingEditorContent -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 C:\UE4\Test4_14\Test4_14.uproject
UATHelper: Packaging (Windows (64-bit)): Project.Build: ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\UE4\Epic Games\4.14\Engine\Binaries\DotNET\UnrealBuildTool.exe Test4_14 Win64 Development -Project=C:\UE4\Test4_14\Test4_14.uproject  C:\UE4\Test4_14\Test4_14.uproject  -remoteini="C:\UE4\Test4_14" -noxge -generatemanifest -NoHotReload
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 0.8245835s to run UnrealBuildTool.exe, ExitCode=0
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\UE4\Epic Games\4.14\Engine\Binaries\DotNET\UnrealBuildTool.exe Test4_14 Win64 Development -Project=C:\UE4\Test4_14\Test4_14.uproject  C:\UE4\Test4_14\Test4_14.uproject  -remoteini="C:\UE4\Test4_14" -noxge -NoHotReload -ignorejunk
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Performing 1 actions (4 in parallel)
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: [1/1] Link Test4_14.exe
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: LINK : fatal error LNK1181: cannot open input file 'vulkan-1.lib'
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\UE4\Test4_14\Binaries\Win64\Test4_14.exe
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Total build time: 2.98 seconds
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 3.1162057s 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:\UE4\Epic Games\4.14\Engine\Binaries\DotNET\UnrealBuildTool.exe Test4_14 Win64 Development -Project=C:\UE4\Test4_14\Test4_14.uproject  C:\UE4\Test4_14\Test4_14.uproject  -remo
teini="C:\UE4\Test4_14" -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2016.11.14-16.24.45.txt' 
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 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, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 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, Dictionary`2 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, Dictionary`2 EnvVars)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Dictio
nary`2 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(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.Automation.Process(String[] Arguments)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
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

Hey jCoder,

I’m not seeing the same issue occur on my end. Are you sure you removed any references to the Vulkan SDK that may be remaining and that you uninstalled it properly?

I’d recommend trying the solution listed in the link below:

Let me know if that helps.

Have a great day