# Mixed Reality Capture - errors LNK2005,LNK2019, LNK1120 when launching/packaging

**URL:** <https://forums.unrealengine.com/t/mixed-reality-capture-errors-lnk2005-lnk2019-lnk1120-when-launching-packaging/468629>\
**Category:** XR Development\
**Tags:** Mixed-Reality, unreal-engine, question\
**Created:** [July 25, 2020, 9:06pm UTC](https://forums.unrealengine.com/t/mixed-reality-capture-errors-lnk2005-lnk2019-lnk1120-when-launching-packaging/468629 "2020-07-25T21:06:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_1586418d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1586418d](https://forums.unrealengine.com/u/anonymous_user_1586418d)\
**Post date:** [July 25, 2020, 9:06pm UTC](https://forums.unrealengine.com/t/mixed-reality-capture-errors-lnk2005-lnk2019-lnk1120-when-launching-packaging/468629/1 "2020-07-25T21:06:52Z")

</div>

Hello all,

I am totally new to Unreal and I am working on an existing VR project, trying to add in MRC function. I have done the calibration, and followed the instructions, placing the .sav file in the project folder Saved/SaveGames. I have enabled the MRC plugin. Also, I am able to launch correctly without the plugin enabled. With the plugin enabled, I get the following output of the error. Any help on this is greatly appreciated, many thanks! I have made bold the parts that I think are the most important in the output.

LogSlate: FSceneViewport::OnFocusLost() reason 0  
LogSlate: Took 0.000188 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/Slate/Fonts/DroidSansMono.ttf’ (77K)  
LogSlate: Window ‘Output Log’ being destroyed  
LogSlate: Window ‘Output Log’ being destroyed  
LogSlate: FSceneViewport::OnFocusLost() reason 2  
UATHelper: Packaging (Windows (64-bit)): Running AutomationTool…  
UATHelper: Packaging (Windows (64-bit)): Parsing command line: -ScriptsForProject=C:/Users//Pictures/DysonAssembly/DysonAssembly.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=C:/Users//Pictures/DysonAssembly/DysonAssembly.uproject -cook -stage -archive -archivedirectory=C:/Users//Pictures -package -client  
config=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -CrashReporter -utf8output  
UATHelper: Packaging (Windows (64-bit)): Setting up ProjectParams for C:\Users\Pictures\DysonAssembly\DysonAssembly.uproject  
UATHelper: Packaging (Windows (64-bit)): \*\*\*\*\*\*\*\*\*\* BUILD COMMAND STARTED \*\*\*\*\*\*\*\*\*\*  
UATHelper: Packaging (Windows (64-bit)): Running: C:\Program Files\Epic Games\UE\_4.19\Engine\Binaries\DotNET\UnrealBuildTool.exe DysonAssembly Win64 Development -Project=C:\Users\Pictures\DysonAssembly\DysonAssembly.uproject C:\Users\Pictures\DysonAssembly\DysonAssembly.uproject -NoUBTMakefiles -remoteini=“C:\Users\Pictures\Dyson  
Assembly” -skipdeploy -noxge -generatemanifest -NoHotReload  
UATHelper: Packaging (Windows (64-bit)): Took 1.0388754s to run UnrealBuildTool.exe, ExitCode=0  
UATHelper: Packaging (Windows (64-bit)): Running: C:\Program Files\Epic Games\UE\_4.19\Engine\Binaries\DotNET\UnrealBuildTool.exe DysonAssembly Win64 Development -Project=C:\Users\Pictures\DysonAssembly\DysonAssembly.uproject C:\Users\Pictures\DysonAssembly\DysonAssembly.uproject -NoUBTMakefiles -remoteini=“C:\Users\Pictures\Dyson  
Assembly” -skipdeploy -noxge -NoHotReload -ignorejunk  
LogSlate: FSceneViewport::OnFocusLost() reason 0  
UATHelper: Packaging (Windows (64-bit)): Performing 1 actions (4 in parallel)  
UATHelper: Packaging (Windows (64-bit)): [1/1] Link DysonAssembly.exe  
UATHelper: Packaging (Windows (64-bit)): UE4-**MixedRealityCalibration.lib(Module.MixedRealityCalibration.cpp.obj) : error LNK2005: “void \_\_cdecl EmptyLinkFunctionForStaticInitializationMixedRealityFramework(void)” (?EmptyLinkFunctionForStaticInitializationMixedRealityFramework@@YAXXZ) already defined in UE4-MixedRealityFramework.lib(Module.MixedRealityFrame  
work.cpp.obj)**  
UATHelper: Packaging (Windows (64-bit)): Creating library C:\Users\Pictures\DysonAssembly\Binaries\Win64\DysonAssembly.lib and object C:\Users\Pictures\DysonAssembly\Binaries\Win64\DysonAssembly.exp  
**UATHelper: Packaging (Windows (64-bit)): UELinkerFixups.cpp.obj : error LNK2019: unresolved external symbol “void \_\_cdecl EmptyLinkFunctionForStaticInitializationMixedRealityCalibration(void)” (?EmptyLinkFunctionForStaticInitializationMixedRealityCalibration@@YAXXZ) referenced in function “void \_\_cdecl UELinkerFixups(void)” (?UELinkerFixups@@YAXXZ)**  
UATHelper: Packaging (Windows (64-bit)): C:\Users\Pictures\DysonAssembly\Binaries\Win64\DysonAssembly.exe : fatal error LNK1120: 1 unresolved externals  
**UATHelper: Packaging (Windows (64-bit)): ERROR: UBT ERROR: Failed to produce item: C:\Users\Pictures\DysonAssembly\Binaries\Win64\DysonAssembly.exe**  
UATHelper: Packaging (Windows (64-bit)): Total build time: 7.91 seconds (Local executor: 0.00 seconds)  
UATHelper: Packaging (Windows (64-bit)): Took 8.0751221s to run UnrealBuildTool.exe, ExitCode=5  
UATHelper: Packaging (Windows (64-bit)): ERROR: Command failed (Result:5): C:\Program Files\Epic Games\UE\_4.19\Engine\Binaries\DotNET\UnrealBuildTool.exe DysonAssembly Win64 Development -Project=C:\Users\Pictures\DysonAssembly\DysonAssembly.uproject C:\Users\Pictures\DysonAssembly\DysonAssembly.uproject -NoUBTMakefiles -remoteini=“C:\User  
s\Pictures\DysonAssembly” -skipdeploy -noxge -NoHotReload -ignorejunk. See logfile for details: ‘UnrealBuildTool-2020.07.24-21.55.52.txt’  
UATHelper: Packaging (Windows (64-bit)): (see C:\Users\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE\_4.19\UAT\_Log.txt for full exception trace)  
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=5 (5)  
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED  
PackagingResults: Error: UBT ERROR: Failed to produce item: C:\Users\Pictures\DysonAssembly\Binaries\Win64\DysonAssembly.exe  
PackagingResults: Error: Command failed (Result:5): C:\Program Files\Epic Games\UE\_4.19\Engine\Binaries\DotNET\UnrealBuildTool.exe DysonAssembly Win64 Development -Project=C:\Users\Pictures\DysonAssembly\DysonAssembly.uproject C:\Users\Pictures\DysonAssembly\DysonAssembly.uproject -NoUBTMakefiles -remoteini=“C:\Users\Pictures\Dys  
onAssembly” -skipdeploy -noxge -NoHotReload -ignorejunk. See logfile for details: ‘UnrealBuildTool-2020.07.24-21.55.52.txt’  
PackagingResults: Error: Unknown Error  
LogSlate: FSceneViewport::OnFocusLost() reason 0

---

<div class="post-metadata">

**Author:** ![ABFdeveloper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ABFdeveloper](https://forums.unrealengine.com/u/ABFdeveloper)\
**Post date:** [January 23, 2025, 2:20pm UTC](https://forums.unrealengine.com/t/mixed-reality-capture-errors-lnk2005-lnk2019-lnk1120-when-launching-packaging/468629/2 "2025-01-23T14:20:16Z")

</div>

i am facing same issue. found any fix?
