Pointer to incomplete class type is not allowed

Help!!! It seems i cant get past this nasty error. I did everything exactly like ben but i cant access my Barrel pointer :frowning:

help!!

Im using VS2017, UE4.17

With kind regards, Alex

Btw, auto and FVector type both do not work.

Found the answer!!

I needed to include the static mesh in my cpp file :smiley:

#include “Components/StaticMeshComponent.h”

2 Likes

Privacy & Terms