-
-
Notifications
You must be signed in to change notification settings - Fork 170
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
Ubuntu Gnome X11 Error while running #653
Comments
The error seems to be unrelated to the crate on the first glance, some kind of linking inconsistency on your system. But to be extra sure please provide the full output of |
@twistedfall
And this is my deps:
And this is my code:
Is this OpenCV binding support OpenCV Zoo models? For example as in my situation hand detection? |
But my first code with |
The crate supports whatever your system OpenCV installation supports, so it should be fine. The error indicates a problem linking with |
cargo clean
|
That's not the full output unfortunately, full log would be around 1000 lines |
I dont know how I can get all output. Just My terminal content size is not enough to show all output.
|
|
I already see something weird though, you're saying you're using crate version |
Yes, but with 0.94 I have this errors also |
It looks like the linker is trying to link to a different OpenCV (not the one that was used for binding generation) which lacks the necessary DNN features. Maybe the 4.7.0 version that you used previously is still lingering? |
I dont know how I can check it, but I have been removing opencv package lib dev before installing 4.9.0 |
Ubuntu Gnome X11
OpenCV installed via cargo package
opencv = "0.94.2"
rustc --version
)rustc 1.82.0 (2024-10-15)
shell script RUST_BACKTRACE=full cargo build -vv
cargo run RUST_BACKTRACE=full cargo build -vv
target/debug/opencvx: symbol lookup error: /snap/core20/current/lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE
My code:
The text was updated successfully, but these errors were encountered: