Skip to content

Unable to run texture example -- shader_bindings.rs file not found #334

Open
@LucasMoskun

Description

@LucasMoskun

When I run the cargo run -p texture command I get the following error:

error: couldn't read .../metal-rs/target/debug/build/texture-eca29171d120f2b2/out/shader_bindings.rs: No such file or directory (os error 2)
 --> examples/texture/src/shader_bindings.rs:3:1
  |
3 | include!(concat!(env!("OUT_DIR"), "/shader_bindings.rs"));
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the macro `include` (in Nightly builds, run with -Z macro-backtrace for more info)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions