Vulkan error during install

I am trying to install this on Vscode, and when I try to execute ‘make’, I get the following error message:

UnrealEngine_4.24/Engine/Source/Runtime/VulkanRHI/Private/VulkanViewport.cpp:381:52: error: no member named ‘GetResourceAllocation’ in ‘FVulkanSurface’
ResourceAllocationsToDelete.Add(Texture->Surface.GetResourceAllocation());

UnrealEngine_4.24/Engine/Source/Runtime/VulkanRHI/Private/VulkanTexture.cpp:676:65: error: use of undeclared identifier ‘GetResourceAllocation’
Device->GetDeferredDeletionQueue().EnqueueResourceAllocation(GetResourceAllocation());

How can I fix this?

did you solve this problem?

In my case, applying a patch can solve that problem.

downloading patch

wget https://carla-releases.s3.eu-west-3.amazonaws.com/Linux/UE_Patch/430667-13636743-patch.txt 430667-13636743-patch.txt

applying patch

patch --strip=4 < 430667-13636743-patch.txt

if you have that patch file already, just apply again