-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
BugSomething isn't workingSomething isn't working
Description
Logs
2024-11-13T05:38:07.756313Z WARN StableView: Version 1.1.0 on linux
2024-11-13T05:38:07.756622Z WARN StableView: The configuration file path is: "/home/coljac/.config/stableview/config.toml"Describe the bug
Trying to run the latest release on linux, I see this:
./StableView: error while loading shared libraries: libopencv_videoio.so.4.5d: cannot open shared object file: No such file or directory
Steps to reproduce
Download latest release
Extract and run according to instructions
References (optional)
No response
Additional info (optional)
To get it working, I had to build it myself. This results from cargo build:
Compiling mozjpeg v0.9.8 Compiling native-tls v0.2.12 Compiling palette v0.6.1 Compiling nokhwa-core v0.1.2 Compiling clipboard_wayland v0.2.2 Compiling sctk-adwaita v0.8.1 Compiling x11-dl v2.21.0 Compiling onnxruntime-sys v0.0.14 (https://github.com/nbigaouette/onnxruntime-rs#31f62235) error: failed to run custom build command for v4l2-sys-mit v0.2.0...
Caused by: process didn't exit successfully: /home/coljac/build/StableView/target/debug/build/v4l2-sys-mit-8517f3365e754b96/build-script-build (exit status: 101) --- stderr thread 'main' panicked at /home/coljac/.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
After doing some research on the issue and dependencies, I was able to fix this by changing:
nokhwa = {version = "0.10.3", features = ["input-msmf", "input-v4l"]}
to
nokhwa = {version = "0.10.5", features = ["input-msmf", "input-v4l"]}
in Cargo.toml. Then I was able to build successfully.
Discord Username (optional)
coljac
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working