Cannot figure why UE4 has error cannot access private member declared in class

And when it says “Voxel_CPP could not be compiled. Try rebuilding from source manually” it’s saying to build the project from Visual Studio. It used to happen a lot to me.