pixix4/ev3dev-lang-rust

screen errors

Closed this issue · 1 comments

i copied the screen.rs example.
i get these errors

mismatched types
`Rgb<{integer}>` and `image::color::Rgb<u8>` have similar names, but are actually distinct types
perhaps two different versions of crate `image` are being used?

the trait bound `image::buffer_::ImageBuffer<image::color::Rgb<u8>, Vec<u8>>: GenericImageView` is not satisfied
the following other types implement trait `GenericImageView`:
  View<Buffer, P>
  ViewMut<Buffer, P>
  ImageBuffer<P, Container>
  DynamicImage
  image::image::SubImageInner<I>

i noticed that this is just that the image crate has a more recent update that the ev3dev-lang-rust crate does not.