UE4 - intel 7700K or AMD 1800X?

I tried to test building on a i7 5930k but unfortunately I kept getting errors when trying to build with Visual Studio 2017.