GNOME Bugzilla – Bug 764066
vulkan: Build failure on arch not finding VK_API_VERSION
Last modified: 2016-03-23 11:20:53 UTC
I installed the vulkan-headers as described in https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/vulkan-docs meaning hearders from https://github.com/KhronosGroup/Vulkan-Docs/archive/v1.0-core+wsi-20160311.tar.gz but I am getting the following error: vkinstance.c: In function ‘gst_vulkan_instance_open’: vkinstance.c:302:22: error: ‘VK_API_VERSION’ undeclared (first use in this function) app.apiVersion = VK_API_VERSION; ^ There is no VK_API_VERSION in vulkan.h but there is VK_API_VERSION_1_0
Did they change API already? :/ sigh.
and the answer is yes... // DEPRECATED: This define has been removed. Specific version defines (e.g. VK_API_VERSION_1_0), or the VK_MAKE_VERSION macro, should be used instead. //#define VK_API_VERSION VK_MAKE_VERSION(1, 0, 0)
Wonderful ? :)
commit dcfa7ee0446648bdffe5e96e9ec17ba837417e27 Author: Matthew Waters <matthew@centricular.com> Date: Wed Mar 23 22:13:47 2016 +1100 vulkan: VK_API_VERSION has been removed In a stable release too, naughty. Use VK_API_VERSION_1_0 instead https://bugzilla.gnome.org/show_bug.cgi?id=764066