-
Notifications
You must be signed in to change notification settings - Fork 8
Compiling on Raspberry Pi #16
Description
Hi!
I'm trying to get this up and running on a raspberry pi as the title suggests.
I've gone through a lot of dependencies, and at this point I've hit two issues with compiling. One I could fix and one I could not.
error[E0308]: mismatched types
--> /home/pi/.cargo/registry/src/github.com-1285ae84e5963aae/ffmpeg-next-4.4.0/src/util/error.rs:205:7
|
205 | [[0_i8; AV_ERROR_MAX_STRING_SIZE]; 27];
| ^^^^ expectedu8, foundi8
|
help: change the type of the numeric literal fromi8tou8
|
205 | [[0_u8; AV_ERROR_MAX_STRING_SIZE]; 27];
| ^^^^error: aborting due to previous error
For more information about this error, try
rustc --explain E0308.
error: failed to compileblissify v0.2.2, intermediate artifacts can be found at/tmp/cargo-installmbmEs8Caused by:
could not compileffmpeg-nextTo learn more, run the command again with --verbose.
Taking the compiler's suggestion of changing i8 to u8 cleared that one
now I've hit this:
error[E0004]: non-exhaustive patterns:
AV_PIX_FMT_SAND64_16,AV_PIX_FMT_RPI4_8andAV_PIX_FMT_RPI4_10not covered
--> /home/pi/.cargo/registry/src/github.com-1285ae84e5963aae/ffmpeg-next-4.4.0/src/util/format/pixel.rs:413:15
|
413 | match value {
| ^^^^^ patternsAV_PIX_FMT_SAND64_16,AV_PIX_FMT_RPI4_8andAV_PIX_FMT_RPI4_10not covered
|
::: /tmp/cargo-installN6hIRT/release/build/ffmpeg-sys-next-85cb1efc39cad5e2/out/bindings.rs:5653:5
|
5653 | AV_PIX_FMT_SAND64_16 = 190,
| -------------------- not covered
5654 | AV_PIX_FMT_RPI4_8 = 191,
| ----------------- not covered
5655 | AV_PIX_FMT_RPI4_10 = 192,
| ------------------ not covered
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
= note: the matched value is of typesys::AVPixelFormaterror: aborting due to previous error
For more information about this error, try
rustc --explain E0004.
error: failed to compileblissify v0.2.2, intermediate artifacts can be found at/tmp/cargo-installN6hIRT/Caused by:
could not compileffmpeg-next
Any idea where to look to fix this?