(SOLVED) 'HeadMountedDisplayTypes.generated.h': No such file or directory

Yeah. I would assume there are already a few modules listed in both Public and Private module dependencies. You can simply add “HeadMountedDisplay” to an existing list.