Replies: 1 comment 5 replies
-
Which raspberry pi do you have? The Pi 4 and Pi 3 have significantly different gpus from the perspective of glow and wgpu. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I am developing a project using iced that has to run on a Raspberry Pi. It used to work until recently (after mindlessly updating Cargo.lock), when suddenly It started giving me the following error, when running it on the Pi:
I tried switching to the glow renderer, which did not work, because it doesn't support Image.
I just noticed this on thursday, and luckily on the same day, iced 0.5 was out, and with it a new glow renderer, which supports Image.
So I ported the project over to 0.5, and had to notice that cross compilation didn't work anymore because of a new dependency:
servo-fontconfig-sys
.However, I could still compile it on the raspi (which is of course way less comfortable than cross compiling), just to be greeted by the following error, when running the glow-version:
While I can probably get the cross compilation to work somehow, I, so far, have not been able to figure out how to run my project on the Raspberry again (except for going back to the old lock file). I'm debating with myself to change the UI to gtk3, but that would be a lot of work. To be clear, I'm not blaming anyhone here. It's great that you develop such a library for free.
I guess I'm hoping for two things here:
Cheers Felix
Edit:
By now I found out, that installing the dependencies that are linked in fltk-rs' documentation will make the glow backend work on the raspi again. It might be a good Idea to document that somewhere. For reference, after installing these packages, it worked:
libx11-dev libxext-dev libxft-dev libxinerama-dev libxcursor-dev libxrender-dev libxfixes-dev libpango1.0-dev libgl1-mesa-dev libglu1-mesa-dev
Beta Was this translation helpful? Give feedback.
All reactions