Compile errors with generated.h

If you regenerate your solution, it will create the .generated.h files.

See this answer for more info on generated files.

This answer describes how to force regeneration.