Hello ,
The first thing to test would be to see if the same issue happens in a fresh project. Can you try a new C++ project to see if the same issue occurs? If not, are you using the same version of the editor at home as you were at school?
Another thing to try would be to delete the Intermediates folder. After that, right-click the .uproject file and select “Generate Visual Studio Project files”. Attempt compiling again after that.