# \[C++\] Everytime i want to #include something i get a : is a circular dependency error

**URL:** <https://forums.unrealengine.com/t/c-everytime-i-want-to-include-something-i-get-a-is-a-circular-dependency-error/22253>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [March 1, 2015, 12:51pm UTC](https://forums.unrealengine.com/t/c-everytime-i-want-to-include-something-i-get-a-is-a-circular-dependency-error/22253 "2015-03-01T12:51:40Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Jambax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jambax/32/904177_2.png) [@Jambax](https://forums.unrealengine.com/u/Jambax)\
**Post date:** [March 1, 2015, 3:13pm UTC](https://forums.unrealengine.com/t/c-everytime-i-want-to-include-something-i-get-a-is-a-circular-dependency-error/22253/6 "2015-03-01T15:13:25Z")

</div>

Try using forward class declarations instead, it’ll also prevent having enormous pre-compiled headers too.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

_[View the full topic](https://forums.unrealengine.com/t/c-everytime-i-want-to-include-something-i-get-a-is-a-circular-dependency-error/22253)._
