# Code compiles fine, can't find include files when packaging

**URL:** <https://forums.unrealengine.com/t/code-compiles-fine-cant-find-include-files-when-packaging/464102>\
**Category:** Platform & Builds\
**Tags:** Packaging-Error, unreal-engine, packaging-projects, Visual-Studio, question, compilation-log\
**Created:** [April 22, 2020, 7:31pm UTC](https://forums.unrealengine.com/t/code-compiles-fine-cant-find-include-files-when-packaging/464102 "2020-04-22T19:31:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f8b743be1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f8b743be1](https://forums.unrealengine.com/u/anonymous_user_f8b743be1)\
**Post date:** [April 22, 2020, 7:31pm UTC](https://forums.unrealengine.com/t/code-compiles-fine-cant-find-include-files-when-packaging/464102/1 "2020-04-22T19:31:37Z")

</div>

I have Visual Studio Community 2019 set to Shipping, I’m also packaging in Shipping in UE4. When I build the project in VS19 it compiles successfully, and also when I compile in UE4 it compiles fine. In the VC++ section in project properties in VS, I have all the needed include folders set up already.  
After all of this, packaging fails when I try to package to Windows 64bit. It only reports one “Unknown Error” but I’ve noticed it not finding the include files. Here’s the relevant log section:

![300289-zzz.jpg]()

Any help would be very much appreciated. Thank you very much!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f8b743be1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f8b743be1](https://forums.unrealengine.com/u/anonymous_user_f8b743be1)\
**Post date:** [April 23, 2020, 12:33am UTC](https://forums.unrealengine.com/t/code-compiles-fine-cant-find-include-files-when-packaging/464102/2 "2020-04-23T00:33:25Z")

</div>

Finally SOLVED!

I had to include the full path to the file in each #include line.

Example: `#include "Mayhaemsters/Actors/C_PickupItem.h"`
