Giter Club home page Giter Club logo

Comments (6)

zicklag avatar zicklag commented on May 29, 2024 1

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

from bevy_retrograde.

zicklag avatar zicklag commented on May 29, 2024

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.

from bevy_retrograde.

adsick avatar adsick commented on May 29, 2024
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`

from bevy_retrograde.

zicklag avatar zicklag commented on May 29, 2024

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.

from bevy_retrograde.

adsick avatar adsick commented on May 29, 2024

Oh, yep I'm on master, didn't know that it wouldn't work.

from bevy_retrograde.

adsick avatar adsick commented on May 29, 2024

now hello_world and some others seems ok, but there are problems with epaint and physics_map:
image
image

from bevy_retrograde.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.