FPS Tutorial Erros

I’m doing the First Person Shooter beginner tutorial from unreal engine c++ programming tutorials. I did everything exactly as mentioned on the tutorial. However, I’m getting errors like “AFPSProjectGameMode is not a class or namespace” and other similar errors which means I did not put all the include libraries into my source path. Then I figured out that “CoreMinimal.h” and other recursive library files are not present in the source directory. Then I copy paste all “CoreMinimal.h” and other recursive library files into my source directory. However, I’m still getting those errors, along with some additional errors. Can anyone please help me out? I’m a beginner in Unreal Engine.