x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Building 4.13-googlevr branch from source fails on VulkanRHI compile.

Trying to build the engine with the newly released Google Daydream integrations found in this branch of GoogleVR's UE4 fork: https://github.com/googlevr-unreal/UnrealEngine/tree/4.13-googlevr

Tried the full process 3 times now (cloning repo from scratch, running setup.bat, runing buildprogramfiles.bat, then building in VS2015).

Build process always ends on this error:

4>ERROR : UBT error : Failed to produce item: D:\UnrealEngine_DaydreamVR\UnrealEngine\Engine\Binaries\Win64\UE4Editor-VulkanRHI.dll 4> Total build time: 1712.62 seconds 4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3075: The command "....\Build\BatchFiles\Build.bat UE4Editor Win64 Development -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command. ========== Build: 3 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Sometimes VS provides this additional error info:

2>d:\unrealengine_daydreamvr\unrealengine\engine\source\runtime\vulkanrhi\private\VulkanRHIPrivate.h(33): fatal error C1083: Cannot open include file: 'vulkan/vulkan.h': No such file or directory 2>ERROR : UBT error : Failed to produce item: D:\UnrealEngine_DaydreamVR\UnrealEngine\Engine\Binaries\Win64\UE4Editor-VulkanRHI.dll

Is there something extra I'm missing here...i.e. Vulkan files that aren't included in the repo or something? I DO see the VulkanRHI source and header files in the Engine > Source > Runtime folder, AND vulkan.h in Engine > Source > ThirdParty > Vulkan > Windows > Include > vulkan .

Product Version: UE Github Master branch
Tags:
more ▼

asked Sep 27 '16 at 07:54 PM in VR

avatar image

monotoan
96 2 5 7

avatar image monotoan Sep 30 '16 at 08:34 PM

Still getting failures with this (though slightly changed error messages) when trying to build Unreal directly from the EpicGames GitHub repo.

Now I get this, which seems to be related to variable type restrictions ( DWORD ). Maybe I'm making some n00b mistake here, but I was able to succesfully compile the engine regularly before trying to do so with recent Daydream VR / Vulkan features.

1>------ Build started: Project: ShaderCompileWorker, Configuration: Development_Program x64 ------ 1> Target is up to date 2>------ Build started: Project: UE4, Configuration: Development_Editor x64 ------ 2> Performing 2 actions (9 in parallel) 2> Module.VulkanRHI.cpp 2>D:\VulkanSDK\1.0.26.0\Include\vulkan/vulkan.h(4084): error C2872: 'DWORD': ambiguous symbol 2> C:\Program Files (x86)\Windows Kits\8.1\include\shared\minwindef.h(156): note: could be 'unsigned long DWORD' 2> d:\unreal 4.13.1\unrealengine\engine\source\runtime\core\public\Misc/DisableOldUETypes.h(34): note: or
'DoNotUseOldUE4Type::DWORD' 2>ERROR : UBT error : Failed to produce item: D:\Unreal 4.13.1\UnrealEngine\Engine\Binaries\Win64\UE4Editor-VulkanRHI.dll 2> Total build time: 230.19 seconds 2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3075: The command "....\Build\BatchFiles\Build.bat UE4Editor Win64 Development -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command. ========== Build: 1 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========

avatar image SergunK Oct 26 '16 at 11:17 PM

I am getting same errors, when to build unreal engine 4.13.2 with visual studio 2015. I have same config with you, I have installed vulkansdk 1.0.26.0...

I try nearly every vulkansdk and mess with system variables but I couldn't identify the problem.

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I am using LunarG Vulkan SDK v1.0.30.0 and fixed this issue by editing line #4100 in "vulkan.h" like this:

 //DWORD                        dwAccess;
  unsigned long                 dwAccess;
more ▼

answered Nov 06 '16 at 09:43 AM

avatar image

Monu29
41 1 4 7

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question