# LNK2019. Trying to include files that don't have an api module from one module to another.

**URL:** <https://forums.unrealengine.com/t/lnk2019-trying-to-include-files-that-dont-have-an-api-module-from-one-module-to-another/716985>\
**Category:** C++\
**Tags:** unreal-engine, CPP, question\
**Created:** [November 28, 2022, 3:12pm UTC](https://forums.unrealengine.com/t/lnk2019-trying-to-include-files-that-dont-have-an-api-module-from-one-module-to-another/716985 "2022-11-28T15:12:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nightjass](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nightjass](https://forums.unrealengine.com/u/Nightjass)\
**Post date:** [November 28, 2022, 3:12pm UTC](https://forums.unrealengine.com/t/lnk2019-trying-to-include-files-that-dont-have-an-api-module-from-one-module-to-another/716985/1 "2022-11-28T15:12:08Z")

</div>

Hi. I have two proto files packets.pb.cc and packets.pb.h (protobuf auto-generated file). They are in the primary module in the public folder, I want them to be used in another module, but when i include them, an error is generated LNK2019 and LNK2001.

How can I fix it?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/3/28310e9e145ae2d84de1a59558368750319bb467.png)
