Hello everyone
I’m trying to compile UE 5.1 on Windows 11 with Visual Studios Community 2022 according to the guide here: Building Unreal Engine from Source | Unreal Engine 4.27 Documentation
I got an account and successfully forked and cloned Unreal 5.1.
Setup.bat wasn’t working at first but I fixed that with another Commit.gitdeps.xml file.
(see https://forums.unrealengine.com/t/upcoming-disruption-of-service-impacting-unreal-engine-users-on-github/1155880https://forums.unrealengine.com/t/upcoming-disruption-of-service-impacting-unreal-engine-users-on-github/1155880)
Once Setup.bat and GenerateProjectFiles.bat scripts ran through successfully I loaded the UE5.sln into Visual Studio
The output says:
8>Unhandled exception: Source file ‘C:\repos\UnrealEngine\Engine\Source\ThirdParty\Boost\boost-1_70_0\lib\Win64\boost_atomic-vc142-mt-x64-1_70.dll’ does not exist
8>while creating runtime dependencies for module ‘Boost’
8>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 -Target=“UnrealEditor Win64 Development” -Target=“ShaderCompileWorker Win64 Development -Quiet” -WaitMutex -FromMsBuild” exited with code 6.
8>Done building project “UE5.vcxproj” – FAILED.
The build.bat exiting with code 6 seems to the same as this thing here:
which proposed to delete
Engine\Intermediate\Build\Win64\UnrealEditor\Development\VisualStudioDTE
and rebuild.
This produces the same boost issue:
8>Unhandled exception: Source file ‘C:\repos\UnrealEngine\Engine\Source\ThirdParty\Boost\boost-1_70_0\lib\Win64\boost_atomic-vc142-mt-x64-1_70.dll’ does not exist
8>while creating runtime dependencies for module ‘Boost’
and the UnrealEditor.exe is not coming out.
Any ideas?