I’ve problems using glium. I added the line
glium = "*"
to my Cargo.toml in the
[dependencies] section but cargo gives me the following error when building:
An unknown error occurred
cargo build --verbose I get the error:
failed to parse registry's information for: wayland-client
I’m new to Rust and I don’t really know what to do with this information. When I add the line
glium = "0.16.0"
to my Cargo.toml I get the same error. (0.16.0 seems to be the current version of glium according to crates.io)
When I change the version number to a random
glium = "1"
I’m getting the following error:
no matching package named `glium` found (required by `glium_test`) location searched: registry https://github.com/rust-lang/crates.io-index version required: ^1 versions found: 0.16.0, 0.15.0, 0.14.0, ...
(Which explicitly states version 0.16.0)
rand = "0.3" for example works fine.
cargo 0.8.0 (built 2016-03-22)
and I’m on Ubuntu 16.04.
Help is greatly appreciated.
Thanks in advance!