Closed adsick closed 3 years ago
Hey there, thanks for the report!
You should be able to fix that by running cargo update
and then running cargo build
again.
We're in the middle of working on the physics system with some un-released changes on master so you may want to run cargo update
every one-in-a-while if something goes wrong.
adsick@pop-os:~/Rust/Crates/bevy_retrograde$ cargo build
Compiling bevy_retrograde v0.1.0 (/home/adsick/Rust/Crates/bevy_retrograde)
error[E0433]: failed to resolve: could not find `winit` in `bevy`
--> src/lib.rs:201:25
|
201 | group.add(bevy::winit::WinitPlugin::default());
| ^^^^^ could not find `winit` in `bevy`
error[E0277]: the trait bound `RetroCorePlugin: Plugin` is not satisfied
--> src/lib.rs:205:19
|
205 | group.add(core::RetroCorePlugin);
| ^^^^^^^^^^^^^^^^^^^^^ the trait `Plugin` is not implemented for `RetroCorePlugin`
error[E0277]: the trait bound `RetroAudioPlugin: Plugin` is not satisfied
--> src/lib.rs:208:19
|
208 | group.add(audio::RetroAudioPlugin);
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Plugin` is not implemented for `RetroAudioPlugin`
error[E0277]: the trait bound `RetroTextPlugin: Plugin` is not satisfied
--> src/lib.rs:214:19
|
214 | group.add(text::RetroTextPlugin);
| ^^^^^^^^^^^^^^^^^^^^^ the trait `Plugin` is not implemented for `RetroTextPlugin`
error[E0277]: the trait bound `RetroPhysicsPlugin: Plugin` is not satisfied
--> src/lib.rs:217:19
|
217 | group.add(physics::RetroPhysicsPlugin);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Plugin` is not implemented for `RetroPhysicsPlugin`
error[E0277]: the trait bound `RetroUiPlugin: Plugin` is not satisfied
--> src/lib.rs:220:19
|
220 | group.add(ui::RetroUiPlugin);
| ^^^^^^^^^^^^^^^^^ the trait `Plugin` is not implemented for `RetroUiPlugin`
error: aborting due to 6 previous errors
Some errors have detailed explanations: E0277, E0433.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `bevy_retrograde`
It looks like you're using a different version of Bevy than what bevy_retrograde
expects. Are you using Bevy 0.5
or are you building off off bevy master
? Bevy Retrograde is currently only working for Bevy 0.5.
If there were features from Bevy master that you needed, we might be able to support building against Bevy master by adding a bevy-unstable
feature to Bevy Retrograde. We've done that before when we needed unreleased features from Bevy.
Oh, yep I'm on master, didn't know that it wouldn't work.
now hello_world and some others seems ok, but there are problems with epaint and physics_map:
You should just have to enable the ldtk
and epaint
features when building. I should add the examples to the Cargo.toml
so that it tells you that when you try to build them.
cargo run --features ldtk,epaint --example physics_map
adsick@pop-os:~/Rust/Crates/bevy_retrograde$ cargo build