How do I resolve this "inconsistent dll linkage" error when overriding a function in a custom character movement component?

in the .cpp, FVector UCharacterMovementComponent::ComputeSlideVector
should instead be
FVector UPlayerCharacterMovementComponent::ComputeSlideVector