bevy_pen_tool
bevy_pen_tool copied to clipboard
Compilation errors when installing with `cargo install --git https://github.com/eliotbo/bevy_pen_tool`
Hi, I thought your tool looked interesting, but unfortunately when I try to install it I am getting compilation errors:
error[E0432]: unresolved import `bevy_pen_tool_plugin::PenPlugin`
--> src/main.rs:3:45
|
3 | use bevy_pen_tool_plugin::{Bezier, Globals, PenPlugin};
| ^^^^^^^^^
| |
| no `PenPlugin` in the root
| help: a similar name exists in the module: `PenApiPlugin`
error[E0277]: the trait bound `Bezier: TypeUuid` is not satisfied
--> src/main.rs:58:73
|
58 | fn test(keyboard_input: Res<Input<KeyCode>>, mut _bezier_curves: ResMut<Assets<Bezier>>) {
| ^^^^^^^^^^^^^^ the trait `TypeUuid` is not implemented for `Bezier`
|
= help: the following other types implement trait `TypeUuid`:
AnimationClip
AudioSink
AudioSource
ColorMaterial
DynamicScene
Font
FontAtlasSet
GltfMesh
and 10 others
= note: required for `Bezier` to implement `Asset`
note: required by a bound in `bevy::prelude::Assets`
--> /home/logan/.cargo/git/checkouts/bevy-f7ffde730c324c74/6a1ba9c/crates/bevy_asset/src/assets.rs:70:22
|
70 | pub struct Assets<T: Asset> {
| ^^^^^ required by this bound in `bevy::prelude::Assets`
error[E0277]: the trait bound `UiBoard: bevy::prelude::Component` is not satisfied
--> src/cam.rs:53:9
|
53 | Query<(&mut UiBoard, &mut Transform)>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `bevy::prelude::Component` is not implemented for `UiBoard`
|
= help: the following other types implement trait `bevy::prelude::Component`:
Aabb
AlphaMode
AnimationPlayer
Button
CalculatedClip
CalculatedSize
Cam
Camera
and 74 others
= note: required for `&mut UiBoard` to implement `WorldQuery`
= note: 1 redundant requirement hidden
= note: required for `(&mut UiBoard, &mut bevy::prelude::Transform)` to implement `WorldQuery`
note: required by a bound in `bevy::prelude::Query`
--> /home/logan/.cargo/git/checkouts/bevy-f7ffde730c324c74/6a1ba9c/crates/bevy_ecs/src/system/query.rs:241:37
|
241 | pub struct Query<'world, 'state, Q: WorldQuery, F: WorldQuery = ()> {
| ^^^^^^^^^^ required by this bound in `bevy::prelude::Query`
Some errors have detailed explanations: E0277, E0432.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `bevy_pen_tool` due to 3 previous errors
error: failed to compile `bevy_pen_tool v0.3.0 (https://github.com/eliotbo/bevy_pen_tool#f8ff007d)`
Cargo version: 1.67.0 Rustc version: 1.67.0