PistonDevelopers / skeletal_animation_demo

Demo project for PistonDevelopers/skeletal_animation
MIT License
22 stars 3 forks source link

c::pso::AccessInfo<R> undefined #37

Open lesurp opened 7 years ago

lesurp commented 7 years ago

Hi,

  1. Issue When compiling (cargo build), I get this error:
    error[E0412]: type name `c::pso::AccessInfo` is undefined or not in scope
    --> /home/plesur/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.14.1/src/pso/mod.rs:54:26
    |
    54 | pub type AccessInfo<R> = c::pso::AccessInfo<R>;
    |                          ^^^^^^^^^^^^^^^^^^^^^ undefined or not in scope
    |
    = help: you can import several candidates into scope (`use ...;`):
    = help:   `core::command::AccessInfo`
    = help:   `pso::AccessInfo`

Setup: Debian 8, rustc 1.15.1 (021bd294c 2017-02-08), cargo 0.16.0-nightly (6e0c18c 2017-01-27)

lesurp commented 7 years ago

By removing the "replace" in the cargo.toml, I now get a compilation error in main.rs about the line 231;

error[E0277]: the trait bound `((f32, [f32; 3]), (f32, [f32; 3])): gfx::traits::Pod` is not satisfied
   --> src/main.rs:231:22
    |
231 |             dlb_demo.render(&settings, &mut debug_renderer,
    |                      ^^^^^^ the trait `gfx::traits::Pod` is not implemented for `((f32, [f32; 3]), (f32, [f32; 3]))`