After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 764066 - vulkan: Build failure on arch not finding VK_API_VERSION
vulkan: Build failure on arch not finding VK_API_VERSION
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.8.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-03-23 11:07 UTC by Thibault Saunier
Modified: 2016-03-23 11:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thibault Saunier 2016-03-23 11:07:13 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
Comment 1 Matthew Waters (ystreet00) 2016-03-23 11:11:28 UTC
Did they change API already? :/

sigh.
Comment 2 Matthew Waters (ystreet00) 2016-03-23 11:13:30 UTC
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)
Comment 3 Thibault Saunier 2016-03-23 11:18:08 UTC
Wonderful ? :)
Comment 4 Matthew Waters (ystreet00) 2016-03-23 11:20:53 UTC
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