Iced: error[E0277]: the trait bound `iced_wgpu::renderer::Renderer: iced_native::widget::image::Renderer` is not satisfied

Created on 3 Apr 2020  路  2Comments  路  Source: hecrj/iced

Hi,

I'm trying to compile the "svg" example using the newest release. With the "0.1.0-beta" release, it works as expected. With the new release, however, I run into the following error:

error[E0277]: the trait bound iced_wgpu::renderer::Renderer: iced_native::widget::svg::Renderer is not satisfied

with the explanation

the trait iced_native::widget::svg::Renderer is not implemented for iced_wgpu::renderer:: Renderer

I hope we can work this out. Please tell me if more information is needed :)

question

Most helpful comment

How are you exactly compiling it? cargo run --package svg works for me.

If you copied the example into your own project, you may need to enable the svg feature (I should document this!).

All 2 comments

How are you exactly compiling it? cargo run --package svg works for me.

If you copied the example into your own project, you may need to enable the svg feature (I should document this!).

Ah, yes. Enabling the svg feature did the trick. Thanks for the quick help!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Newbytee picture Newbytee  路  4Comments

CallistoM picture CallistoM  路  3Comments

kszlim picture kszlim  路  4Comments

porglezomp picture porglezomp  路  3Comments

olanod picture olanod  路  4Comments