Novum / vkQuake

Vulkan Quake port based on QuakeSpasm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linux: current build does not complete vk ext. undeclared

mdeguzis opened this issue · comments

The debug extension addition seems to have introduced errors when making Linux binaries. The following error is thrown:

gl_vidsdl.c:674:15: error: ‘VK_EXT_DEBUG_MARKER_EXTENSION_NAME’ undeclared (first use in this function)
    if (strcmp(VK_EXT_DEBUG_MARKER_EXTENSION_NAME, device_extensions[i].extensionName) == 0)
               ^

Log: http://sprunge.us/NMAY

Steps to reproduce:

sudo apt-get install git make gcc libsdl2-dev libvulkan-dev libvorbis-dev libmad0-dev
git clone https://github.com/Novum/vkQuake/
cd vkQuake/QUake
make

Are you using a recent Vulkan header? The extension has been added to the Vulkan headers some time ago.

I backported libvulkan-dev from Debian Stretch and have been using that for some time. I can build 0.50 ok. Is this library version too old?

Afair the debug marker extension was introduced with 1.0.12.0 and it seems that package is only 1.0.8.0.

Lovely :) I guess I'll have to look into building a package for that version. Thank you for the heads up. If this is true @Novum, this definitely should be noted in the readme for the master tree.

Update: It's been fun updating the Debian Sid package for libvulkan-dev 1.0.21.0. Had to make a few modifications to the packaging, but I think I almost have it.

I updated my libvulkan-dev package in my pool to 1.0.21.0, merged the Debian patches, and after some tinkering got that built. After installing this during a pbuilder chroot build, everything completed ok. @SaschaWillems thank you for the heads up (and for your Vulkan work).

Testing the resulting binary now.

Confirmed working.