Build from source fails (VulkanSDK)
I'm trying to build UE4 with Vulkan support from source, following the instructions on the Wiki but get the following errors:
asked Sep 28 '16 at 05:52 PM in Installation & Setup
Had the same problem when trying to compile 4.13 and 4.13.1 from the release branch. The problem is that there is a DWORD type variable in the vulkan.h file. However UE4 declares the DWORD type inside the DoNotUseOldUE4Type namespace thus causing the ambiguity.
In the comment :
As a dirty hack, I replaced the line n° 4084 in vulkan.h with
This allowed me to compile without any error.
Hope that helps.
Had this error too. For me it was, that I seemed to have a Vulkan SDK installed on my machine, that was not the version that Unreal Engine needs. I Removed the VULKAN_SDK environment variable and now the build works.
Alternatively, you could just change "bSDKInstalled = false" in Source/Runtime/VulkanRHI/VulkanRHI.Build.cs
answered Nov 07 '16 at 12:12 PM
The master branch on GitHub is not guaranteed to compile. It has many changes a day that could (and will) fail to compile.
If you are developing seriously, I highly recommend that you use the latest stable branch, which is 4.13.
If this compiling issue happens to you when using a stable release, please make another thread in Bug Reports.
answered Sep 28 '16 at 07:13 PM
ImVawx ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here