Creating a Widget in just C++

Hi I started a serparate project as I ended up getting crashes so I did everything in a new project

First I added the UMG module in the build.cs file as you recommended

I then compiled and got the following

I ignored the errors and tried to create a c++ class using userwidget and got the following response which would not allow the c++ class appear in the editor.

followed by the following in the error log

I also tried making a basic c++ class with some includes I was recommended elsewhere.