Hi guys.
I’m trying to package my game, and I’m having loads of trouble… I’m getting this error: (cleaned for the sake of forumers)
UnrealBuildTool: LINK : fatal error LNK1181: cannot open input file 'HACD_64.lib'
UnrealBuildTool: -------- End Detailed Actions Stats -----------------------------------------------------------
UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: D:\Unreal Projects\Unsinkable\Binaries\Win64\Unsinkable.exe
UnrealBuildTool: Total build time: 40.26 seconds
CommandUtils.Run: Run: Took 40.2973048s to run UnrealBuildTool.exe, ExitCode=5
BuildCommand.Execute: ERROR: BUILD FAILED
Note that this happens when I build the game in the “Development Editor” mode (But not “Development Game”) in visual studio. It also happens when I package in every platform: windows 32, windows 64, html5, etc…
After googling some, I found that this library is the “HACD” thirdparty program that generates 3D collision shapes. It’s used only in the editor, so it makes sense it VS would never look at it while using “Development Game”.
If you peek into the “Engine/Source/Thirdparty/HACD” Directory, you see a single file… “HACD.Build.cs”. Within this file, it has these lines:
if (Target.Configuration == UnrealTargetConfiguration.Debug && BuildConfiguration.bDebugBuildsActuallyUseDebugCRT)
{
PublicAdditionalLibraries.Add("HACDd_64.lib");
}
else
{
PublicAdditionalLibraries.Add("HACD_64.lib");
}
…So it looks like whenever I try to package in debug mode, this will happen: it won’t be able to find the .lib and fail. HOWEVER I’m trying to package in Development mode. Sooo… I’m sad
I’ve tried reinstalling everything, but does anyone have any sort of directory or file within this place: