Does anyone have a solution for this?
Never ever look at Error list for compilation error, always look at output. ( View->Output /Ctrl+W,O )
UE has a custom build system and error are displayed on the output. Share the data here if ever you are still stuck with an error