twistedfall
twistedfall
The error is `Library not loaded: @rpath/libclang.dylib`, please refer to the https://github.com/twistedfall/opencv-rust/blob/master/TROUBLESHOOTING.md, point 7
I would first suggest you try newest OpenCV version: 4.9.0, the one you use, 4.1.1, is very old. If it still fails, please attach the *full* build log as produced...
I hope that you found the solution by now, I'm going to close this issue, but if you still need support please feel free to reopen.
Can you please double-check that your `VCPKG_ROOT = F:\\vcpkg` is correct? Vcpkg specifically says: ``` === Can't probe using: vcpkg, continuing with other methods because: Could not find library in...
You can use `OPENCV_LINK_LIBS` environment var to specify which libraries you want to link specifically
Can you post a full output of `cargo build -vv` after doing a `cargo clean` so I can see what exactly is happening?
As far as I can see the actual metadata is correct: ``` [opencv 0.92.2] cargo_metadata: [ [opencv 0.92.2] "cargo:rustc-link-search=/Users/bac/DevEnv/OpenCV-android-sdk/sdk/native/staticlibs/arm64-v8a", [opencv 0.92.2] "cargo:rustc-link-lib=core", [opencv 0.92.2] ], ``` so it should work....
@alexisgaziello Can you please share the Dockerfile that was causing the issue?
Thank you for the configs! I'm going to add the link to this issue in the troubleshooting section for further reference.
There is 2 different version of `opencv` in your dependency tree: ``` 2024-07-31T12:40:06.4812650Z Downloaded opencv v0.92.1 2024-07-31T12:40:06.5743422Z Downloaded opencv v0.88.9 ``` and apparently that doesn't work, which is logical when...