Hi all,
I have a custom pawn class from which I want to derive a class that uses the UChaosWheeledVehicleMovementComponent.
This is the code I use for this class:
This is the .h
In the .cpp I have Implemented the constructor and deconstructor but they do not contain any code yet.
I want to make use of the UChaosWheeledVehicleMovementComponent but including it results in errors.
What I have tried
- Relative include to ChaosWheeledVehicleMovementComponent.h
This results in an error upon compilation:
-
#include ChaosWheeledVehicleMovementComponent.h"
This results in error:
- a forward delclaration:
class CHAOSVEHICLES_API UChaosWheeledVehicleMovementComponent;
This yields an error:Type 'CHAOSVEHICLES_API' is incomplete
- different forward declaration: class UChaosWheeledVehicleMovementComponent;
like this
Which also results in errors:
If someone knows how to resolve this, please let me know!!