mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
c0b35d07f3
# Objective - Building bevy_gltf with feature dds fails: ``` > cargo build -p bevy_gltf --features dds Compiling bevy_core_pipeline v0.15.0-dev (crates/bevy_core_pipeline) error[E0061]: this function takes 7 arguments but 6 arguments were supplied --> crates/bevy_core_pipeline/src/tonemapping/mod.rs:442:5 | 442 | Image::from_buffer( | ^^^^^^^^^^^^^^^^^^ ... 445 | bytes, | ----- an argument of type `std::string::String` is missing | note: associated function defined here --> crates/bevy_render/src/texture/image.rs:709:12 | 709 | pub fn from_buffer( | ^^^^^^^^^^^ help: provide the argument | 442 | Image::from_buffer(/* std::string::String */, bytes, image_type, CompressedImageFormats::NONE, false, image_sampler, RenderAssetUsages::RENDER_WORLD) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ For more information about this error, try `rustc --explain E0061`. error: could not compile `bevy_core_pipeline` (lib) due to 1 previous error ``` - If you're fixing a specific issue, say "Fixes #X". ## Solution - enable dds feature in bevy_core_pipeline ## Testing - `cargo build -p bevy_gltf --features dds` |
||
---|---|---|
.. | ||
bevy_a11y | ||
bevy_animation | ||
bevy_app | ||
bevy_asset | ||
bevy_audio | ||
bevy_color | ||
bevy_core | ||
bevy_core_pipeline | ||
bevy_derive | ||
bevy_dev_tools | ||
bevy_diagnostic | ||
bevy_dylib | ||
bevy_dynamic_plugin | ||
bevy_ecs | ||
bevy_encase_derive | ||
bevy_gilrs | ||
bevy_gizmos | ||
bevy_gltf | ||
bevy_hierarchy | ||
bevy_input | ||
bevy_internal | ||
bevy_log | ||
bevy_macro_utils | ||
bevy_math | ||
bevy_mikktspace | ||
bevy_pbr | ||
bevy_picking | ||
bevy_ptr | ||
bevy_reflect | ||
bevy_render | ||
bevy_scene | ||
bevy_sprite | ||
bevy_state | ||
bevy_tasks | ||
bevy_text | ||
bevy_time | ||
bevy_transform | ||
bevy_ui | ||
bevy_utils | ||
bevy_window | ||
bevy_winit |