# C++ taking forever to compile please help

**URL:** <https://forums.unrealengine.com/t/c-taking-forever-to-compile-please-help/472872>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [October 13, 2020, 7:14pm UTC](https://forums.unrealengine.com/t/c-taking-forever-to-compile-please-help/472872 "2020-10-13T19:14:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_762b9c08](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_762b9c08](https://forums.unrealengine.com/u/anonymous_user_762b9c08)\
**Post date:** [October 13, 2020, 7:14pm UTC](https://forums.unrealengine.com/t/c-taking-forever-to-compile-please-help/472872/1 "2020-10-13T19:14:17Z")

</div>

Is the C++ Code for the third person character meant to take 15 minutes to compile? My computer is worth £800. This guy on Youtube compiled the code for the third person character and it took 30 seconds. Mine is way longer than that. And pretty much any C++ tutorial I see - when the person compiles the code it will take 20 - 40 times longer for the code to compile for me. Please help. I’m so fed up of this. There has always been a problem with my computer when it comes to programming. Even my IntelliSense for visual studio doesn’t work. Please though, if you have any idea on why my code takes forever to compile please let me know.

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [October 14, 2020, 6:28am UTC](https://forums.unrealengine.com/t/c-taking-forever-to-compile-please-help/472872/2 "2020-10-14T06:28:58Z")

</div>

First of all - is this problem only with Unreal projects? Do you try compilation with for example WPF projects? Can you tell your PC params? The main points are HDD read/write speed, CPU, and RAM. Also it can be caused by background antivirus check and applications that monitor OS actions.

---

<div class="post-metadata">

**Author:** ![Doctor\_Kannon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/doctor_kannon/32/1130101_2.png) [@Doctor\_Kannon](https://forums.unrealengine.com/u/Doctor_Kannon)\
**Post date:** [October 15, 2020, 11:11pm UTC](https://forums.unrealengine.com/t/c-taking-forever-to-compile-please-help/472872/3 "2020-10-15T23:11:46Z")

</div>

This has been answered in other posts.

You’re recompiling the engine code. Subclass the TPP Character instead.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_762b9c08](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_762b9c08](https://forums.unrealengine.com/u/anonymous_user_762b9c08)\
**Post date:** [October 17, 2020, 1:06pm UTC](https://forums.unrealengine.com/t/c-taking-forever-to-compile-please-help/472872/4 "2020-10-17T13:06:41Z")

</div>

Created a first person shooter template for c++, opened the project, opened the character script at the top right I right clicked the thing with that has the name of my project and pressed “build”. It took this person 5 minutes for the compile to complete, for me it has been more than 10 minutes and I haven’t seen any changes. The image shows the output log so far. Does any of it mean anything?

 ![319027-buildinfo.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/3/c53934cdd11b040a183ba4831351b3ade68a1e0f.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_762b9c08](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_762b9c08](https://forums.unrealengine.com/u/anonymous_user_762b9c08)\
**Post date:** [October 17, 2020, 1:19pm UTC](https://forums.unrealengine.com/t/c-taking-forever-to-compile-please-help/472872/5 "2020-10-17T13:19:52Z")

</div>

Okay that makes sense, but building still takes 10x longer for me than it should. I am curious if I have accidentally changed a setting or something. I Created a first person shooter template for c++, opened the project, opened the character script at the top right I right clicked the thing with that has the name of my project and pressed “build”. It took this person 5 minutes for the compile to complete, for me it has been more than 15 minutes and I haven’t seen any changes. The image shows the output log so far. Does any of it mean anything?

 ![319027-buildinfo.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/3/c53934cdd11b040a183ba4831351b3ade68a1e0f.png)
