Compile error following QuickStart Unreal Tutorial

Mazcommat
Mon, 16 Dec 2019 14:37:33 +0000
C++

Hey,

I’m following Programming Quick Start | Unreal Engine Documentation
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):

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

1 post - 1 participant