Compile error about Vulkan DynamicRHI

I try to dump vulkan memory, which will call FVulkanDynamicRHI::DumpMemory()

so i include VulkanDynamicRHI.h in my .cpp file, and add “VulkanRHI” in my build.cs

but get a redefine compile error as follows:
VulkanDynamicRHI.h(354): [C2535] “FTexture2DRHIRef FVulkanDynamicRHI::RHICreateTexture2DFromResource(EPixelFormat,uint32,uint32,uint32,uint32)”