Generated.h not found while it exists!

In UE4 we have AnimGraph that controls our animations, right?

For a vehicle, the must node is WheelHandler. That’s fine!

But, while I was extending this class with some modifications, I got an error while compiling my code, Vs2013 is telling me that it can’t find the file AnimNode_SkeletalControlBase.generated.h …

Obviously, WheelHandler is an extension of SkeletalControlBase class, but, why can’t I extend it? Or why it give me this error if the file is there already? I can even open it !

I did the test, if I remove the #include, AnimNode_SkeletalControlBase.h or either AnimNode_WheelHandler, the error is gone. But what to do if I need these ones?

Nevermind, found it…

Missing dependency module AnimGraph in Build.cs