Critical error on compile and build project (based in c++)

I believe UnrealEd is an additional module that need to be added, am not familiar with it but make sure that plugin/module is properly setup in your project module build list.

only if you are using it, otherwise delete the folder Intermediate and DerivedCache, re generate the visual studio files.