I’m following the official tutorial and I keep getting an error at compile time.
I had a similar error in the previous chapters but I fixed them by #include the components to the header file. but for this, I’m not able to include the projectile component. none of the tutorials mentioned anything about include any library though.
how can I fix it?
ERROR …/FPSProject/Source/FPSProject/FPSProjectile.h:33:5: error: unknown type name ‘UProjectileMovementComponent’; did you mean ‘UPawnMovementComponent’?
my header and cpp of the projectile is exact same code as the tutorial