FS#50652 - [vulkan-validation-layers] Package installs outdated Vulkan C++ headers

Attached to Project: Arch Linux
Opened by Iwan Timmer (irtimmer) - Sunday, 04 September 2016, 16:42 GMT
Last edited by Laurent Carlier (lordheavy) - Sunday, 11 September 2016, 05:40 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Since version 1.0.24 the vulkan-validation-layers package installs a header file generated by https://github.com/KhronosGroup/Vulkan-Hpp. Although this header file highly depends on the installed version of the vulkan-headers so is only compatible with version 1.0.24 of the headers. Therefore /usr/include/vulkan/vulkan.hpp can better be removed from this package (if it keeps falling behind the vulkan-headers package) and the header can better be provided by other packages like vkcpp or vulkan-hpp-git from AUR as it has nothing to do with the validation-layers.

Additional info:
Error when trying to compile software using the C++ headers

/usr/include/vulkan/vulkan.hpp:43:1: fout: static assertion failed: Wrong VK_HEADER_VERSION!
static_assert( VK_HEADER_VERSION == 24 , "Wrong VK_HEADER_VERSION!" );

Steps to reproduce:
Try to compile software using Vulkan C++ headers (like samples from https://github.com/jherico/Vulkan)
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Sunday, 11 September 2016, 05:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  vulkan-validation-layers-1.0.26.0

Loading...