index_camera_passthrough icon indicating copy to clipboard operation
index_camera_passthrough copied to clipboard

failed to run custom build command for `v4l2-sys-mit v0.2.0`

Open Sersys opened this issue 1 year ago • 0 comments

When running the suggested cargo install index_camera_passthrough command, the process terminates with the following error:

error: failed to run custom build command for v4l2-sys-mit v0.2.0

Caused by: process didn't exit successfully: /tmp/cargo-installJKhF0g/release/build/v4l2-sys-mit-0c8ba04820644458/build-script-build (exit status: 101) --- stderr thread 'main' panicked at /home/user1/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.56.0/src/ir/context.rs:846:9: "v4l2_pix_format_union_(anonymous_at_/usr/include/linux/videodev2_h_500_2)" is not a valid Ident note: run with RUST_BACKTRACE=1 environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... Building [=====================> ] 295/332: shaderc-sys(build) error: failed to compile index_camera_passthrough v0.1.0, intermediate artifacts can be found at /tmp/cargo-installJKhF0g. To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.

Note: During the listing it says: Adding v4l2-sys-mit v0.2.0 (latest: v0.3.0)

Sersys avatar Oct 03 '24 00:10 Sersys