Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The package won't build in Raspberry PI Raspbian 11 #115

Open
bwsw opened this issue Sep 14, 2022 · 1 comment
Open

The package won't build in Raspberry PI Raspbian 11 #115

bwsw opened this issue Sep 14, 2022 · 1 comment

Comments

@bwsw
Copy link

bwsw commented Sep 14, 2022

  1. Install default RPI4 Raspbian 11 and ffmpeg dependencies from the standard RPI repo;
  2. clone the repo git clone https://github.com/zmwangx/rust-ffmpeg.git;
  3. cd rust-ffmpeg;
  4. 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
Copy link
Collaborator

should be fixed now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants