Can't start project,Visual studio giving random errors

So this is about a school project made in UE 4.19, for some reason the project only works on the school computer that I’ve used. We have the project on github.

Taking fresh working files from github to my own laptop, starting the uproject it tells me to build it from source.
I try to build it in both visual studio 2015&2017 same errors come for both, sometimes it even tells can’t find all kinds of different source files(which I think has something to do with this)
I’ve tried to delete all the unnecessary folders and regenerate the c++ files, but that doesn’t help.
I’ve also tried to run it on two different laptops.

Below are screenshots of it giving an error from engine file that has not been touched, Atomic.h whatever that is.
Also for the rest errors in playercharacter regarding abs function, it works on school computer so really nothing wrong with the code there. It seems that it just doesn’t understand that the code is actually correct.

screenshot1
screenshot2

Also

Haven’t seen this usually while building:

1>------ Build started: Project: MoonParty, Configuration: Development_Editor x64 ------
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: “C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props” cannot be imported again. It was already imported at “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)”. This is most likely a build authoring error. This subsequent import will be ignored. [F:\Unreal projects\SummerCourse\SummerProject2018\Intermediate\ProjectFiles\MoonParty.vcxproj]

is this something to not care about?