# Compile error following QuickStart Unreal Tutorial

**URL:** <https://forums.unrealengine.com/t/compile-error-following-quickstart-unreal-tutorial/459563>\
**Category:** C++\
**Tags:** tutorials, tutorial, unreal-engine, compile-error, UE4, question, CPP\
**Created:** [December 16, 2019, 2:37pm UTC](https://forums.unrealengine.com/t/compile-error-following-quickstart-unreal-tutorial/459563 "2019-12-16T14:37:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mazcommat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mazcommat](https://forums.unrealengine.com/u/Mazcommat)\
**Post date:** [December 16, 2019, 2:37pm UTC](https://forums.unrealengine.com/t/compile-error-following-quickstart-unreal-tutorial/459563/1 "2019-12-16T14:37:33Z")

</div>

Hey,

I’m following [Programming Quick Start | Unreal Engine Documentation](https://docs.unrealengine.com/en-US/Programming/QuickStart/index.html)  
Using Visual Studio Community (2019 - 16.4.1), UE 4.24 and .net SDK 4.8

I get the following error after step 4 (adding the code to the floating cpp):

 ![294017-floatingactorerror.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/6/0/e6067eeb45a40b53c0279644929148a280044f06.png)

However if I add  
#include “Components/StaticMeshComponent.h”  
the error dissapears.

Does the unreal tutorial just miss out the instruction to add the include?

Thanks in advance
