The package won't build in Raspberry PI Raspbian 11
bwsw opened this issue · 1 comments
bwsw commented
- Install default RPI4 Raspbian 11 and ffmpeg dependencies from the standard RPI repo;
- clone the repo
git clone https://github.com/zmwangx/rust-ffmpeg.git
; cd rust-ffmpeg
;cargo build -F rpi
Error is:
error[E0425]: cannot find value `AV_PIX_FMT_RPI` in this scope
--> src/util/format/pixel.rs:1114:27
|
1114 | Pixel::RPI => AV_PIX_FMT_RPI,
| ^^^^^^^^^^^^^^ help: a unit variant with a similar name exists: `AV_PIX_FMT_0RGB`
|
::: /home/userpi/rust-ffmpeg/target/debug/build/ffmpeg-sys-next-f3f20c0089b509d1/out/bindings.rs:5651:5
|
5651 | AV_PIX_FMT_0RGB = 120,
| --------------------- similarly named unit variant `AV_PIX_FMT_0RGB` defined here
Polochon-street commented
should be fixed now :)