Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build vulkan-loader 1.1.77 | "no member named 'GetPhysicalDeviceDisplayProperties2KHR';" #42

Closed
5schatten opened this issue Jun 23, 2018 · 2 comments
Milestone

Comments

@5schatten
Copy link

I wanted to update vulkan-loader 1.1.73.0 to 1.1.77.0 but it failed to build for my LibreELEC 9.0 distribution. The last release v73 worked flaweless. I added an extra package for vulkan-headers since they aren't included anymore. Any hints are welcome!

https://pastebin.com/m35GFCvh

/home/supervisedthinking/le90-Remix/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel/vulkan-loader-1.1.77.0/loader/wsi.c: In function 'vkGetPhysicalDeviceDisplayProperties2KHR':
/home/supervisedthinking/le90-Remix/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel/vulkan-loader-1.1.77.0/loader/wsi.c:1611:18: error: 'VkLayerInstanceDispatchTable' {aka 'const struct VkLayerInstanceDispatchTable_'} has no member named 'GetPhysicalDeviceDisplayProperties2KHR'; did you mean 'GetPhysicalDeviceDisplayPropertiesKHR'?
return disp->GetPhysicalDeviceDisplayProperties2KHR(unwrapped_phys_dev, pPropertyCount, pProperties);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GetPhysicalDeviceDisplayPropertiesKHR

@karl-lunarg
Copy link
Contributor

Looks like your build found the Vulkan headers and registry:

-- Found VulkanHeaders: /home/supervisedthinking/le90-Remix/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include  
-- Found VulkanRegistry: /home/supervisedthinking/le90-Remix/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/share/vulkan/registry  

but these are probably out of date. You'll need the contents of the KhronosGroup/Vulkan-Headers repo with 1.1.77 headers.

@5schatten
Copy link
Author

Thx that solved the problem. I've created a new vulkan-headers before that should have updated the header files in my toolchain directory. I manually deleted them and now vulkan-loader compiles fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants