# \[Bug report, UE 4.13\] Error LNK2011: precompiled object not linked in; image may not run

**URL:** <https://forums.unrealengine.com/t/bug-report-ue-4-13-error-lnk2011-precompiled-object-not-linked-in-image-may-not-run/367037>\
**Category:** Feedback & Requests\
**Tags:** unreal-engine, bug-report, UE4, question\
**Created:** [August 13, 2016, 12:20pm UTC](https://forums.unrealengine.com/t/bug-report-ue-4-13-error-lnk2011-precompiled-object-not-linked-in-image-may-not-run/367037 "2016-08-13T12:20:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_590cb5931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_590cb5931](https://forums.unrealengine.com/u/anonymous_user_590cb5931)\
**Post date:** [August 13, 2016, 12:20pm UTC](https://forums.unrealengine.com/t/bug-report-ue-4-13-error-lnk2011-precompiled-object-not-linked-in-image-may-not-run/367037/1 "2016-08-13T12:20:48Z")

</div>

Hello.

There was some bug, that fixed with

```
SHA-1: 3ea72406dce30be0e12c7841d2412db2aeb3de6c

* Failed link actions during a hot reload now output a 'failed.hotreload' file in the destination folder to indicate that another link attempt is needed.
This is because we can't distinguish between a successful compile with a failed link action, and a compile with no changes which requires no new module.

#jira UE-31575
#rb robert.manuszewski

```

But it looks, like this bug isn’t fixed correct.

In some times, compiling of the project from the UE editor rising an error:

```
Recompiling MySQLConnectorUE4Plugin...
Recompiling SQLite3UE4Plugin...
Recompiling VictoryUMG...
Recompiling MyGame...
Building UnrealBuildTool...
Building UnrealBuildTool in e:/UnrealEngine/...
Running: C:\WINDOWS\system32\cmd.exe /c "e:\UnrealEngine\Engine\Intermediate\Build\UnrealBuildTool\BuildUBT.bat"
Launching UnrealBuildTool... [e:/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe MyGame -ModuleWithSuffix MySQLConnectorUE4Plugin 5398 -ModuleWithSuffix SQLite3UE4Plugin 3680 -ModuleWithSuffix VictoryUMG 8177 -ModuleWithSuffix MyGame 2625 Win64 Development -editorrecompile -canskiplink "e:/MyGame/MyGame.uproject" -2015]
Warning: Starting HotReload took 6.8s.
CompilerResultsLog: New page: Compilation - Aug 13, 2016, 6:09:43 PM
CompilerResultsLog: Info Compiling game modules for hot reload
CompilerResultsLog: Info Performing 2 actions (2 in parallel)
CompilerResultsLog: Info Module.MySQLConnectorUE4Plugin.cpp
CompilerResultsLog: Info [2/2] Link UE4Editor-MySQLConnectorUE4Plugin-5398.dll
CompilerResultsLog: Info Creating library e:\MyGame\Plugins\MySQLConnectorUE4Plugin\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MySQLConnectorUE4Plugin-5398.lib and object e:\MyGame\Plugins\MySQLConnectorUE4Plugin\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MySQLConnectorUE4Plugin-5398.exp
CompilerResultsLog:Error: Error Module.MySQLConnectorUE4Plugin.cpp.obj : error LNK2011: precompiled object not linked in; image may not run
CompilerResultsLog:Error: Error e:\MyGame\Plugins\MySQLConnectorUE4Plugin\Binaries\Win64\UE4Editor-MySQLConnectorUE4Plugin-5398.dll : fatal error LNK1120: 1 unresolved externals
CompilerResultsLog: Info ERROR: UBT ERROR: Failed to produce item: e:\MyGame\Plugins\MySQLConnectorUE4Plugin\Binaries\Win64\UE4Editor-MySQLConnectorUE4Plugin-5398.dll
CompilerResultsLog: Info Total build time: 43,17 seconds
LogMainFrame: MainFrame: Module compiling took 53.593 seconds
Warning: HotReload failed, recompile failed

```

But if I close UE Editor, remove Binaries folder in the projects dir, all binaries compiled very well, if I open UE Editor after this.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_61b4a355](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61b4a355](https://forums.unrealengine.com/u/anonymous_user_61b4a355)\
**Post date:** [August 15, 2016, 1:17pm UTC](https://forums.unrealengine.com/t/bug-report-ue-4-13-error-lnk2011-precompiled-object-not-linked-in-image-may-not-run/367037/2 "2016-08-15T13:17:15Z")

</div>

Hey ,

I am having a difficult time trying to reproduce this issue. Do you have any more information on how to reliably make this compiling error occur?

Thanks.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_590cb5931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_590cb5931](https://forums.unrealengine.com/u/anonymous_user_590cb5931)\
**Post date:** [August 15, 2016, 2:22pm UTC](https://forums.unrealengine.com/t/bug-report-ue-4-13-error-lnk2011-precompiled-object-not-linked-in-image-may-not-run/367037/3 "2016-08-15T14:22:38Z")

</div>

Hello, Kyle.

It’s really interesting situation, because I got tons of this error and I could 100% reproduce it yesterday and day before yesterday, but today I can’t reproduce it… I will not close this issue in 3 days. If it will not be reproducible, I’ll close issue after 3 days…

Thank you!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_590cb5931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_590cb5931](https://forums.unrealengine.com/u/anonymous_user_590cb5931)\
**Post date:** [August 19, 2016, 4:51pm UTC](https://forums.unrealengine.com/t/bug-report-ue-4-13-error-lnk2011-precompiled-object-not-linked-in-image-may-not-run/367037/4 "2016-08-19T16:51:05Z")

</div>

Yeah, I’ve seen it and already posted in that issue link to this issue ))).
