[Bug 246199] devel/vulkan-tools: build breaks if vulkan-loader is installed with Wayland support only
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue May 5 13:08:29 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246199
--- Comment #1 from Greg V <greg at unrelenting.technology> ---
The cube demos (in this version at least) do not support X11 and Wayland
simultaneously, e.g.:
#if defined(VK_USE_PLATFORM_XLIB_KHR) || defined(VK_USE_PLATFORM_XCB_KHR)
#include <X11/Xutil.h>
#elif defined(VK_USE_PLATFORM_WAYLAND_KHR)
#include <linux/input.h>
#endif
So the tools package does not support a wayland-only loader right now.
I guess you could add options that change CUBE_WSI_SELECTION in cmake and/or
make building the cube optional. I would approve patches for this.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list