Cant make a new movement component

Im porting parts of the FPS sample to my own project, and now im implementing the sprint the FPS sample has in my game, making a new movement component for it. the problem is that the exact same code with the class names changed from the FPS sample “UCharacterMovementComponent” just refuses to compile, and intellisense says that UCharacterMovementComponent class, wich i inherit from, does not exist. I tried searching for the class in the FPS sample built visual studio project, and got the file in wich that class was defined. That file is not found in the newly created project for my game. I wonder if there has been a name change, or something like that, becouse VS cant find the class or the file, and so, it cant compile the code for my movement component.
Im attaching a picture with the current error in visual studio. the error message under the mouse is in spanish, it means “error, its not a class name or struct”

It solved itself when i deleted those classes and made the actor again from the editor with the “Add Code to project”, the strange thing is that i already did that with the original classes and the editor just forgot to set the headers correctly

Your problem is most likely that you have no #include path that picks up UCharacterMovementComponent. In ShooterGame this is done through ShooterGame.h including Engine.h which in turn includes EngineComponentClasses.h.