Errors Building UE5.2 and 5.2 Preview-1

Hello, am getting two FAILS at building the source for 5.2.
Mainly Unsync and UE5ProgramRules.

Unsync.vcxproj
Fails like this:

Build started...
16>Building Unsync...
6>Using Visual Studio 2022 14.34.31942 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933) and Windows 10.0.22000.0 SDK (C:\Program Files (x86)\Windows Kits\10).
6>Determining max actions to execute in parallel (8 physical cores, 16 logical cores)
6>  Executing up to 8 processes, one per physical core
6>Building 3 actions with 3 processes...
6>[1/3] Link [x64] unsync.exe cancelled
6>[2/3] WriteMetadata unsync.target cancelled
6>[3/3] Compile [x64] UnsyncCore.cpp
6>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command "..\..\Build\BatchFiles\Build.bat Unsync Win64 Development -WaitMutex -FromMsBuild" exited with code 6.
6>Done building project "Unsync.vcxproj" -- FAILED.

And UE5ProgramRules reports an error in ShaderCompileWorker.Build.cs line 35:
RuntimeDependencies.Add(DirectX.GetDllDir(Target) + “d3dcompiler_47.dll”);
as the name "DirectX"does not exist in current content.

I have been building UE5 source since 5.0 and this is the first time I get this, can someone please help me?

Am wondering if it is VS 2022 Version 17.4.5?
Ohh and am trying to build in Win11

1 Like