Skip to content

Cannot build triangle exemple #28

@0Qwel

Description

@0Qwel

The triangle exemple fails to build. All other exemples work fine.

user@debian ~/D/wayrs-main> cargo run --example triangle
   Compiling wayrs-protocols v0.14.11+1.45 (/home/user/Downloads/wayrs-main/wayrs-protocols)
error: proc macro panicked
  --> wayrs-protocols/src/lib.rs:24:1
   |
24 | / gen! {
25 | |     mod: linux_dmabuf_v1,
26 | |     feat: "linux-dmabuf-v1",
27 | |     file: "wayland-protocols/stable/linux-dmabuf/linux-dmabuf-v1.xml",
28 | |     deps: [core],
29 | | }
   | |_^
   |
   = help: message: could not read the file: Os { code: 2, kind: NotFound, message: "No such file or directory" }
   = note: this error originates in the macro `wayrs_client::generate` which comes from the expansion of the macro `gen` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc macro panicked
  --> wayrs-protocols/src/lib.rs:45:1
   |
45 | / gen! {
46 | |     mod: xdg_shell,
47 | |     feat: "xdg-shell",
48 | |     file: "wayland-protocols/stable/xdg-shell/xdg-shell.xml",
49 | |     deps: [core],
50 | | }
   | |_^
   |
   = help: message: could not read the file: Os { code: 2, kind: NotFound, message: "No such file or directory" }
   = note: this error originates in the macro `wayrs_client::generate` which comes from the expansion of the macro `gen` (in Nightly builds, run with -Z macro-backtrace for more info)

The error then repeats once and cargo fails to compile

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions