GTK4 Win64 Cross Build and vulcan

I wanted to build GTK4 DLLs for Win64 on my Linux.
But it aborts with a Vulcan error message.
Is there any way to fix this?

cross.txt:

[binaries]
c = 'x86_64-w64-mingw32-gcc'
cpp = 'x86_64-w64-mingw32-g++'
ar = 'x86_64-w64-mingw32-ar'
strip = 'x86_64-w64-mingw32-strip'
exe_wrapper = 'wine64'
windres = 'x86_64-w64-mingw32-windres'

[host_machine]
system = 'windows'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'

Build:

meson ../gtk/ --cross-file=../cross.txt

Error:
../gtk/meson.build:624:13: ERROR: Dependency lookup for vulkan with method 'pkgconfig' failed: Pkg-config binary for machine 1 not found. Giving up.

Hi,

Looks like you don’t have the vulkan headers for mingw32…

Have you tried passing -Dvulkan=disabled to meson?

Not sure if vulkan is fully supported by gtk on Windows… The msys2 build currently disable it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.