# Packaging fatal error LNK1181: Win64\\UE4-DesktopPlatform.lib

**URL:** <https://forums.unrealengine.com/t/packaging-fatal-error-lnk1181-win64-ue4-desktopplatform-lib/389978>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, platform-support, packaging-projects, question\
**Created:** [April 4, 2017, 6:57pm UTC](https://forums.unrealengine.com/t/packaging-fatal-error-lnk1181-win64-ue4-desktopplatform-lib/389978 "2017-04-04T18:57:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![AinTen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AinTen](https://forums.unrealengine.com/u/AinTen)\
**Post date:** [April 4, 2017, 6:57pm UTC](https://forums.unrealengine.com/t/packaging-fatal-error-lnk1181-win64-ue4-desktopplatform-lib/389978/1 "2017-04-04T18:57:15Z")

</div>

Hello!  
I try package my project for Win 64 platform and during pachaging get error

```
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: LINK : fatal error LNK1181: �� ������� ������� ������� ���� "d:\Program Files\Epic Games\UE_4.15\Engine\Binaries\Win64\UE4-DesktopPlatform.lib"

```

 ![132867-packaging_error.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/8/2/b82e88f56ed0f2c1f26e5b2595c82bcbf6446e24.jpeg)

Same error when packing for Win 32. In editor project launching fine.  
This file is missing in mentioned folder. Where can I find it?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [April 5, 2017, 5:38pm UTC](https://forums.unrealengine.com/t/packaging-fatal-error-lnk1181-win64-ue4-desktopplatform-lib/389978/2 "2017-04-05T17:38:53Z")

</div>

Hey AinTen-

Can you provide the full output log from the package attempt? Do you get the same message when trying to package other projects? Is your package configuration set to Development or Shipping? Please let me know what your setup is to help me investigate the issue on my end.

---

<div class="post-metadata">

**Author:** ![AinTen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AinTen](https://forums.unrealengine.com/u/AinTen)\
**Post date:** [April 5, 2017, 9:30pm UTC](https://forums.unrealengine.com/t/packaging-fatal-error-lnk1181-win64-ue4-desktopplatform-lib/389978/3 "2017-04-05T21:30:01Z")

</div>

Hello

I changed project name and some cpp files names in this log

[link text][1]

Package configuration set to Development.  
If I try package any template project it packaging fine. Sadly only my project get this error…

---

<div class="post-metadata">

**Author:** ![AinTen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AinTen](https://forums.unrealengine.com/u/AinTen)\
**Post date:** [April 5, 2017, 10:59pm UTC](https://forums.unrealengine.com/t/packaging-fatal-error-lnk1181-win64-ue4-desktopplatform-lib/389978/4 "2017-04-05T22:59:57Z")

</div>

It seems I find step sequence

1. create blank project (i think other templates rise error too)
2. add any c++ class to the project
3. add “DesktopPlatform” to PublicDependencyModuleNames.AddRange in ProjectName.Build.cs
4. try to package project to win 32/64

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [April 6, 2017, 2:43pm UTC](https://forums.unrealengine.com/t/packaging-fatal-error-lnk1181-win64-ue4-desktopplatform-lib/389978/5 "2017-04-06T14:43:21Z")

</div>

Thank you for letting me know about adding DesktopPlatform. I have reproduced this issue and logged a report for it here [Unreal Engine Issues and Bug Tracker (UE-43723)](https://issues.unrealengine.com/issue/UE-43723) . You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Cheers

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [April 6, 2017, 2:48pm UTC](https://forums.unrealengine.com/t/packaging-fatal-error-lnk1181-win64-ue4-desktopplatform-lib/389978/6 "2017-04-06T14:48:14Z")

</div>

Hey AinTen-

It was brought to my attention that DesktopPlatform is a development module, which is against the EULA to distribute with shipped games. This is why attempting to include it when packaging is causing the package to fail.

---

<div class="post-metadata">

**Author:** ![AinTen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AinTen](https://forums.unrealengine.com/u/AinTen)\
**Post date:** [April 6, 2017, 8:19pm UTC](https://forums.unrealengine.com/t/packaging-fatal-error-lnk1181-win64-ue4-desktopplatform-lib/389978/7 "2017-04-06T20:19:20Z")

</div>

Hello .  
Thanks for the explanation.  
If i want select files from file system in my project i need write my own system or use third party solutions?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [April 7, 2017, 1:13pm UTC](https://forums.unrealengine.com/t/packaging-fatal-error-lnk1181-win64-ue4-desktopplatform-lib/389978/8 "2017-04-07T13:13:12Z")

</div>

Please take a look at the answer and comments from here ([Loading DesktopPlatform module - Programming & Scripting - Epic Developer Community Forums](https://answers.unrealengine.com/questions/134107/loading-desktopplatform-module.html)) . The information provided should help in your situation.

---

<div class="post-metadata">

**Author:** ![jack0596\_cn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jack0596\_cn](https://forums.unrealengine.com/u/jack0596_cn)\
**Post date:** [December 11, 2017, 7:29am UTC](https://forums.unrealengine.com/t/packaging-fatal-error-lnk1181-win64-ue4-desktopplatform-lib/389978/9 "2017-12-11T07:29:20Z")

</div>

Hey AinTen  
Like you, I have a similar problem.That’s what I did.

move “DesktopPlatform” to PrivateIncludePathModuleNames.AddRange() ----\> like this

![223375-3333333333333.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/4/8b4864c83c1b855d1bfb9900486815a5bbb22db9.png)

this problem is Solved -\_-!
