Building ue4 from source

Now i was building unreal engine from source with visual studio community 2019 following Ue4 doc i do all the steps and while building inside Visual studio it got failed and gave me These error and i have no clue how to solve them :

error 1 :- Error C1083 Cannot open include file: ‘metahost.h’: No such file or directory UE4 D:\Dunpix\GitHub\UnrealEngine\Engine\Source\Editor\SwarmInterface\Private\SwarmInterface.cpp 21

error 2 :- Error MSB3075 The command “…..\Build\BatchFiles\Build.bat -Target=“UE4Editor Win64 Development” -Target=“ShaderCompileWorker Win64 Development” -WaitMutex -FromMsBuild -2019” exited with code 5. Please verify that you have sufficient rights to run this command. UE4 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets 44

Finally, i Got it done … thanks to that link that has the same problem and solved it …