Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 May 2020 13:08:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 246199] devel/vulkan-tools: build breaks if vulkan-loader is installed with Wayland support only
Message-ID:  <bug-246199-7788-0zfZDrhQp9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-246199-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-246199-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246199

--- Comment #1 from Greg V <greg@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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246199-7788-0zfZDrhQp9>