bevy-inspector-egui
bevy-inspector-egui copied to clipboard
eui dock example fails to build
error[E0433]: failed to resolve: use of unresolved module or unlinked crate bevy_egui
--> src/main.rs:28:22
|
28 | .add_plugins(bevy_egui::EguiPlugin {
| ^^^^^^^^^ use of unresolved module or unlinked crate bevy_egui
|
= help: if you wanted to use a crate named bevy_egui, use cargo add bevy_egui to add it to your Cargo.toml
help: consider importing this crate
|
1 + use bevy_inspector_egui::bevy_egui;
|
error[E0433]: failed to resolve: use of unresolved module or unlinked crate egui
--> src/main.rs:142:20
|
142 | viewport_rect: egui::Rect,
| ^^^^ use of unresolved module or unlinked crate egui
|
= help: if you wanted to use a crate named egui, use cargo add egui to add it to your Cargo.toml
help: consider importing one of these crates
|
1 + use bevy_inspector_egui::egui;
|
1 + use egui_dock::egui;
|
error[E0433]: failed to resolve: use of unresolved module or unlinked crate egui
--> src/main.rs:162:28
|
162 | viewport_rect: egui::Rect::NOTHING,
| ^^^^ use of unresolved module or unlinked crate egui
|
= help: if you wanted to use a crate named egui, use cargo add egui to add it to your Cargo.toml
help: consider importing one of these structs
|
1 + use bevy::prelude::Rect;
|
1 + use transform_gizmo_egui::Rect;
|
help: if you import Rect, refer to it directly
|
162 - viewport_rect: egui::Rect::NOTHING,
162 + viewport_rect: Rect::NOTHING,
|
error[E0433]: failed to resolve: use of unresolved module or unlinked crate egui
--> src/main.rs:167:51
|
167 | fn ui(&mut self, world: &mut World, ctx: &mut egui::Context) {
| ^^^^ use of unresolved module or unlinked crate egui
|
= help: if you wanted to use a crate named egui, use cargo add egui to add it to your Cargo.toml
help: consider importing one of these crates
|
1 + use bevy_inspector_egui::egui;
|
1 + use egui_dock::egui;
|
error[E0433]: failed to resolve: use of unresolved module or unlinked crate egui
--> src/main.rs:194:28
|
194 | viewport_rect: &'a mut egui::Rect,
| ^^^^ use of unresolved module or unlinked crate egui
|
= help: if you wanted to use a crate named egui, use cargo add egui to add it to your Cargo.toml
help: consider importing one of these crates
|
1 + use bevy_inspector_egui::egui;
|
1 + use egui_dock::egui;
|
error[E0433]: failed to resolve: use of unresolved module or unlinked crate egui
--> src/main.rs:259:14
|
259 | ui: &mut egui::Ui,
| ^^^^ use of unresolved module or unlinked crate egui
|
= help: if you wanted to use a crate named egui, use cargo add egui to add it to your Cargo.toml
help: consider importing one of these crates
|
1 + use bevy_inspector_egui::egui;
|
1 + use egui_dock::egui;
|
error[E0433]: failed to resolve: use of unresolved module or unlinked crate egui
--> src/main.rs:308:14
|
308 | ui: &mut egui::Ui,
| ^^^^ use of unresolved module or unlinked crate egui
|
= help: if you wanted to use a crate named egui, use cargo add egui to add it to your Cargo.toml
help: consider importing one of these crates
|
1 + use bevy_inspector_egui::egui;
|
1 + use egui_dock::egui;
|
error[E0433]: failed to resolve: use of unresolved module or unlinked crate egui
--> src/main.rs:337:14
|
337 | ui: &mut egui::Ui,
| ^^^^ use of unresolved module or unlinked crate egui
|
= help: if you wanted to use a crate named egui, use cargo add egui to add it to your Cargo.toml
help: consider importing one of these crates
|
1 + use bevy_inspector_egui::egui;
|
1 + use egui_dock::egui;
|
error[E0277]: the trait bound RowMatrix4<f64>: From<bevy_math::DMat4> is not satisfied
--> src/main.rs:283:49
|
283 | view_matrix: view_matrix.as_dmat4().into(),
| ^^^^ the trait From<bevy_math::DMat4> is not implemented for RowMatrix4<f64>
|
= help: the trait From<bevy_math::DMat4> is not implemented for RowMatrix4<f64>
but trait From<transform_gizmo_egui::math::DMat4> is implemented for it
= help: for that trait implementation, expected transform_gizmo_egui::math::DMat4, found bevy_math::DMat4
= note: required for bevy_math::DMat4 to implement Into<RowMatrix4<f64>>
error[E0277]: the trait bound RowMatrix4<f64>: From<bevy_math::DMat4> is not satisfied
--> src/main.rs:284:61
|
284 | projection_matrix: projection_matrix.as_dmat4().into(),
| ^^^^ the trait From<bevy_math::DMat4> is not implemented for RowMatrix4<f64>
|
= help: the trait From<bevy_math::DMat4> is not implemented for RowMatrix4<f64>
but trait From<transform_gizmo_egui::math::DMat4> is implemented for it
= help: for that trait implementation, expected transform_gizmo_egui::math::DMat4, found bevy_math::DMat4
= note: required for bevy_math::DMat4 to implement Into<RowMatrix4<f64>>
error[E0277]: the trait bound Vector3<f64>: From<bevy_math::DVec3> is not satisfied
--> src/main.rs:289:13
|
288 | let transform = transform_gizmo_egui::math::Transform::from_scale_rotation_translation(
| ---------------------------------------------------------------------- required by a bound introduced by this call
289 | transform.scale.as_dvec3(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait From<bevy_math::DVec3> is not implemented for Vector3<f64>
|
= help: the trait From<bevy_math::DVec3> is not implemented for Vector3<f64>
but trait From<transform_gizmo_egui::math::DVec3> is implemented for it
= help: for that trait implementation, expected transform_gizmo_egui::math::DVec3, found bevy_math::DVec3
= note: required for bevy_math::DVec3 to implement Into<Vector3<f64>>
note: required by a bound in transform_gizmo_egui::math::Transform::from_scale_rotation_translation
--> /Users/jt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/transform-gizmo-0.6.0/src/math.rs:23:21
|
22 | pub fn from_scale_rotation_translation(
| ------------------------------- required by a bound in this associated function
23 | scale: impl Into<mint::Vector3Transform::from_scale_rotation_translation
error[E0277]: the trait bound Quaternion<f64>: From<bevy_math::DQuat> is not satisfied
--> src/main.rs:290:13
|
288 | let transform = transform_gizmo_egui::math::Transform::from_scale_rotation_translation(
| ---------------------------------------------------------------------- required by a bound introduced by this call
289 | transform.scale.as_dvec3(),
290 | transform.rotation.as_dquat(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait From<bevy_math::DQuat> is not implemented for Quaternion<f64>
|
= help: the trait From<bevy_math::DQuat> is not implemented for Quaternion<f64>
but trait From<transform_gizmo_egui::math::DQuat> is implemented for it
= help: for that trait implementation, expected transform_gizmo_egui::math::DQuat, found bevy_math::DQuat
= note: required for bevy_math::DQuat to implement Into<Quaternion<f64>>
note: required by a bound in transform_gizmo_egui::math::Transform::from_scale_rotation_translation
--> /Users/jt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/transform-gizmo-0.6.0/src/math.rs:24:24
|
22 | pub fn from_scale_rotation_translation(
| ------------------------------- required by a bound in this associated function
23 | scale: impl Into<mint::Vector3Transform::from_scale_rotation_translation
error[E0277]: the trait bound Vector3<f64>: From<bevy_math::DVec3> is not satisfied
--> src/main.rs:291:13
|
288 | let transform = transform_gizmo_egui::math::Transform::from_scale_rotation_translation(
| ---------------------------------------------------------------------- required by a bound introduced by this call
...
291 | transform.translation.as_dvec3(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait From<bevy_math::DVec3> is not implemented for Vector3<f64>
|
= help: the trait From<bevy_math::DVec3> is not implemented for Vector3<f64>
but trait From<transform_gizmo_egui::math::DVec3> is implemented for it
= help: for that trait implementation, expected transform_gizmo_egui::math::DVec3, found bevy_math::DVec3
= note: required for bevy_math::DVec3 to implement Into<Vector3<f64>>
note: required by a bound in transform_gizmo_egui::math::Transform::from_scale_rotation_translation
--> /Users/jt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/transform-gizmo-0.6.0/src/math.rs:25:27
|
22 | pub fn from_scale_rotation_translation(
| ------------------------------- required by a bound in this associated function
...
25 | translation: impl Into<mint::Vector3Transform::from_scale_rotation_translation
error[E0277]: the trait bound bevy_math::DVec3: From<Vector3<f64>> is not satisfied
--> src/main.rs:300:26
|
300 | translation: DVec3::from(new.translation).as_vec3(),
| ^^^^^ the trait From<Vector3<f64>> is not implemented for bevy_math::DVec3
|
= help: the following other types implement trait From<T>:
bevy_math::DVec3 implements From<(bevy_math::DVec2, f64)>
bevy_math::DVec3 implements From<(f64, f64, f64)>
bevy_math::DVec3 implements From<BVec3>
bevy_math::DVec3 implements From<BVec3A>
bevy_math::DVec3 implements From<IVec3>
bevy_math::DVec3 implements From<UVec3>
bevy_math::DVec3 implements From<[f64; 3]>
bevy_math::DVec3 implements From<bevy_math::Vec3>
error[E0277]: the trait bound bevy_math::DVec3: From<Vector3<f64>> is not satisfied
--> src/main.rs:302:20
|
302 | scale: DVec3::from(new.scale).as_vec3(),
| ^^^^^ the trait From<Vector3<f64>> is not implemented for bevy_math::DVec3
|
= help: the following other types implement trait From<T>:
bevy_math::DVec3 implements From<(bevy_math::DVec2, f64)>
bevy_math::DVec3 implements From<(f64, f64, f64)>
bevy_math::DVec3 implements From<BVec3>
bevy_math::DVec3 implements From<BVec3A>
bevy_math::DVec3 implements From<IVec3>
bevy_math::DVec3 implements From<UVec3>
bevy_math::DVec3 implements From<[f64; 3]>
bevy_math::DVec3 implements From<bevy_math::Vec3>
Some errors have detailed explanations: E0277, E0433.