Open DennisZhangOiler opened 2 months ago
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 by cargo build -vv
after doing a cargo clean
.
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 by
cargo build -vv
after doing acargo clean
.
Hi @twistedfall , it's probably due to upstream zig problem, that zig does not work with dual ABI, you can check it from here and here, I am still looking for solutions that can build opencv with clang++ or cargo zigbuild add some link flags, thank you for replying!
Operating system Host Ubuntu 22.04 Cross v0.2.5 aarch64-unknown-linux-gnu zigbuild 0.17.5 target glibc version 2.27
The way you installed OpenCV: package, official binary distribution, manual compilation, etc. Manual compilation from cmake, then setup
CMAKE_PREFIX_PATH
OpenCV version 4.1.1
rustc version (
rustc --version
) rustc 1.77.0 (aedd173a2 2024-03-17)Attach the full output of the following command from your project directory: