SetupAttachment is undefined

Hi, I have a some problem with SetupAttachment, i tried use SetupAttachment, but it told me “SetupAttachment is undefined”. Although I included “SceneComponent”. what is the problem?

The correct way to SetupAttachment is this one:

OurCameraSpringArm->SetupAttachment(RootComponent);

More informations here : https://docs.unrealengine.com/latest/INT/Programming/Tutorials/Components/1/

Thank you, this is all my inattention)