# Fatal Error when trying to compile (Linking Error LNK1104)

**URL:** <https://forums.unrealengine.com/t/fatal-error-when-trying-to-compile-linking-error-lnk1104/332399>\
**Category:** Community & Industry Discussion\
**Tags:** unreal-engine, not, file, question, linking-error\
**Created:** [September 16, 2015, 2:17pm UTC](https://forums.unrealengine.com/t/fatal-error-when-trying-to-compile-linking-error-lnk1104/332399 "2015-09-16T14:17:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pseudocorpus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pseudocorpus/32/453689_2.png) [@Pseudocorpus](https://forums.unrealengine.com/u/Pseudocorpus)\
**Post date:** [September 16, 2015, 2:17pm UTC](https://forums.unrealengine.com/t/fatal-error-when-trying-to-compile-linking-error-lnk1104/332399/1 "2015-09-16T14:17:00Z")

</div>

At the moment I am receiving this error:

> Error LNK1104 cannot open file  
> ‘C:\Users\brain\Documents\Unreal  
> Projects\StruggleOfMages\Intermediate\Build\Win64\StruggleOfMages\Development\UE4Editor-StruggleOfMages.dll.response’

It pops up when I package my project, close the editor and try to compile the code again (in VS 2015). When I rebuild my project (Build → Rebuild “Project”), it works all fine… until the next time I package, close the editor and try to compile.

Does somebody have any suggestions?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [September 16, 2015, 4:01pm UTC](https://forums.unrealengine.com/t/fatal-error-when-trying-to-compile-linking-error-lnk1104/332399/2 "2015-09-16T16:01:54Z")

</div>

Hello ,

I have a few questions for you about this.

1. Does this happen only with your project or does the same occur with fresh projects?
2. You mention that you’re using Visual Studio 2015. Are you using a source-compiled version following the steps listed here? [UE4 and Visual Studio 2015 - C++ - Epic Developer Community Forums](https://forums.unrealengine.com/showthread.php?77333-UE4-and-Visual-Studio-2015)
3. Have you tried using Visual Studio 2013? Even in a source-built version of the engine, our support for 2015 is currently still experimental and could be causing issues such as this.

---

<div class="post-metadata">

**Author:** ![Pseudocorpus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pseudocorpus/32/453689_2.png) [@Pseudocorpus](https://forums.unrealengine.com/u/Pseudocorpus)\
**Post date:** [September 18, 2015, 12:50pm UTC](https://forums.unrealengine.com/t/fatal-error-when-trying-to-compile-linking-error-lnk1104/332399/3 "2015-09-18T12:50:17Z")

</div>

Hey … sry but the problem still persists.

1. It does not happen with a fresh C++ project.
2. My UE4 is not a source version, but a version from the launcher compiled with VS
3. It does also happen with VS 2013…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [September 23, 2015, 9:21pm UTC](https://forums.unrealengine.com/t/fatal-error-when-trying-to-compile-linking-error-lnk1104/332399/4 "2015-09-23T21:21:36Z")

</div>

Seeing as it seems to be related to the code in your project, would it be possible for you to upload a copy of your project so that I can reproduce the issue locally? If you wish for the project to be private, you can send the link in a private message on our [forums][1].

---

<div class="post-metadata">

**Author:** ![Pseudocorpus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pseudocorpus/32/453689_2.png) [@Pseudocorpus](https://forums.unrealengine.com/u/Pseudocorpus)\
**Post date:** [September 24, 2015, 3:47pm UTC](https://forums.unrealengine.com/t/fatal-error-when-trying-to-compile-linking-error-lnk1104/332399/5 "2015-09-24T15:47:29Z")

</div>

Thanks for your response. I’ve sent you a PM.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [September 24, 2015, 10:03pm UTC](https://forums.unrealengine.com/t/fatal-error-when-trying-to-compile-linking-error-lnk1104/332399/6 "2015-09-24T22:03:10Z")

</div>

Thank you for sending me the project. Unfortunately I’m not having any luck reproducing the issue. I did originally get an error when trying to package the project but that disappeared after rebuilding. After that I was able to package and then able to compile directly after. Are you making any changes to the code between packaging and compiling? Otherwise, without selecting rebuild, the code shouldn’t be attempting to build in the first place as it will detect that no changes have been made.

---

<div class="post-metadata">

**Author:** ![Pseudocorpus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pseudocorpus/32/453689_2.png) [@Pseudocorpus](https://forums.unrealengine.com/u/Pseudocorpus)\
**Post date:** [September 29, 2015, 10:45pm UTC](https://forums.unrealengine.com/t/fatal-error-when-trying-to-compile-linking-error-lnk1104/332399/7 "2015-09-29T22:45:21Z")

</div>

Well, it only happens sometimes. I have the feeling that it might be my PC. Because when the complie-error happens and I try to execute the packaged project right after the error, the game crashes with an array assertion error. When I restart my PC, the same packaged project works fine.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [October 5, 2015, 6:25pm UTC](https://forums.unrealengine.com/t/fatal-error-when-trying-to-compile-linking-error-lnk1104/332399/8 "2015-10-05T18:25:30Z")

</div>

Hello ,

Can you post the callstack and/or logs for the crash related to the array assertion error that you’re getting? Also, was the editor successfully compiled before packaging?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [October 12, 2015, 3:20pm UTC](https://forums.unrealengine.com/t/fatal-error-when-trying-to-compile-linking-error-lnk1104/332399/9 "2015-10-12T15:20:16Z")

</div>

Hello ,

We haven’t heard from you in a while. Are you still experiencing this issue? If so, can you leave a comment with your callstack/logs from the crash you’re receiving? I’ll be setting this issue as resolved for tracking purposes in the meantime.
