VR project biild failed

I tried building the Virtual Reality Samples Project https://docs.aws.amazon.com/lumberyard/latest/userguide/sample-project-virtual-reality.html and fixed all the sdks and tried to build it but I always get this error in the end.
I tried it several times but stuck with the error.

Build failed
-> task in ‘cxxshlib (win_x64_vs2017|profile)’ failed (exit status 1120):
{task 139702456L: cxxshlib VideoPlayback.auto_gen.3447471.res,Decoder.cpp.3447471.obj,VideoPlaybackFlowNodes.cpp.3447471.obj,VideoPlaybackGameComponent.cpp.3447471.obj,VideoPlaybackModule.cpp.3447471.obj,VideoPlaybackSystemComponent.cpp.3447471.obj,VideoPlayback_precompiled.3447471.obj -> Gem.VideoPlayback.632473900ed84df3a2bad2887a3bff56.v0.1.0.dll,Gem.VideoPlayback.632473900ed84df3a2bad2887a3bff56.v0.1.0.pdb,Gem.VideoPlayback.632473900ed84df3a2bad2887a3bff56.v0.1.0.dll.manifest}
‘C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\LINK.exe /OUT: d:\Amazon\Lumberyard\1.20.0.0\dev\Bin64vc141\Gem.VideoPlayback.632473900ed84df3a2bad2887a3bff56.v0.1.0.dll /NOLOGO /MANIFEST /LARGEADDRESSAWARE /INCREMENTAL:NO /MACHINE:X64 /OPT:REF /OPT:ICF /DEBUG /PDBALTPATH:%_PDB% /DLL d:\Amazon\Lumberyard\1.20.0.0\dev\BinTemp\win_x64_vs2017_profile\Gems\VideoPlayback\Code\VideoPlayback_rc\VideoPlayback.auto_gen.3447471.res d:\Amazon\Lumberyard\1.20.0.0\dev\BinTemp\win_x64_vs2017_profile\Gems\VideoPlayback\Code\Source\Decoder.cpp.3447471.obj d:\Amazon\Lumberyard\1.20.0.0\dev\BinTemp\win_x64_vs2017_profile\Gems\VideoPlayback\Code\Source\VideoPlaybackFlowNodes.cpp.3447471.obj d:\Amazon\Lumberyard\1.20.0.0\dev\BinTemp\win_x64_vs2017_profile\Gems\VideoPlayback\Code\Source\VideoPlaybackGameComponent.cpp.3447471.obj d:\Amazon\Lumberyard\1.20.0.0\dev\BinTemp\win_x64_vs2017_profile\Gems\VideoPlayback\Code\Source\VideoPlaybackModule.cpp.3447471.obj d:\Amazon\Lumberyard\1.20.0.0\dev\BinTemp\win_x64_vs2017_profile\Gems\VideoPlayback\Code\Source\VideoPlaybackSystemComponent.cpp.3447471.obj d:\Amazon\Lumberyard\1.20.0.0\dev\BinTemp\win_x64_vs2017_profile\Gems\VideoPlayback\Code\Source\VideoPlayback_precompiled.3447471.obj /LIBPATH:Gems\CryLegacy\Code /LIBPATH:Code\Framework\AzFramework\AzFramework /LIBPATH:Code\Framework\GridMate /LIBPATH:Code\Framework\GridMateForTools /LIBPATH:Code\Framework\AzCore\AzCore /LIBPATH:D:\Amazon\Lumberyard\1.20.0.0\3rdParty\Lua\5.1.1.8-az\build\win_x64\vc140\release /LIBPATH:D:\Amazon\Lumberyard\1.20.0.0\3rdParty\zlib\1.2.8-pkg.2\build\win_x64\vc140\release CryAction_AutoFlowNode.lib AzFramework.lib GridMate.lib GridMateForTools.lib AzCore.lib lua.lib zlib.lib /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\lib\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\lib\x64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\lib\x86\store\references /LIBPATH:C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17763.0 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0 /LIBPATH:C:\Windows\Microsoft.NET\Framework64\v4.0.30319 /LIBPATH:d:\Amazon\Lumberyard\1.20.0.0\dev\Code /LIBPATH:D:\Amazon\Lumberyard\1.20.0.0\3rdParty\libav\11.7\usr\bin /LIBPATH:D:\Amazon\Lumberyard\1.20.0.0\3rdParty\FFmpeg\3.2\lib User32.lib Advapi32.lib PsAPI.lib User32.lib Advapi32.lib PsAPI.lib bcrypt.lib avcodec.lib avformat.lib swscale.lib avutil.lib avfilter.lib avdevice.lib avresample.lib avcodec.lib avformat.lib swscale.lib avutil.lib avfilter.lib avdevice.lib postproc.lib swresample.lib’

Could someone tell me what is wrong?