Unreal 4.23 unable to build C++ tutorial code

Hi Garner i’ll managed to fix the problem with including :

#include “UObject/ObjectMacros.h”
#include “UObject/ScriptInterface.h”
#include “Components/SceneComponent.h”
#include “Engine/BlendableInterface.h”
#include “Engine/Scene.h”
#include “Camera/CameraTypes.h”
#include “Camera/CameraComponent.h”
#include “Components/SceneComponent.h”
#include “GameFramework/Character.h”
#include “FPSCharacter.generated.h”

Now i have an error on :

FPSCameraComponent->SetupAttachment(GetCapsuleComponent());

error C2664: ‘void USceneComponent::SetupAttachment(USceneComponent *,FName)’: cannot convert argument 1 from ‘UCapsuleComponent *’ to ‘USceneComponent *’

TIPS : Visual assist told me that UsceneComponent is incompatible with UCapsuleComponent

Hope you can help, i really want to dig this engine, did you know some good C++ tutorial for UE 23.1 ?