Closed oli-obk closed 4 years ago
Yeah, that's the one i used for my project. I just asked because there is a new branch.
Ok....so running the following command
cargo test -vv --release --no-default-features --features "opencv-41,buildtime-bindgen"
with a fresh compile of all dependencies produced this output output_log.txt
running this command
cargo test --test boxed -vv --release --no-default-features --features "opencv-41,buildtime-bindgen"
directly after the previous one, produced following output
``` PS E:\Coding\Code\Rust\opencv-rust> cargo test -vv --release --no-default-features --features "opencv-41,buildtime-bindgen" Fresh semver-parser v0.7.0 Fresh autocfg v0.1.6 Fresh lazy_static v1.4.0 Fresh cfg-if v0.1.9 Fresh unicode-xid v0.2.0 Fresh nodrop v0.1.13 Fresh scopeguard v1.0.0 Fresh regex-syntax v0.6.12 Fresh either v1.5.3 Fresh pkg-config v0.3.16 Fresh glob v0.3.0 Fresh once_cell v1.1.0 Fresh slab v0.4.2 Fresh matches v0.1.8 Fresh semver v0.9.0 Fresh crossbeam-utils v0.6.6 Fresh thread_local v0.3.6 Fresh rustc_version v0.2.3 Fresh arrayvec v0.4.11 Fresh proc-macro2 v1.0.3 Fresh memchr v2.2.1 Fresh getrandom v0.1.12 Fresh crossbeam-queue v0.1.2 Fresh log v0.4.8 Fresh libc v0.2.62 Fresh quote v1.0.2 Fresh aho-corasick v0.7.6 Fresh num-traits v0.2.8 Fresh byteorder v1.3.2 Fresh if_rust_version v1.0.0 Fresh jobserver v0.1.17 Fresh num_cpus v1.10.1 Fresh which v3.0.0 Fresh syn v1.0.5 Fresh regex v1.3.1 Fresh num-integer v0.1.41 Fresh cc v1.0.45 Fresh num-complex v0.2.3 Fresh memoffset v0.5.1 Fresh cpp_common v0.5.4 Fresh num-bigint v0.2.3 Fresh num-iter v0.1.39 Fresh crossbeam-epoch v0.7.2 Fresh cpp_build v0.5.4 Fresh num-rational v0.2.2 Fresh cpp_macros v0.5.4 Fresh crossbeam-deque v0.7.1 Fresh num v0.2.0 Fresh cpp v0.5.4 Fresh rayon-core v1.6.0 Fresh rayon v1.2.0 Fresh opencv v0.23.0 (E:\Coding\Code\Rust\opencv-rust) Finished release [optimized] target(s) in 0.19s Running `E:\Coding\Code\Rust\opencv-rust\target\release\deps\opencv-17f97c16c20af1d7.exe` running 3 tests test manual::core::rect::test_partial ... ok test test::sys::cv_return_type ... ok test test::sys::mat_layout ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Running `E:\Coding\Code\Rust\opencv-rust\target\release\deps\boxed-c31ad16df9978f3b.exe` running 1 test error: test failed, to rerun pass '--test boxed' ```
Weird stuff, all right, I'll poke it some more
This is my example output with win-build5
for cargo run -vv --example video_capture --features "buildtime-bindgen"
and my test output for cargo test -vv --features "buildtime-bindgen"
. One of the tests failed.
Thanks a lot, it should help to find the difference between the environments
@MichaelMauderer Can you please tell me which OpenCV distribution you are using? Or did you compile it yourself? You seem to have contrib modules missing in official OpenCV windows installer and additionally there are vc16 libraries while official installer only contains vc14 and vc15.
I'm using a self-compiled version of OpenCV 3.4.7. I should also have the contrib modules, but maybe I missed something while configuring the build.
Sorry, I meant that you do have the contrib modules, unlike the official installer
Ah sorry, I misread. Yes, I want to use the Aruco module, so I made sure to include those.
The support is now in master and crates.io in version 0.24. There are some notes on building in readme. So I'm closing this issue, but feel free to create new ones in case something still doesn't work.
Just leaving this issue here. I'm actually working on it.