x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[Closed] LNK1104 When Packaging Project

Hello!

The project that I have been working on for a while is finally finished! (hooray) When I try to package the project to its own stand-alone game I keep getting a fatal error that causes the packaging to fail. I have tried everything that I could find and nothing has helped. We have a few classes that have been written in VS2013 Community and a plugin to recognize a logitech driving controller (wheel and pedals).

The error is LNK1104:

 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: [11/11] Link DrivingSimulator.exe
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: WheelLib.lib(MyWheelLib.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: LINK : fatal error LNK1104: cannot open file 'C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x64\xinput.LIB'
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: -------- End Detailed Actions Stats -----------------------------------------------------------
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\Users\Synapse\Desktop\DrivingSimulator\Binaries\Win64\DrivingSimulator.exe
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: Cumulative action seconds (8 processors): 0.00 building projects, 31.44 compiling, 0.00 creating app bundles, 0.00 generating debug info, 8.68 linking, 0.00 other
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: UBT execution time: 51.01 seconds
 MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 51.1229241s to run UnrealBuildTool.exe, ExitCode=2
 MainFrameActions: Packaging (Windows (64-bit)): ErrorReporter.Error: ERROR: AutomationTool error: Command failed (Result:2): C:\Program Files\Epic Games\4.7\Engine\Binaries\DotNET\UnrealBuildTool.exe DrivingSimulator Win64 Development  C:\Users\Synapse\Desktop\DrivingSimulator\DrivingSimulator.uproject 
 MainFrameActions: Packaging (Windows (64-bit)):  -noxge -rocket -NoHotReloadFromIDE. See logfile for details: 'UnrealBuildTool.txt' 
 MainFrameActions: Packaging (Windows (64-bit)): BuildCommand.Execute: ERROR: BUILD FAILED
 MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception:
 MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: Exception in AutomationTool: Command failed (Result:2): C:\Program Files\Epic Games\4.7\Engine\Binaries\DotNET\UnrealBuildTool.exe DrivingSimulator Win64 Development  C:\Users\Synapse\Desktop\DrivingSimulator\DrivingSimulator.uproject 
 MainFrameActions: Packaging (Windows (64-bit)):  -noxge -rocket -NoHotReloadFromIDE. See logfile for details: 'UnrealBuildTool.txt' 
 MainFrameActions: Packaging (Windows (64-bit)): Stacktrace:    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars)
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.UE4Build.BuildWithUBT(String ProjectName, String TargetName, UnrealTargetPlatform TargetPlatform, String Config, String UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars)
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InForceNonUnity, Boolean InForceUnity, Dictionary`2 PlatformEnvVars)
 MainFrameActions: Packaging (Windows (64-bit)):    at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL)
 MainFrameActions: Packaging (Windows (64-bit)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
 MainFrameActions: Packaging (Windows (64-bit)):    at BuildCommand.Execute()
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Automation.Process(String[] CommandLine)
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Program.MainProc(Object Param)
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param)
 MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Program.Main()
 MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: Command failed (Result:2): C:\Program Files\Epic Games\4.7\Engine\Binaries\DotNET\UnrealBuildTool.exe DrivingSimulator Win64 Development  C:\Users\Synapse\Desktop\DrivingSimulator\DrivingSimulator.uproject  -noxge -rocket -NoHotReloadF
 MainFrameActions: Packaging (Windows (64-bit)): romIDE. See logfile for details: 'UnrealBuildTool.txt' 
 MainFrameActions: Packaging (Windows (64-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
 MainFrameActions: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=2
 MainFrameActions: Packaging (Windows (64-bit)): Domain_ProcessExit
 MainFrameActions: Packaging (Windows (64-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
 MainFrameActions: Packaging (Windows (64-bit)): copying UAT log files...
 MainFrameActions: Packaging (Windows (64-bit)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
 MainFrameActions: Packaging (Windows (64-bit)): BUILD FAILED

What can I do to fix my error? We are running UE 4.7.6.

Thanks in advance!

Product Version: UE 4.7
Tags:
more ▼

asked Jul 27 '15 at 03:02 PM in Packaging & Deployment

avatar image

VEMI Lab
1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

The question has been closed Mar 24 '16 at 06:32 PM by Samantha Sutton for the following reason:

Issue is now outdated. If you are still experiencing this issue, please make a new post for assistance. Thanks!


0 answers: sort voted first

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question