Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sysgpu: expected type 'sysgpu.sysgpu.main.BackendType', found 'options.build.SysgpuBackend' #1235

Open
glyh opened this issue Aug 2, 2024 · 2 comments
Labels
bug Something isn't working needs-triage Issues that need triaging

Comments

@glyh
Copy link

glyh commented Aug 2, 2024

Environment Info

  • git tag: 9148754b7600fb0ab34dace4cfa328b9f105ea08
  • zig version: v0.13.0-dev.351+64ef45eb0
  • OS: Linux mechrevo 6.10.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 27 Jul 2024 16:49:55 +0000 x86_64 GNU/Linux

Reproduce

rm zig-out .zig-cache -rf 
zig build run-triangle -Dsysgpu_backend=opengl -Dcore_platform=wayland

Error log

run-triangle
└─ run core-triangle
   └─ install
      └─ install sprite
         └─ zig build-exe sprite Debug native 1 errors
src/sysgpu/main.zig:9:64: error: expected type 'sysgpu.sysgpu.main.BackendType', found 'options.build.SysgpuBackend'
    if (build_options.sysgpu_backend != .default) build_options.sysgpu_backend else switch (builtin.target.os.tag) {
                                                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig:5:36: note: enum declared here
pub const @"build.SysgpuBackend" = enum (u3) {
                                   ^~~~
src/sysgpu/sysgpu/main.zig:167:25: note: enum declared here
pub const BackendType = enum(u32) {
                        ^~~~
referenced by:
    impl: src/sysgpu/main.zig:15:22
    init: src/sysgpu/main.zig:27:52
    remaining reference traces hidden; use '-freference-trace' to see all reference traces
error: the following command failed with 1 compilation errors:
/home/lyh/.zig/0.13.0-dev.351+64ef45eb0/files/zig build-exe -ODebug --dep mach --dep zigimg --dep assets -Mroot=/home/lyh/Documents/Knowledge/CS/Editors/mach/examples/sprite/main.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/17cb0f71d2405389af5c7e67ce2d31fa/libcore-wayland.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/bab93276c5cb0f5d1059afd9d5efb872/libsysaudio-pipewire.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a -ODebug -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/d26508a8bc6a491e34c522b01cf916c7 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/764efc2570cd5ace1198cf5467cf7791 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/a8acda68e87387973737074b85411e88 --dep build-options --dep mach-freetype --dep mach-harfbuzz --dep mach-opus --dep font-assets --dep objc --dep vulkan -Mmach=/home/lyh/Documents/Knowledge/CS/Editors/mach/src/main.zig -Mzigimg=/home/lyh/.cache/zig/p/1220dc313944ea71a87b4f54f26b1427ad2992a721a221cb42f7f80b8eee4e4944b7/zigimg.zig -Massets=/home/lyh/.cache/zig/p/12204101e99906bee0fde5f82682bc822744a6f879dbf45374bebd92458492313df9/main.zig -Mbuild-options=/home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -Mmach-freetype=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/freetype.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/f80f801a49f9184b563c83a87cea204c/libharfbuzz.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/3fdac1cf08e1a6cc0e36036cd91a3fa6 --dep freetype=mach-freetype -Mmach-harfbuzz=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/harfbuzz.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/b70c37854705491cb58f6d47f186ef3a/libopusfile.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/8d573e08861edc1a872044d437394042/libopusenc.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/887fd1e2e17adc2bdcbf4359c5c7adbf -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/33920dae20cde797d938c72c0936a225 -Mmach-opus=/home/lyh/.cache/zig/p/12203e942ae6563c5fb05dff8e8a406b71fe6682342ae5d8d26093e6f9e3d2e02777/src/lib.zig -Mfont-assets=/home/lyh/.cache/zig/p/12202b816e7c31c516bd87218fd56f9b1f93671e4ab42a2a98110d586c4b3bdd2730/main.zig -Mobjc=/home/lyh/.cache/zig/p/1220211475420584a552b461dd569f891d29cb8e9e485b97053be604680c8d6e2a3e/src/main.zig -Mvulkan=/home/lyh/.cache/zig/p/1220d2b6789b71a94e692cb2f060bff4ffa4edfe196216cd573da68e74ab884eb34e/vk.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/830769d2062b8cf4a531121469922eed/libbrotli.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2dd1836c81a35482e4abf5f12065bdd1/libogg.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a -lc++ -lc --cache-dir /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache --global-cache-dir /home/lyh/.cache/zig --name sprite --listen=- 
run-triangle
└─ run core-triangle
   └─ install
      └─ install custom-renderer
         └─ zig build-exe custom-renderer Debug native 1 errors
src/sysgpu/main.zig:9:64: error: expected type 'sysgpu.sysgpu.main.BackendType', found 'options.build.SysgpuBackend'
    if (build_options.sysgpu_backend != .default) build_options.sysgpu_backend else switch (builtin.target.os.tag) {
                                                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig:5:36: note: enum declared here
pub const @"build.SysgpuBackend" = enum (u3) {
                                   ^~~~
src/sysgpu/sysgpu/main.zig:167:25: note: enum declared here
pub const BackendType = enum(u32) {
                        ^~~~
referenced by:
    impl: src/sysgpu/main.zig:15:22
    init: src/sysgpu/main.zig:27:52
    remaining reference traces hidden; use '-freference-trace' to see all reference traces
error: the following command failed with 1 compilation errors:
/home/lyh/.zig/0.13.0-dev.351+64ef45eb0/files/zig build-exe -ODebug --dep mach -Mroot=/home/lyh/Documents/Knowledge/CS/Editors/mach/examples/custom-renderer/main.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/17cb0f71d2405389af5c7e67ce2d31fa/libcore-wayland.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/bab93276c5cb0f5d1059afd9d5efb872/libsysaudio-pipewire.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a -ODebug -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/d26508a8bc6a491e34c522b01cf916c7 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/764efc2570cd5ace1198cf5467cf7791 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/a8acda68e87387973737074b85411e88 --dep build-options --dep mach-freetype --dep mach-harfbuzz --dep mach-opus --dep font-assets --dep objc --dep vulkan -Mmach=/home/lyh/Documents/Knowledge/CS/Editors/mach/src/main.zig -Mbuild-options=/home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -Mmach-freetype=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/freetype.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/f80f801a49f9184b563c83a87cea204c/libharfbuzz.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/3fdac1cf08e1a6cc0e36036cd91a3fa6 --dep freetype=mach-freetype -Mmach-harfbuzz=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/harfbuzz.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/b70c37854705491cb58f6d47f186ef3a/libopusfile.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/8d573e08861edc1a872044d437394042/libopusenc.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/887fd1e2e17adc2bdcbf4359c5c7adbf -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/33920dae20cde797d938c72c0936a225 -Mmach-opus=/home/lyh/.cache/zig/p/12203e942ae6563c5fb05dff8e8a406b71fe6682342ae5d8d26093e6f9e3d2e02777/src/lib.zig -Mfont-assets=/home/lyh/.cache/zig/p/12202b816e7c31c516bd87218fd56f9b1f93671e4ab42a2a98110d586c4b3bdd2730/main.zig -Mobjc=/home/lyh/.cache/zig/p/1220211475420584a552b461dd569f891d29cb8e9e485b97053be604680c8d6e2a3e/src/main.zig -Mvulkan=/home/lyh/.cache/zig/p/1220d2b6789b71a94e692cb2f060bff4ffa4edfe196216cd573da68e74ab884eb34e/vk.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/830769d2062b8cf4a531121469922eed/libbrotli.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2dd1836c81a35482e4abf5f12065bdd1/libogg.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a -lc++ -lc --cache-dir /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache --global-cache-dir /home/lyh/.cache/zig --name custom-renderer --listen=- 
run-triangle
└─ run core-triangle
   └─ install
      └─ install text
         └─ zig build-exe text Debug native 1 errors
src/sysgpu/main.zig:9:64: error: expected type 'sysgpu.sysgpu.main.BackendType', found 'options.build.SysgpuBackend'
    if (build_options.sysgpu_backend != .default) build_options.sysgpu_backend else switch (builtin.target.os.tag) {
                                                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig:5:36: note: enum declared here
pub const @"build.SysgpuBackend" = enum (u3) {
                                   ^~~~
src/sysgpu/sysgpu/main.zig:167:25: note: enum declared here
pub const BackendType = enum(u32) {
                        ^~~~
referenced by:
    impl: src/sysgpu/main.zig:15:22
    init: src/sysgpu/main.zig:27:52
    remaining reference traces hidden; use '-freference-trace' to see all reference traces
error: the following command failed with 1 compilation errors:
/home/lyh/.zig/0.13.0-dev.351+64ef45eb0/files/zig build-exe -ODebug --dep mach --dep assets -Mroot=/home/lyh/Documents/Knowledge/CS/Editors/mach/examples/text/main.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/17cb0f71d2405389af5c7e67ce2d31fa/libcore-wayland.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/bab93276c5cb0f5d1059afd9d5efb872/libsysaudio-pipewire.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a -ODebug -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/d26508a8bc6a491e34c522b01cf916c7 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/764efc2570cd5ace1198cf5467cf7791 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/a8acda68e87387973737074b85411e88 --dep build-options --dep mach-freetype --dep mach-harfbuzz --dep mach-opus --dep font-assets --dep objc --dep vulkan -Mmach=/home/lyh/Documents/Knowledge/CS/Editors/mach/src/main.zig -Massets=/home/lyh/.cache/zig/p/12204101e99906bee0fde5f82682bc822744a6f879dbf45374bebd92458492313df9/main.zig -Mbuild-options=/home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -Mmach-freetype=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/freetype.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/f80f801a49f9184b563c83a87cea204c/libharfbuzz.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/3fdac1cf08e1a6cc0e36036cd91a3fa6 --dep freetype=mach-freetype -Mmach-harfbuzz=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/harfbuzz.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/b70c37854705491cb58f6d47f186ef3a/libopusfile.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/8d573e08861edc1a872044d437394042/libopusenc.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/887fd1e2e17adc2bdcbf4359c5c7adbf -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/33920dae20cde797d938c72c0936a225 -Mmach-opus=/home/lyh/.cache/zig/p/12203e942ae6563c5fb05dff8e8a406b71fe6682342ae5d8d26093e6f9e3d2e02777/src/lib.zig -Mfont-assets=/home/lyh/.cache/zig/p/12202b816e7c31c516bd87218fd56f9b1f93671e4ab42a2a98110d586c4b3bdd2730/main.zig -Mobjc=/home/lyh/.cache/zig/p/1220211475420584a552b461dd569f891d29cb8e9e485b97053be604680c8d6e2a3e/src/main.zig -Mvulkan=/home/lyh/.cache/zig/p/1220d2b6789b71a94e692cb2f060bff4ffa4edfe196216cd573da68e74ab884eb34e/vk.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/830769d2062b8cf4a531121469922eed/libbrotli.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2dd1836c81a35482e4abf5f12065bdd1/libogg.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a -lc++ -lc --cache-dir /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache --global-cache-dir /home/lyh/.cache/zig --name text --listen=- 
run-triangle
└─ run core-triangle
   └─ install
      └─ install core-custom-entrypoint
         └─ zig build-exe core-custom-entrypoint Debug native 1 errors
src/sysgpu/main.zig:9:64: error: expected type 'sysgpu.sysgpu.main.BackendType', found 'options.build.SysgpuBackend'
    if (build_options.sysgpu_backend != .default) build_options.sysgpu_backend else switch (builtin.target.os.tag) {
                                                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig:5:36: note: enum declared here
pub const @"build.SysgpuBackend" = enum (u3) {
                                   ^~~~
src/sysgpu/sysgpu/main.zig:167:25: note: enum declared here
pub const BackendType = enum(u32) {
                        ^~~~
referenced by:
    impl: src/sysgpu/main.zig:15:22
    init: src/sysgpu/main.zig:27:52
    remaining reference traces hidden; use '-freference-trace' to see all reference traces
error: the following command failed with 1 compilation errors:
/home/lyh/.zig/0.13.0-dev.351+64ef45eb0/files/zig build-exe -ODebug --dep mach -Mroot=/home/lyh/Documents/Knowledge/CS/Editors/mach/examples/core/custom-entrypoint/main.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/17cb0f71d2405389af5c7e67ce2d31fa/libcore-wayland.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/bab93276c5cb0f5d1059afd9d5efb872/libsysaudio-pipewire.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a -ODebug -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/d26508a8bc6a491e34c522b01cf916c7 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/764efc2570cd5ace1198cf5467cf7791 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/a8acda68e87387973737074b85411e88 --dep build-options --dep mach-freetype --dep mach-harfbuzz --dep mach-opus --dep font-assets --dep objc --dep vulkan -Mmach=/home/lyh/Documents/Knowledge/CS/Editors/mach/src/main.zig -Mbuild-options=/home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -Mmach-freetype=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/freetype.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/f80f801a49f9184b563c83a87cea204c/libharfbuzz.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/3fdac1cf08e1a6cc0e36036cd91a3fa6 --dep freetype=mach-freetype -Mmach-harfbuzz=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/harfbuzz.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/b70c37854705491cb58f6d47f186ef3a/libopusfile.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/8d573e08861edc1a872044d437394042/libopusenc.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/887fd1e2e17adc2bdcbf4359c5c7adbf -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/33920dae20cde797d938c72c0936a225 -Mmach-opus=/home/lyh/.cache/zig/p/12203e942ae6563c5fb05dff8e8a406b71fe6682342ae5d8d26093e6f9e3d2e02777/src/lib.zig -Mfont-assets=/home/lyh/.cache/zig/p/12202b816e7c31c516bd87218fd56f9b1f93671e4ab42a2a98110d586c4b3bdd2730/main.zig -Mobjc=/home/lyh/.cache/zig/p/1220211475420584a552b461dd569f891d29cb8e9e485b97053be604680c8d6e2a3e/src/main.zig -Mvulkan=/home/lyh/.cache/zig/p/1220d2b6789b71a94e692cb2f060bff4ffa4edfe196216cd573da68e74ab884eb34e/vk.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/830769d2062b8cf4a531121469922eed/libbrotli.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2dd1836c81a35482e4abf5f12065bdd1/libogg.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a -lc++ -lc --cache-dir /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache --global-cache-dir /home/lyh/.cache/zig --name core-custom-entrypoint --listen=- 
run-triangle
└─ run core-triangle
   └─ install
      └─ install core-triangle
         └─ zig build-exe core-triangle Debug native 1 errors
src/sysgpu/main.zig:9:64: error: expected type 'sysgpu.sysgpu.main.BackendType', found 'options.build.SysgpuBackend'
    if (build_options.sysgpu_backend != .default) build_options.sysgpu_backend else switch (builtin.target.os.tag) {
                                                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig:5:36: note: enum declared here
pub const @"build.SysgpuBackend" = enum (u3) {
                                   ^~~~
src/sysgpu/sysgpu/main.zig:167:25: note: enum declared here
pub const BackendType = enum(u32) {
                        ^~~~
referenced by:
    impl: src/sysgpu/main.zig:15:22
    init: src/sysgpu/main.zig:27:52
    remaining reference traces hidden; use '-freference-trace' to see all reference traces
error: the following command failed with 1 compilation errors:
/home/lyh/.zig/0.13.0-dev.351+64ef45eb0/files/zig build-exe -ODebug --dep mach -Mroot=/home/lyh/Documents/Knowledge/CS/Editors/mach/examples/core/triangle/main.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/17cb0f71d2405389af5c7e67ce2d31fa/libcore-wayland.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/bab93276c5cb0f5d1059afd9d5efb872/libsysaudio-pipewire.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a -ODebug -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/d26508a8bc6a491e34c522b01cf916c7 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/764efc2570cd5ace1198cf5467cf7791 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/a8acda68e87387973737074b85411e88 --dep build-options --dep mach-freetype --dep mach-harfbuzz --dep mach-opus --dep font-assets --dep objc --dep vulkan -Mmach=/home/lyh/Documents/Knowledge/CS/Editors/mach/src/main.zig -Mbuild-options=/home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -Mmach-freetype=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/freetype.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/f80f801a49f9184b563c83a87cea204c/libharfbuzz.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/3fdac1cf08e1a6cc0e36036cd91a3fa6 --dep freetype=mach-freetype -Mmach-harfbuzz=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/harfbuzz.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/b70c37854705491cb58f6d47f186ef3a/libopusfile.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/8d573e08861edc1a872044d437394042/libopusenc.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/887fd1e2e17adc2bdcbf4359c5c7adbf -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/33920dae20cde797d938c72c0936a225 -Mmach-opus=/home/lyh/.cache/zig/p/12203e942ae6563c5fb05dff8e8a406b71fe6682342ae5d8d26093e6f9e3d2e02777/src/lib.zig -Mfont-assets=/home/lyh/.cache/zig/p/12202b816e7c31c516bd87218fd56f9b1f93671e4ab42a2a98110d586c4b3bdd2730/main.zig -Mobjc=/home/lyh/.cache/zig/p/1220211475420584a552b461dd569f891d29cb8e9e485b97053be604680c8d6e2a3e/src/main.zig -Mvulkan=/home/lyh/.cache/zig/p/1220d2b6789b71a94e692cb2f060bff4ffa4edfe196216cd573da68e74ab884eb34e/vk.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/830769d2062b8cf4a531121469922eed/libbrotli.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2dd1836c81a35482e4abf5f12065bdd1/libogg.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a -lc++ -lc --cache-dir /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache --global-cache-dir /home/lyh/.cache/zig --name core-triangle --listen=- 
run-triangle
└─ run core-triangle
   └─ install
      └─ install glyphs
         └─ zig build-exe glyphs Debug native 1 errors
src/sysgpu/main.zig:9:64: error: expected type 'sysgpu.sysgpu.main.BackendType', found 'options.build.SysgpuBackend'
    if (build_options.sysgpu_backend != .default) build_options.sysgpu_backend else switch (builtin.target.os.tag) {
                                                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig:5:36: note: enum declared here
pub const @"build.SysgpuBackend" = enum (u3) {
                                   ^~~~
src/sysgpu/sysgpu/main.zig:167:25: note: enum declared here
pub const BackendType = enum(u32) {
                        ^~~~
referenced by:
    impl: src/sysgpu/main.zig:15:22
    init: src/sysgpu/main.zig:27:52
    remaining reference traces hidden; use '-freference-trace' to see all reference traces
error: the following command failed with 1 compilation errors:
/home/lyh/.zig/0.13.0-dev.351+64ef45eb0/files/zig build-exe -ODebug --dep mach --dep freetype=mach-freetype --dep assets -Mroot=/home/lyh/Documents/Knowledge/CS/Editors/mach/examples/glyphs/main.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/17cb0f71d2405389af5c7e67ce2d31fa/libcore-wayland.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/bab93276c5cb0f5d1059afd9d5efb872/libsysaudio-pipewire.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a -ODebug -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/d26508a8bc6a491e34c522b01cf916c7 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/764efc2570cd5ace1198cf5467cf7791 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/a8acda68e87387973737074b85411e88 --dep build-options --dep mach-freetype --dep mach-harfbuzz --dep mach-opus --dep font-assets --dep objc --dep vulkan -Mmach=/home/lyh/Documents/Knowledge/CS/Editors/mach/src/main.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -Mmach-freetype=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/freetype.zig -Massets=/home/lyh/.cache/zig/p/12204101e99906bee0fde5f82682bc822744a6f879dbf45374bebd92458492313df9/main.zig -Mbuild-options=/home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/f80f801a49f9184b563c83a87cea204c/libharfbuzz.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/3fdac1cf08e1a6cc0e36036cd91a3fa6 --dep freetype=mach-freetype -Mmach-harfbuzz=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/harfbuzz.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/b70c37854705491cb58f6d47f186ef3a/libopusfile.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/8d573e08861edc1a872044d437394042/libopusenc.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/887fd1e2e17adc2bdcbf4359c5c7adbf -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/33920dae20cde797d938c72c0936a225 -Mmach-opus=/home/lyh/.cache/zig/p/12203e942ae6563c5fb05dff8e8a406b71fe6682342ae5d8d26093e6f9e3d2e02777/src/lib.zig -Mfont-assets=/home/lyh/.cache/zig/p/12202b816e7c31c516bd87218fd56f9b1f93671e4ab42a2a98110d586c4b3bdd2730/main.zig -Mobjc=/home/lyh/.cache/zig/p/1220211475420584a552b461dd569f891d29cb8e9e485b97053be604680c8d6e2a3e/src/main.zig -Mvulkan=/home/lyh/.cache/zig/p/1220d2b6789b71a94e692cb2f060bff4ffa4edfe196216cd573da68e74ab884eb34e/vk.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/830769d2062b8cf4a531121469922eed/libbrotli.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2dd1836c81a35482e4abf5f12065bdd1/libogg.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a -lc++ -lc --cache-dir /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache --global-cache-dir /home/lyh/.cache/zig --name glyphs --listen=- 
run-triangle
└─ run core-triangle
   └─ install
      └─ install hardware-check
         └─ zig build-exe hardware-check Debug native 1 errors
src/sysgpu/main.zig:9:64: error: expected type 'sysgpu.sysgpu.main.BackendType', found 'options.build.SysgpuBackend'
    if (build_options.sysgpu_backend != .default) build_options.sysgpu_backend else switch (builtin.target.os.tag) {
                                                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig:5:36: note: enum declared here
pub const @"build.SysgpuBackend" = enum (u3) {
                                   ^~~~
src/sysgpu/sysgpu/main.zig:167:25: note: enum declared here
pub const BackendType = enum(u32) {
                        ^~~~
referenced by:
    impl: src/sysgpu/main.zig:15:22
    init: src/sysgpu/main.zig:27:52
    remaining reference traces hidden; use '-freference-trace' to see all reference traces
error: the following command failed with 1 compilation errors:
/home/lyh/.zig/0.13.0-dev.351+64ef45eb0/files/zig build-exe -ODebug --dep mach --dep assets --dep zigimg -Mroot=/home/lyh/Documents/Knowledge/CS/Editors/mach/examples/hardware-check/main.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/17cb0f71d2405389af5c7e67ce2d31fa/libcore-wayland.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/bab93276c5cb0f5d1059afd9d5efb872/libsysaudio-pipewire.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a -ODebug -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/d26508a8bc6a491e34c522b01cf916c7 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/764efc2570cd5ace1198cf5467cf7791 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/a8acda68e87387973737074b85411e88 --dep build-options --dep mach-freetype --dep mach-harfbuzz --dep mach-opus --dep font-assets --dep objc --dep vulkan -Mmach=/home/lyh/Documents/Knowledge/CS/Editors/mach/src/main.zig -Massets=/home/lyh/.cache/zig/p/12204101e99906bee0fde5f82682bc822744a6f879dbf45374bebd92458492313df9/main.zig -Mzigimg=/home/lyh/.cache/zig/p/1220dc313944ea71a87b4f54f26b1427ad2992a721a221cb42f7f80b8eee4e4944b7/zigimg.zig -Mbuild-options=/home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -Mmach-freetype=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/freetype.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/f80f801a49f9184b563c83a87cea204c/libharfbuzz.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/3fdac1cf08e1a6cc0e36036cd91a3fa6 --dep freetype=mach-freetype -Mmach-harfbuzz=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/harfbuzz.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/b70c37854705491cb58f6d47f186ef3a/libopusfile.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/8d573e08861edc1a872044d437394042/libopusenc.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/887fd1e2e17adc2bdcbf4359c5c7adbf -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/33920dae20cde797d938c72c0936a225 -Mmach-opus=/home/lyh/.cache/zig/p/12203e942ae6563c5fb05dff8e8a406b71fe6682342ae5d8d26093e6f9e3d2e02777/src/lib.zig -Mfont-assets=/home/lyh/.cache/zig/p/12202b816e7c31c516bd87218fd56f9b1f93671e4ab42a2a98110d586c4b3bdd2730/main.zig -Mobjc=/home/lyh/.cache/zig/p/1220211475420584a552b461dd569f891d29cb8e9e485b97053be604680c8d6e2a3e/src/main.zig -Mvulkan=/home/lyh/.cache/zig/p/1220d2b6789b71a94e692cb2f060bff4ffa4edfe196216cd573da68e74ab884eb34e/vk.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/830769d2062b8cf4a531121469922eed/libbrotli.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2dd1836c81a35482e4abf5f12065bdd1/libogg.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a -lc++ -lc --cache-dir /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache --global-cache-dir /home/lyh/.cache/zig --name hardware-check --listen=- 
run-triangle
└─ run core-triangle
   └─ install
      └─ install play-opus
         └─ zig build-exe play-opus Debug native 1 errors
src/sysgpu/main.zig:9:64: error: expected type 'sysgpu.sysgpu.main.BackendType', found 'options.build.SysgpuBackend'
    if (build_options.sysgpu_backend != .default) build_options.sysgpu_backend else switch (builtin.target.os.tag) {
                                                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig:5:36: note: enum declared here
pub const @"build.SysgpuBackend" = enum (u3) {
                                   ^~~~
src/sysgpu/sysgpu/main.zig:167:25: note: enum declared here
pub const BackendType = enum(u32) {
                        ^~~~
referenced by:
    impl: src/sysgpu/main.zig:15:22
    init: src/sysgpu/main.zig:27:52
    remaining reference traces hidden; use '-freference-trace' to see all reference traces
error: the following command failed with 1 compilation errors:
/home/lyh/.zig/0.13.0-dev.351+64ef45eb0/files/zig build-exe -ODebug --dep mach --dep assets -Mroot=/home/lyh/Documents/Knowledge/CS/Editors/mach/examples/play-opus/main.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/17cb0f71d2405389af5c7e67ce2d31fa/libcore-wayland.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/bab93276c5cb0f5d1059afd9d5efb872/libsysaudio-pipewire.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a -ODebug -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/d26508a8bc6a491e34c522b01cf916c7 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/764efc2570cd5ace1198cf5467cf7791 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/a8acda68e87387973737074b85411e88 --dep build-options --dep mach-freetype --dep mach-harfbuzz --dep mach-opus --dep font-assets --dep objc --dep vulkan -Mmach=/home/lyh/Documents/Knowledge/CS/Editors/mach/src/main.zig -Massets=/home/lyh/.cache/zig/p/12204101e99906bee0fde5f82682bc822744a6f879dbf45374bebd92458492313df9/main.zig -Mbuild-options=/home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -Mmach-freetype=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/freetype.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/f80f801a49f9184b563c83a87cea204c/libharfbuzz.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/3fdac1cf08e1a6cc0e36036cd91a3fa6 --dep freetype=mach-freetype -Mmach-harfbuzz=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/harfbuzz.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/b70c37854705491cb58f6d47f186ef3a/libopusfile.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/8d573e08861edc1a872044d437394042/libopusenc.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/887fd1e2e17adc2bdcbf4359c5c7adbf -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/33920dae20cde797d938c72c0936a225 -Mmach-opus=/home/lyh/.cache/zig/p/12203e942ae6563c5fb05dff8e8a406b71fe6682342ae5d8d26093e6f9e3d2e02777/src/lib.zig -Mfont-assets=/home/lyh/.cache/zig/p/12202b816e7c31c516bd87218fd56f9b1f93671e4ab42a2a98110d586c4b3bdd2730/main.zig -Mobjc=/home/lyh/.cache/zig/p/1220211475420584a552b461dd569f891d29cb8e9e485b97053be604680c8d6e2a3e/src/main.zig -Mvulkan=/home/lyh/.cache/zig/p/1220d2b6789b71a94e692cb2f060bff4ffa4edfe196216cd573da68e74ab884eb34e/vk.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/830769d2062b8cf4a531121469922eed/libbrotli.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2dd1836c81a35482e4abf5f12065bdd1/libogg.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a -lc++ -lc --cache-dir /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache --global-cache-dir /home/lyh/.cache/zig --name play-opus --listen=- 
run-triangle
└─ run core-triangle
   └─ install
      └─ install piano
         └─ zig build-exe piano Debug native 1 errors
src/sysgpu/main.zig:9:64: error: expected type 'sysgpu.sysgpu.main.BackendType', found 'options.build.SysgpuBackend'
    if (build_options.sysgpu_backend != .default) build_options.sysgpu_backend else switch (builtin.target.os.tag) {
                                                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig:5:36: note: enum declared here
pub const @"build.SysgpuBackend" = enum (u3) {
                                   ^~~~
src/sysgpu/sysgpu/main.zig:167:25: note: enum declared here
pub const BackendType = enum(u32) {
                        ^~~~
referenced by:
    impl: src/sysgpu/main.zig:15:22
    init: src/sysgpu/main.zig:27:52
    remaining reference traces hidden; use '-freference-trace' to see all reference traces
error: the following command failed with 1 compilation errors:
/home/lyh/.zig/0.13.0-dev.351+64ef45eb0/files/zig build-exe -ODebug --dep mach -Mroot=/home/lyh/Documents/Knowledge/CS/Editors/mach/examples/piano/main.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/17cb0f71d2405389af5c7e67ce2d31fa/libcore-wayland.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/bab93276c5cb0f5d1059afd9d5efb872/libsysaudio-pipewire.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a -ODebug -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/d26508a8bc6a491e34c522b01cf916c7 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/764efc2570cd5ace1198cf5467cf7791 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2491b6f8e5ce2bff07f26634f34fab15 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/a8acda68e87387973737074b85411e88 --dep build-options --dep mach-freetype --dep mach-harfbuzz --dep mach-opus --dep font-assets --dep objc --dep vulkan -Mmach=/home/lyh/Documents/Knowledge/CS/Editors/mach/src/main.zig -Mbuild-options=/home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/c/a87d36df558bdc293212afab2846cead/options.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -Mmach-freetype=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/freetype.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/f80f801a49f9184b563c83a87cea204c/libharfbuzz.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/7f165850d8ded59c7e26154d904b9857 -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/3fdac1cf08e1a6cc0e36036cd91a3fa6 --dep freetype=mach-freetype -Mmach-harfbuzz=/home/lyh/.cache/zig/p/12206251ed342f400b80abf3c338521f5d8c83eb596899abf77a2afe0cfd46e61ff0/src/harfbuzz.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/b70c37854705491cb58f6d47f186ef3a/libopusfile.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/8d573e08861edc1a872044d437394042/libopusenc.a -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/887fd1e2e17adc2bdcbf4359c5c7adbf -I /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/33920dae20cde797d938c72c0936a225 -Mmach-opus=/home/lyh/.cache/zig/p/12203e942ae6563c5fb05dff8e8a406b71fe6682342ae5d8d26093e6f9e3d2e02777/src/lib.zig -Mfont-assets=/home/lyh/.cache/zig/p/12202b816e7c31c516bd87218fd56f9b1f93671e4ab42a2a98110d586c4b3bdd2730/main.zig -Mobjc=/home/lyh/.cache/zig/p/1220211475420584a552b461dd569f891d29cb8e9e485b97053be604680c8d6e2a3e/src/main.zig -Mvulkan=/home/lyh/.cache/zig/p/1220d2b6789b71a94e692cb2f060bff4ffa4edfe196216cd573da68e74ab884eb34e/vk.zig /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/4fa9438561e25558e1472b15718f1dab/libx11-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/0296481a1c708974004fbca6fd6fba87/libwayland-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/18627292a7378a3ebe6d5eb1420eec8e/liblinux-audio-headers.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/830769d2062b8cf4a531121469922eed/libbrotli.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/778272a3bc1e101a987218235eafceb6/libfreetype.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/2dd1836c81a35482e4abf5f12065bdd1/libogg.a /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/e27c05c3d218e9c6989bba57a245fe47/libopus.a -lc++ -lc --cache-dir /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache --global-cache-dir /home/lyh/.cache/zig --name piano --listen=- 
Build Summary: 34/55 steps succeeded; 9 failed (disable with --summary none)
run-triangle transitive failure
└─ run core-triangle transitive failure
   ├─ zig build-exe core-triangle Debug native 1 errors
   └─ install transitive failure
      ├─ install core-custom-entrypoint transitive failure
      │  └─ zig build-exe core-custom-entrypoint Debug native 1 errors
      ├─ install core-triangle transitive failure
      │  └─ zig build-exe core-triangle Debug native (+21 more reused dependencies)
      ├─ install hardware-check transitive failure
      │  └─ zig build-exe hardware-check Debug native 1 errors
      ├─ install custom-renderer transitive failure
      │  └─ zig build-exe custom-renderer Debug native 1 errors
      ├─ install glyphs transitive failure
      │  └─ zig build-exe glyphs Debug native 1 errors
      ├─ install piano transitive failure
      │  └─ zig build-exe piano Debug native 1 errors
      ├─ install play-opus transitive failure
      │  └─ zig build-exe play-opus Debug native 1 errors
      ├─ install sprite transitive failure
      │  └─ zig build-exe sprite Debug native 1 errors
      └─ install text transitive failure
         └─ zig build-exe text Debug native 1 errors
error: the following build command failed with exit code 1:
/home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache/o/5644413977b2f935c73dcf220f1e6d1f/build /home/lyh/.zig/0.13.0-dev.351+64ef45eb0/files/zig /home/lyh/Documents/Knowledge/CS/Editors/mach /home/lyh/Documents/Knowledge/CS/Editors/mach/.zig-cache /home/lyh/.cache/zig --seed 0xfbd9e5a5 -Z77f386f280517700 run-triangle -Dsysgpu_backend=opengl -Dcore_platform=wayland
@glyh glyh added bug Something isn't working needs-triage Issues that need triaging labels Aug 2, 2024
@glyh
Copy link
Author

glyh commented Aug 2, 2024

checking out to 0.4 and omitting all the -D params it seems to work for me now.

@glyh glyh closed this as completed Aug 2, 2024
@glyh
Copy link
Author

glyh commented Aug 3, 2024

Still not sure should I have this closed or not.

@glyh glyh reopened this Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Issues that need triaging
Projects
None yet
Development

No branches or pull requests

1 participant