twistedfall / opencv-rust

Rust bindings for OpenCV 3 & 4
MIT License
1.96k stars 160 forks source link

cross compile error from linux to windows #333

Open foxzool opened 2 years ago

foxzool commented 2 years ago
  1. Operating system:
    arch linux
  2. The way you installed OpenCV: package, official binary distribution, manual compilation, etc. yay -S mingw-w64-opencv
  3. OpenCV version 4.5.5
  4. rustc version (rustc --version) rustc 1.60.0-nightly (5e57faa78 2022-01-19)
  5. Attach the full output of the following command from your project directory:

    export PKG_CONFIG_PATH=/usr/x86_64-w64-mingw32/lib/pkgconfig
    RUST_BACKTRACE=full cargo build --release --target x86_64-pc-windows-gnu  --example window -vv
         Fresh glob v0.3.0
         Fresh regex-syntax v0.6.25
         Fresh maplit v1.0.2
         Fresh dunce v1.0.2
         Fresh percent-encoding v2.1.0
         Fresh autocfg v1.1.0
         Fresh vcpkg v0.2.15
         Fresh shlex v1.1.0
         Fresh pkg-config v0.3.24
         Fresh once_cell v1.10.0
         Fresh matches v0.1.9
         Fresh memchr v2.4.1
         Fresh semver v1.0.6
         Fresh libc v0.2.121
         Fresh aho-corasick v0.7.18
         Fresh clang-sys v1.3.1
         Fresh jobserver v0.1.24
         Fresh num-traits v0.2.14
         Fresh clang v1.0.3
         Fresh regex v1.5.5
         Fresh cc v1.0.73
         Fresh opencv-binding-generator v0.41.0 (/home/zool/workspace/opencv-rust/binding-generator)
    warning: use of deprecated associated function `std::array::IntoIter::<T, N>::new`: use `IntoIterator::into_iter` instead
     --> binding-generator/src/func.rs:120:20
      |
    120 |             args: IntoIter::new(args).map(|a| a.into()).collect(),
      |                             ^^^
      |
      = note: `#[warn(deprecated)]` on by default
    
    warning: `opencv-binding-generator` (lib) generated 1 warning
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp: In function ‘void cv_line_descriptor_KeyLine_KeyLine(Result<cv::line_descriptor::KeyLine>*)’:
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::ePointInOctaveX’ is used uninitialized [-Wuninitialized]
    warning:   327 |                         cv::line_descriptor::KeyLine ret;
    warning:       |                                                      ^~~
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::ePointInOctaveY’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::response’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::size’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::startPointX’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::startPointY’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::endPointX’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::endPointY’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::sPointInOctaveX’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::sPointInOctaveY’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::class_id’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::octave’ is used uninitialized [-Wuninitialized]
    warning: In file included from /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:1:
    warning: /home/zool/workspace/opencv-rust/src_cpp/ocvrs_common.hpp:51:9: warning: ‘ret.cv::line_descriptor::KeyLine::angle’ is used uninitialized [-Wuninitialized]
    warning:    51 |         ocvrs_return->result = *const_cast<R*>(&result);
    warning:       |         ^~~~~~~~~~~~
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: note: ‘ret.cv::line_descriptor::KeyLine::angle’ was declared here
    warning:   327 |                         cv::line_descriptor::KeyLine ret;
    warning:       |                                                      ^~~
    warning: In file included from /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:1:
    warning: /home/zool/workspace/opencv-rust/src_cpp/ocvrs_common.hpp:51:9: warning: ‘ret.cv::line_descriptor::KeyLine::lineLength’ is used uninitialized [-Wuninitialized]
    warning:    51 |         ocvrs_return->result = *const_cast<R*>(&result);
    warning:       |         ^~~~~~~~~~~~
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: note: ‘ret.cv::line_descriptor::KeyLine::lineLength’ was declared here
    warning:   327 |                         cv::line_descriptor::KeyLine ret;
    warning:       |                                                      ^~~
    warning: In file included from /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:1:
    warning: /home/zool/workspace/opencv-rust/src_cpp/ocvrs_common.hpp:51:9: warning: ‘ret.cv::line_descriptor::KeyLine::numOfPixels’ is used uninitialized [-Wuninitialized]
    warning:    51 |         ocvrs_return->result = *const_cast<R*>(&result);
    warning:       |         ^~~~~~~~~~~~
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: note: ‘ret.cv::line_descriptor::KeyLine::numOfPixels’ was declared here
    warning:   327 |                         cv::line_descriptor::KeyLine ret;
    warning:       |                                                      ^~~
    warning: At global scope:
    warning: cc1plus: note: unrecognized command-line option ‘-Wno-return-type-c-linkage’ may have been intended to silence earlier diagnostics
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/rgbd.cpp: In function ‘void cv_kinfu_Intr_Reprojector_Reprojector(Result<cv::kinfu::Intr::Reprojector>*)’:
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/rgbd.cpp:594:54: warning: ‘ret.cv::kinfu::Intr::Reprojector::fxinv’ is used uninitialized [-Wuninitialized]
    warning:   594 |                         cv::kinfu::Intr::Reprojector ret;
    warning:       |                                                      ^~~
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/rgbd.cpp:594:54: warning: ‘ret.cv::kinfu::Intr::Reprojector::fyinv’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/rgbd.cpp:594:54: warning: ‘ret.cv::kinfu::Intr::Reprojector::cx’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/rgbd.cpp:594:54: warning: ‘ret.cv::kinfu::Intr::Reprojector::cy’ is used uninitialized [-Wuninitialized]
    warning: At global scope:
    warning: cc1plus: note: unrecognized command-line option ‘-Wno-return-type-c-linkage’ may have been intended to silence earlier diagnostics
     Compiling opencv v0.63.0 (/home/zool/workspace/opencv-rust)
       Running `CARGO=/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/bin/cargo CARGO_CRATE_NAME=window CARGO_MANIFEST_DIR=/home/zool/workspace/opencv-rust CARGO_PKG_AUTHORS='Pro <twisted.fall@gmail.com>:Mathieu Poumeyrol <kali@zoy.org>' CARGO_PKG_DESCRIPTION='Rust bindings for OpenCV' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=opencv CARGO_PKG_REPOSITORY='https://github.com/twistedfall/opencv-rust' CARGO_PKG_VERSION=0.63.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=63 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/home/zool/workspace/opencv-rust/target/release/deps:/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib:/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib' OUT_DIR=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out rustc --crate-name window --edition=2018 examples/window.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alphamat"' --cfg 'feature="aruco"' --cfg 'feature="barcode"' --cfg 'feature="bgsegm"' --cfg 'feature="bioinspired"' --cfg 'feature="calib3d"' --cfg 'feature="ccalib"' --cfg 'feature="cudaarithm"' --cfg 'feature="cudabgsegm"' --cfg 'feature="cudacodec"' --cfg 'feature="cudafeatures2d"' --cfg 'feature="cudafilters"' --cfg 'feature="cudaimgproc"' --cfg 'feature="cudaobjdetect"' --cfg 'feature="cudaoptflow"' --cfg 'feature="cudastereo"' --cfg 'feature="cudawarping"' --cfg 'feature="cvv"' --cfg 'feature="default"' --cfg 'feature="dnn"' --cfg 'feature="dnn_superres"' --cfg 'feature="dpm"' --cfg 'feature="face"' --cfg 'feature="features2d"' --cfg 'feature="flann"' --cfg 'feature="freetype"' --cfg 'feature="fuzzy"' --cfg 'feature="gapi"' --cfg 'feature="hdf"' --cfg 'feature="hfs"' --cfg 'feature="highgui"' --cfg 'feature="img_hash"' --cfg 'feature="imgcodecs"' --cfg 'feature="imgproc"' --cfg 'feature="intensity_transform"' --cfg 'feature="line_descriptor"' --cfg 'feature="mcc"' --cfg 'feature="ml"' --cfg 'feature="objdetect"' --cfg 'feature="optflow"' --cfg 'feature="ovis"' --cfg 'feature="phase_unwrapping"' --cfg 'feature="photo"' --cfg 'feature="plot"' --cfg 'feature="quality"' --cfg 'feature="rapid"' --cfg 'feature="rgbd"' --cfg 'feature="saliency"' --cfg 'feature="sfm"' --cfg 'feature="shape"' --cfg 'feature="stereo"' --cfg 'feature="stitching"' --cfg 'feature="structured_light"' --cfg 'feature="superres"' --cfg 'feature="surface_matching"' --cfg 'feature="text"' --cfg 'feature="tracking"' --cfg 'feature="video"' --cfg 'feature="videoio"' --cfg 'feature="videostab"' --cfg 'feature="viz"' --cfg 'feature="wechat_qrcode"' --cfg 'feature="xfeatures2d"' --cfg 'feature="ximgproc"' --cfg 'feature="xobjdetect"' --cfg 'feature="xphoto"' -C metadata=87cf90e7ebf4c265 -C extra-filename=-87cf90e7ebf4c265 --out-dir /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples --target x86_64-pc-windows-gnu -C linker=/usr/bin/x86_64-w64-mingw32-gcc -L dependency=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps -L dependency=/home/zool/workspace/opencv-rust/target/release/deps --extern libc=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps/liblibc-3365d484306e4c8b.rlib --extern matches=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps/libmatches-98bf6ce352ac926f.rlib --extern num_traits=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps/libnum_traits-a84c32e09441c92d.rlib --extern once_cell=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps/libonce_cell-4d186dca640ed576.rlib --extern opencv=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps/libopencv-7e172a75d8a970bb.rlib -L native=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out -L /usr/x86_64-w64-mingw32/lib --cfg ocvrs_opencv_branch_4 --cfg ocvrs_has_module_sys --cfg ocvrs_has_module_types --cfg ocvrs_has_module_alphamat --cfg ocvrs_has_module_aruco --cfg ocvrs_has_module_barcode --cfg ocvrs_has_module_bgsegm --cfg ocvrs_has_module_bioinspired --cfg ocvrs_has_module_calib3d --cfg ocvrs_has_module_ccalib --cfg ocvrs_has_module_core --cfg ocvrs_has_module_dnn --cfg ocvrs_has_module_dnn_superres --cfg ocvrs_has_module_dpm --cfg ocvrs_has_module_face --cfg ocvrs_has_module_features2d --cfg ocvrs_has_module_flann --cfg ocvrs_has_module_fuzzy --cfg ocvrs_has_module_hfs --cfg ocvrs_has_module_highgui --cfg ocvrs_has_module_img_hash --cfg ocvrs_has_module_imgcodecs --cfg ocvrs_has_module_imgproc --cfg ocvrs_has_module_intensity_transform --cfg ocvrs_has_module_line_descriptor --cfg ocvrs_has_module_mcc --cfg ocvrs_has_module_ml --cfg ocvrs_has_module_objdetect --cfg ocvrs_has_module_optflow --cfg ocvrs_has_module_phase_unwrapping --cfg ocvrs_has_module_photo --cfg ocvrs_has_module_plot --cfg ocvrs_has_module_quality --cfg ocvrs_has_module_rapid --cfg ocvrs_has_module_rgbd --cfg ocvrs_has_module_saliency --cfg ocvrs_has_module_shape --cfg ocvrs_has_module_stereo --cfg ocvrs_has_module_stitching --cfg ocvrs_has_module_structured_light --cfg ocvrs_has_module_superres --cfg ocvrs_has_module_surface_matching --cfg ocvrs_has_module_text --cfg ocvrs_has_module_tracking --cfg ocvrs_has_module_video --cfg ocvrs_has_module_videoio --cfg ocvrs_has_module_videostab --cfg ocvrs_has_module_wechat_qrcode --cfg ocvrs_has_module_xfeatures2d --cfg ocvrs_has_module_ximgproc --cfg ocvrs_has_module_xobjdetect --cfg ocvrs_has_module_xphoto`
    error: linking with `/usr/bin/x86_64-w64-mingw32-gcc` failed: exit status: 1
    |
    = note: "/usr/bin/x86_64-w64-mingw32-gcc" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/rsbegin.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.window.39b75eee-cgu.0.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.window.39b75eee-cgu.1.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.window.39b75eee-cgu.10.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.window.39b75eee-cgu.11.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.window.39b75eee-cgu.12.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.window.39b75eee-cgu.13.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.window.39b75eee-cgu.14.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.window.39b75eee-cgu.15.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.window.39b75eee-cgu.2.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.window.39b75eee-cgu.3.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.window.39b75eee-cgu.4.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.window.39b75eee-cgu.5.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.window.39b75eee-cgu.6.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.window.39b75eee-cgu.7.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.window.39b75eee-cgu.8.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.window.39b75eee-cgu.9.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.3lk7oytl74lyvbqb.rcgu.o" "-L" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps" "-L" "/home/zool/workspace/opencv-rust/target/release/deps" "-L" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out" "-L" "/usr/x86_64-w64-mingw32/lib" "-L" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib" "-Wl,-Bstatic" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps/libopencv-7e172a75d8a970bb.rlib" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps/liblibc-3365d484306e4c8b.rlib" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps/libnum_traits-a84c32e09441c92d.rlib" "-Wl,--start-group" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libstd-c4544c8c1230a962.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libpanic_unwind-9905c70c1014ae26.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libobject-11edc6b55ad1f70c.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libmemchr-e2604f62b5d58613.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libaddr2line-ef7b11e68bbd7776.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libgimli-9dccea35d605e69d.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libstd_detect-5e299c086c163fb0.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/librustc_demangle-61d67a1d18403dce.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libhashbrown-2dc9cabd13417769.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/librustc_std_workspace_alloc-32458332fd573818.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libunwind-2cbf5499ba545f11.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libcfg_if-8b2c82f6e529b5ab.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/liblibc-f9febd74880ec71f.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/liballoc-ef5339e70ab79e2e.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/librustc_std_workspace_core-3b0c82ac7103617b.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libcore-0b703fcc2f69b48b.rlib" "-Wl,--end-group" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libcompiler_builtins-bfb6a30cfbdc19dd.rlib" "-Wl,-Bdynamic" "-lstdc++" "-lopencv_gapi455" "-lopencv_stitching455" "-lopencv_alphamat455" "-lopencv_aruco455" "-lopencv_barcode455" "-lopencv_bgsegm455" "-lopencv_bioinspired455" "-lopencv_ccalib455" "-lopencv_dnn_objdetect455" "-lopencv_dnn_superres455" "-lopencv_dpm455" "-lopencv_face455" "-lopencv_fuzzy455" "-lopencv_hfs455" "-lopencv_img_hash455" "-lopencv_intensity_transform455" "-lopencv_line_descriptor455" "-lopencv_mcc455" "-lopencv_quality455" "-lopencv_rapid455" "-lopencv_reg455" "-lopencv_rgbd455" "-lopencv_saliency455" "-lopencv_stereo455" "-lopencv_structured_light455" "-lopencv_phase_unwrapping455" "-lopencv_superres455" "-lopencv_optflow455" "-lopencv_surface_matching455" "-lopencv_tracking455" "-lopencv_highgui455" "-lopencv_datasets455" "-lopencv_text455" "-lopencv_plot455" "-lopencv_videostab455" "-lopencv_videoio455" "-lopencv_wechat_qrcode455" "-lopencv_xfeatures2d455" "-lopencv_shape455" "-lopencv_ml455" "-lopencv_ximgproc455" "-lopencv_video455" "-lopencv_xobjdetect455" "-lopencv_objdetect455" "-lopencv_calib3d455" "-lopencv_imgcodecs455" "-lopencv_features2d455" "-lopencv_dnn455" "-lopencv_flann455" "-lopencv_xphoto455" "-lopencv_photo455" "-lopencv_imgproc455" "-lopencv_core455" "-lkernel32" "-lws2_32" "-lbcrypt" "-ladvapi32" "-luserenv" "-lkernel32" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-L" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples/window-87cf90e7ebf4c265.exe" "-Wl,--gc-sections" "-no-pie" "-Wl,-O1" "-nodefaultlibs" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/rsend.o"
    = note: /usr/lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps/libopencv-7e172a75d8a970bb.rlib(core.o):core.cpp:(.text$cv_ocl_Kernel_run__int_size_tX_size_tX_bool_const_QueueR+0x24): undefined reference to `cv::ocl::Kernel::run_(int, unsigned long long*, unsigned long long*, bool, cv::ocl::Queue const&)'
            /usr/lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps/libopencv-7e172a75d8a970bb.rlib(core.o):core.cpp:(.text$cv_ocl_PlatformInfo_versionMajor_const+0xc): undefined reference to `cv::ocl::PlatformInfo::versionMajor() const'
            /usr/lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps/libopencv-7e172a75d8a970bb.rlib(core.o):core.cpp:(.text$cv_ocl_PlatformInfo_versionMinor_const+0xc): undefined reference to `cv::ocl::PlatformInfo::versionMinor() const'
            collect2: error: ld returned 1 exit status
    
    = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
    = note: use the `-l` flag to specify native libraries to link
    = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
    
    The following warnings were emitted during compilation:
    
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp: In function ‘void cv_line_descriptor_KeyLine_KeyLine(Result<cv::line_descriptor::KeyLine>*)’:
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::ePointInOctaveX’ is used uninitialized [-Wuninitialized]
    warning:   327 |                         cv::line_descriptor::KeyLine ret;
    warning:       |                                                      ^~~
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::ePointInOctaveY’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::response’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::size’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::startPointX’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::startPointY’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::endPointX’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::endPointY’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::sPointInOctaveX’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::sPointInOctaveY’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::class_id’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: warning: ‘ret.cv::line_descriptor::KeyLine::octave’ is used uninitialized [-Wuninitialized]
    warning: In file included from /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:1:
    warning: /home/zool/workspace/opencv-rust/src_cpp/ocvrs_common.hpp:51:9: warning: ‘ret.cv::line_descriptor::KeyLine::angle’ is used uninitialized [-Wuninitialized]
    warning:    51 |         ocvrs_return->result = *const_cast<R*>(&result);
    warning:       |         ^~~~~~~~~~~~
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: note: ‘ret.cv::line_descriptor::KeyLine::angle’ was declared here
    warning:   327 |                         cv::line_descriptor::KeyLine ret;
    warning:       |                                                      ^~~
    warning: In file included from /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:1:
    warning: /home/zool/workspace/opencv-rust/src_cpp/ocvrs_common.hpp:51:9: warning: ‘ret.cv::line_descriptor::KeyLine::lineLength’ is used uninitialized [-Wuninitialized]
    warning:    51 |         ocvrs_return->result = *const_cast<R*>(&result);
    warning:       |         ^~~~~~~~~~~~
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: note: ‘ret.cv::line_descriptor::KeyLine::lineLength’ was declared here
    warning:   327 |                         cv::line_descriptor::KeyLine ret;
    warning:       |                                                      ^~~
    warning: In file included from /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:1:
    warning: /home/zool/workspace/opencv-rust/src_cpp/ocvrs_common.hpp:51:9: warning: ‘ret.cv::line_descriptor::KeyLine::numOfPixels’ is used uninitialized [-Wuninitialized]
    warning:    51 |         ocvrs_return->result = *const_cast<R*>(&result);
    warning:       |         ^~~~~~~~~~~~
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/line_descriptor.cpp:327:54: note: ‘ret.cv::line_descriptor::KeyLine::numOfPixels’ was declared here
    warning:   327 |                         cv::line_descriptor::KeyLine ret;
    warning:       |                                                      ^~~
    warning: At global scope:
    warning: cc1plus: note: unrecognized command-line option ‘-Wno-return-type-c-linkage’ may have been intended to silence earlier diagnostics
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/rgbd.cpp: In function ‘void cv_kinfu_Intr_Reprojector_Reprojector(Result<cv::kinfu::Intr::Reprojector>*)’:
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/rgbd.cpp:594:54: warning: ‘ret.cv::kinfu::Intr::Reprojector::fxinv’ is used uninitialized [-Wuninitialized]
    warning:   594 |                         cv::kinfu::Intr::Reprojector ret;
    warning:       |                                                      ^~~
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/rgbd.cpp:594:54: warning: ‘ret.cv::kinfu::Intr::Reprojector::fyinv’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/rgbd.cpp:594:54: warning: ‘ret.cv::kinfu::Intr::Reprojector::cx’ is used uninitialized [-Wuninitialized]
    warning: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out/rgbd.cpp:594:54: warning: ‘ret.cv::kinfu::Intr::Reprojector::cy’ is used uninitialized [-Wuninitialized]
    warning: At global scope:
    warning: cc1plus: note: unrecognized command-line option ‘-Wno-return-type-c-linkage’ may have been intended to silence earlier diagnostics
    
    error: could not compile `opencv` due to previous error
    
    Caused by:
    process didn't exit successfully: `CARGO=/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/bin/cargo CARGO_CRATE_NAME=window CARGO_MANIFEST_DIR=/home/zool/workspace/opencv-rust CARGO_PKG_AUTHORS='Pro <twisted.fall@gmail.com>:Mathieu Poumeyrol <kali@zoy.org>' CARGO_PKG_DESCRIPTION='Rust bindings for OpenCV' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=opencv CARGO_PKG_REPOSITORY='https://github.com/twistedfall/opencv-rust' CARGO_PKG_VERSION=0.63.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=63 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/home/zool/workspace/opencv-rust/target/release/deps:/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib:/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib' OUT_DIR=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out rustc --crate-name window --edition=2018 examples/window.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alphamat"' --cfg 'feature="aruco"' --cfg 'feature="barcode"' --cfg 'feature="bgsegm"' --cfg 'feature="bioinspired"' --cfg 'feature="calib3d"' --cfg 'feature="ccalib"' --cfg 'feature="cudaarithm"' --cfg 'feature="cudabgsegm"' --cfg 'feature="cudacodec"' --cfg 'feature="cudafeatures2d"' --cfg 'feature="cudafilters"' --cfg 'feature="cudaimgproc"' --cfg 'feature="cudaobjdetect"' --cfg 'feature="cudaoptflow"' --cfg 'feature="cudastereo"' --cfg 'feature="cudawarping"' --cfg 'feature="cvv"' --cfg 'feature="default"' --cfg 'feature="dnn"' --cfg 'feature="dnn_superres"' --cfg 'feature="dpm"' --cfg 'feature="face"' --cfg 'feature="features2d"' --cfg 'feature="flann"' --cfg 'feature="freetype"' --cfg 'feature="fuzzy"' --cfg 'feature="gapi"' --cfg 'feature="hdf"' --cfg 'feature="hfs"' --cfg 'feature="highgui"' --cfg 'feature="img_hash"' --cfg 'feature="imgcodecs"' --cfg 'feature="imgproc"' --cfg 'feature="intensity_transform"' --cfg 'feature="line_descriptor"' --cfg 'feature="mcc"' --cfg 'feature="ml"' --cfg 'feature="objdetect"' --cfg 'feature="optflow"' --cfg 'feature="ovis"' --cfg 'feature="phase_unwrapping"' --cfg 'feature="photo"' --cfg 'feature="plot"' --cfg 'feature="quality"' --cfg 'feature="rapid"' --cfg 'feature="rgbd"' --cfg 'feature="saliency"' --cfg 'feature="sfm"' --cfg 'feature="shape"' --cfg 'feature="stereo"' --cfg 'feature="stitching"' --cfg 'feature="structured_light"' --cfg 'feature="superres"' --cfg 'feature="surface_matching"' --cfg 'feature="text"' --cfg 'feature="tracking"' --cfg 'feature="video"' --cfg 'feature="videoio"' --cfg 'feature="videostab"' --cfg 'feature="viz"' --cfg 'feature="wechat_qrcode"' --cfg 'feature="xfeatures2d"' --cfg 'feature="ximgproc"' --cfg 'feature="xobjdetect"' --cfg 'feature="xphoto"' -C metadata=87cf90e7ebf4c265 -C extra-filename=-87cf90e7ebf4c265 --out-dir /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/examples --target x86_64-pc-windows-gnu -C linker=/usr/bin/x86_64-w64-mingw32-gcc -L dependency=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps -L dependency=/home/zool/workspace/opencv-rust/target/release/deps --extern libc=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps/liblibc-3365d484306e4c8b.rlib --extern matches=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps/libmatches-98bf6ce352ac926f.rlib --extern num_traits=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps/libnum_traits-a84c32e09441c92d.rlib --extern once_cell=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps/libonce_cell-4d186dca640ed576.rlib --extern opencv=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/deps/libopencv-7e172a75d8a970bb.rlib -L native=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/release/build/opencv-abd80542d8440f1d/out -L /usr/x86_64-w64-mingw32/lib --cfg ocvrs_opencv_branch_4 --cfg ocvrs_has_module_sys --cfg ocvrs_has_module_types --cfg ocvrs_has_module_alphamat --cfg ocvrs_has_module_aruco --cfg ocvrs_has_module_barcode --cfg ocvrs_has_module_bgsegm --cfg ocvrs_has_module_bioinspired --cfg ocvrs_has_module_calib3d --cfg ocvrs_has_module_ccalib --cfg ocvrs_has_module_core --cfg ocvrs_has_module_dnn --cfg ocvrs_has_module_dnn_superres --cfg ocvrs_has_module_dpm --cfg ocvrs_has_module_face --cfg ocvrs_has_module_features2d --cfg ocvrs_has_module_flann --cfg ocvrs_has_module_fuzzy --cfg ocvrs_has_module_hfs --cfg ocvrs_has_module_highgui --cfg ocvrs_has_module_img_hash --cfg ocvrs_has_module_imgcodecs --cfg ocvrs_has_module_imgproc --cfg ocvrs_has_module_intensity_transform --cfg ocvrs_has_module_line_descriptor --cfg ocvrs_has_module_mcc --cfg ocvrs_has_module_ml --cfg ocvrs_has_module_objdetect --cfg ocvrs_has_module_optflow --cfg ocvrs_has_module_phase_unwrapping --cfg ocvrs_has_module_photo --cfg ocvrs_has_module_plot --cfg ocvrs_has_module_quality --cfg ocvrs_has_module_rapid --cfg ocvrs_has_module_rgbd --cfg ocvrs_has_module_saliency --cfg ocvrs_has_module_shape --cfg ocvrs_has_module_stereo --cfg ocvrs_has_module_stitching --cfg ocvrs_has_module_structured_light --cfg ocvrs_has_module_superres --cfg ocvrs_has_module_surface_matching --cfg ocvrs_has_module_text --cfg ocvrs_has_module_tracking --cfg ocvrs_has_module_video --cfg ocvrs_has_module_videoio --cfg ocvrs_has_module_videostab --cfg ocvrs_has_module_wechat_qrcode --cfg ocvrs_has_module_xfeatures2d --cfg ocvrs_has_module_ximgproc --cfg ocvrs_has_module_xobjdetect --cfg ocvrs_has_module_xphoto` (exit status: 1)
    
twistedfall commented 2 years ago

undefined reference to `cv::ocl::PlatformInfo::versionMinor() const'

Looks like OpenCL configuration mismatch, the module is enabled in the OpenCV headers, but the actual shared library is missing

foxzool commented 2 years ago

opencv is build with this PKGBUILD and -DWITH_OPENCL=OFF i don't know what to do

twistedfall commented 2 years ago

Any chance you have 2 OpenCV installations and it picks up the headers from one, but shared libraries from another? If you do a cargo clean and then cargo build -vv and paste the output here it would also be helpful.

foxzool commented 2 years ago

I had export PKG_CONFIG_PATH for mingw opencv

❯ export PKG_CONFIG_PATH=/usr/x86_64-w64-mingw32/lib/pkgconfig
❯ pkg-config --libs opencv4
-L/usr/x86_64-w64-mingw32/lib -lopencv_gapi455 -lopencv_stitching455 -lopencv_alphamat455 -lopencv_aruco455 -lopencv_barcode455 -lopencv_bgsegm455 -lopencv_bioinspired455 -lopencv_ccalib455 -lopencv_dnn_objdetect455 -lopencv_dnn_superres455 -lopencv_dpm455 -lopencv_face455 -lopencv_fuzzy455 -lopencv_hfs455 -lopencv_img_hash455 -lopencv_intensity_transform455 -lopencv_line_descriptor455 -lopencv_mcc455 -lopencv_quality455 -lopencv_rapid455 -lopencv_reg455 -lopencv_rgbd455 -lopencv_saliency455 -lopencv_stereo455 -lopencv_structured_light455 -lopencv_phase_unwrapping455 -lopencv_superres455 -lopencv_optflow455 -lopencv_surface_matching455 -lopencv_tracking455 -lopencv_highgui455 -lopencv_datasets455 -lopencv_text455 -lopencv_plot455 -lopencv_videostab455 -lopencv_videoio455 -lopencv_wechat_qrcode455 -lopencv_xfeatures2d455 -lopencv_shape455 -lopencv_ml455 -lopencv_ximgproc455 -lopencv_video455 -lopencv_xobjdetect455 -lopencv_objdetect455 -lopencv_calib3d455 -lopencv_imgcodecs455 -lopencv_features2d455 -lopencv_dnn455 -lopencv_flann455 -lopencv_xphoto455 -lopencv_photo455 -lopencv_imgproc455 -lopencv_core455 
Compiling opencv-binding-generator v0.41.0 (/home/zool/workspace/opencv-rust/binding-generator)
     Running `CARGO=/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/bin/cargo CARGO_CRATE_NAME=opencv_binding_generator CARGO_MANIFEST_DIR=/home/zool/workspace/opencv-rust/binding-generator CARGO_PKG_AUTHORS='Pro <twisted.fall@gmail.com>' CARGO_PKG_DESCRIPTION='Binding generator for opencv crate' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=opencv-binding-generator CARGO_PKG_REPOSITORY='https://github.com/twistedfall/opencv-rust' CARGO_PKG_VERSION=0.41.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=41 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/home/zool/workspace/opencv-rust/target/debug/deps:/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib:/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib' rustc --crate-name opencv_binding_generator --edition=2018 binding-generator/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=b4c648330c97df7a -C extra-filename=-b4c648330c97df7a --out-dir /home/zool/workspace/opencv-rust/target/debug/deps -C linker=clang -C incremental=/home/zool/workspace/opencv-rust/target/debug/incremental -L dependency=/home/zool/workspace/opencv-rust/target/debug/deps --extern clang=/home/zool/workspace/opencv-rust/target/debug/deps/libclang-5e08efb6082edfa5.rmeta --extern clang_sys=/home/zool/workspace/opencv-rust/target/debug/deps/libclang_sys-4a8741ca5171546a.rmeta --extern dunce=/home/zool/workspace/opencv-rust/target/debug/deps/libdunce-90a824ccf267c07e.rmeta --extern maplit=/home/zool/workspace/opencv-rust/target/debug/deps/libmaplit-f87334d4ddfcf750.rmeta --extern once_cell=/home/zool/workspace/opencv-rust/target/debug/deps/libonce_cell-8701aae6e7d8d54f.rmeta --extern percent_encoding=/home/zool/workspace/opencv-rust/target/debug/deps/libpercent_encoding-b196e1663297fef1.rmeta --extern regex=/home/zool/workspace/opencv-rust/target/debug/deps/libregex-a510ad0a266b2b0f.rmeta -L /usr/lib`
warning: `clang` (lib) generated 4 warnings
warning: use of deprecated associated function `std::array::IntoIter::<T, N>::new`: use `IntoIterator::into_iter` instead
   --> binding-generator/src/func.rs:120:20
    |
120 |             args: IntoIter::new(args).map(|a| a.into()).collect(),
    |                             ^^^
    |
    = note: `#[warn(deprecated)]` on by default

warning: `opencv-binding-generator` (lib) generated 1 warning
   Compiling opencv v0.63.0 (/home/zool/workspace/opencv-rust)
     Running `CARGO=/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/home/zool/workspace/opencv-rust CARGO_PKG_AUTHORS='Pro <twisted.fall@gmail.com>:Mathieu Poumeyrol <kali@zoy.org>' CARGO_PKG_DESCRIPTION='Rust bindings for OpenCV' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=opencv CARGO_PKG_REPOSITORY='https://github.com/twistedfall/opencv-rust' CARGO_PKG_VERSION=0.63.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=63 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/home/zool/workspace/opencv-rust/target/debug/deps:/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib:/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib' rustc --crate-name build_script_build --edition=2018 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alphamat"' --cfg 'feature="aruco"' --cfg 'feature="barcode"' --cfg 'feature="bgsegm"' --cfg 'feature="bioinspired"' --cfg 'feature="calib3d"' --cfg 'feature="ccalib"' --cfg 'feature="cudaarithm"' --cfg 'feature="cudabgsegm"' --cfg 'feature="cudacodec"' --cfg 'feature="cudafeatures2d"' --cfg 'feature="cudafilters"' --cfg 'feature="cudaimgproc"' --cfg 'feature="cudaobjdetect"' --cfg 'feature="cudaoptflow"' --cfg 'feature="cudastereo"' --cfg 'feature="cudawarping"' --cfg 'feature="cvv"' --cfg 'feature="default"' --cfg 'feature="dnn"' --cfg 'feature="dnn_superres"' --cfg 'feature="dpm"' --cfg 'feature="face"' --cfg 'feature="features2d"' --cfg 'feature="flann"' --cfg 'feature="freetype"' --cfg 'feature="fuzzy"' --cfg 'feature="gapi"' --cfg 'feature="hdf"' --cfg 'feature="hfs"' --cfg 'feature="highgui"' --cfg 'feature="img_hash"' --cfg 'feature="imgcodecs"' --cfg 'feature="imgproc"' --cfg 'feature="intensity_transform"' --cfg 'feature="line_descriptor"' --cfg 'feature="mcc"' --cfg 'feature="ml"' --cfg 'feature="objdetect"' --cfg 'feature="optflow"' --cfg 'feature="ovis"' --cfg 'feature="phase_unwrapping"' --cfg 'feature="photo"' --cfg 'feature="plot"' --cfg 'feature="quality"' --cfg 'feature="rapid"' --cfg 'feature="rgbd"' --cfg 'feature="saliency"' --cfg 'feature="sfm"' --cfg 'feature="shape"' --cfg 'feature="stereo"' --cfg 'feature="stitching"' --cfg 'feature="structured_light"' --cfg 'feature="superres"' --cfg 'feature="surface_matching"' --cfg 'feature="text"' --cfg 'feature="tracking"' --cfg 'feature="video"' --cfg 'feature="videoio"' --cfg 'feature="videostab"' --cfg 'feature="viz"' --cfg 'feature="wechat_qrcode"' --cfg 'feature="xfeatures2d"' --cfg 'feature="ximgproc"' --cfg 'feature="xobjdetect"' --cfg 'feature="xphoto"' -C metadata=706f408bbec397d7 -C extra-filename=-706f408bbec397d7 --out-dir /home/zool/workspace/opencv-rust/target/debug/build/opencv-706f408bbec397d7 -C linker=clang -C incremental=/home/zool/workspace/opencv-rust/target/debug/incremental -L dependency=/home/zool/workspace/opencv-rust/target/debug/deps --extern cc=/home/zool/workspace/opencv-rust/target/debug/deps/libcc-c67ac4db4a6e7e8d.rlib --extern clang=/home/zool/workspace/opencv-rust/target/debug/deps/libclang-5e08efb6082edfa5.rlib --extern dunce=/home/zool/workspace/opencv-rust/target/debug/deps/libdunce-90a824ccf267c07e.rlib --extern glob=/home/zool/workspace/opencv-rust/target/debug/deps/libglob-d3943553b96703d7.rlib --extern jobserver=/home/zool/workspace/opencv-rust/target/debug/deps/libjobserver-6f1aa0b57238cab6.rlib --extern once_cell=/home/zool/workspace/opencv-rust/target/debug/deps/libonce_cell-8701aae6e7d8d54f.rlib --extern binding_generator=/home/zool/workspace/opencv-rust/target/debug/deps/libopencv_binding_generator-b4c648330c97df7a.rlib --extern pkg_config=/home/zool/workspace/opencv-rust/target/debug/deps/libpkg_config-57a3e9bd3f4f7d73.rlib --extern semver=/home/zool/workspace/opencv-rust/target/debug/deps/libsemver-23d871ee09cfa440.rlib --extern shlex=/home/zool/workspace/opencv-rust/target/debug/deps/libshlex-df061bad8be1d243.rlib --extern vcpkg=/home/zool/workspace/opencv-rust/target/debug/deps/libvcpkg-fd873ba736077920.rlib -L /usr/lib`
     Running `/home/zool/workspace/opencv-rust/target/debug/build/opencv-706f408bbec397d7/build-script-build`
[opencv 0.63.0] === Crate version: Some("0.63.0")
[opencv 0.63.0] === Environment configuration:
[opencv 0.63.0] ===   OPENCV_PACKAGE_NAME = None
[opencv 0.63.0] ===   OPENCV_PKGCONFIG_NAME = None
[opencv 0.63.0] ===   OPENCV_CMAKE_NAME = None
[opencv 0.63.0] ===   OPENCV_CMAKE_BIN = None
[opencv 0.63.0] ===   OPENCV_VCPKG_NAME = None
[opencv 0.63.0] ===   OPENCV_LINK_LIBS = None
[opencv 0.63.0] ===   OPENCV_LINK_PATHS = None
[opencv 0.63.0] ===   OPENCV_INCLUDE_PATHS = None
[opencv 0.63.0] ===   OPENCV_DISABLE_PROBES = None
[opencv 0.63.0] ===   CMAKE_PREFIX_PATH = None
[opencv 0.63.0] ===   OpenCV_DIR = None
[opencv 0.63.0] ===   PKG_CONFIG_PATH = Some("/usr/x86_64-w64-mingw32/lib/pkgconfig")
[opencv 0.63.0] ===   VCPKG_ROOT = None
[opencv 0.63.0] ===   VCPKGRS_DYNAMIC = None
[opencv 0.63.0] === Enabled features:
[opencv 0.63.0] ===   ALPHAMAT
[opencv 0.63.0] ===   ARUCO
[opencv 0.63.0] ===   BARCODE
[opencv 0.63.0] ===   BGSEGM
[opencv 0.63.0] ===   BIOINSPIRED
[opencv 0.63.0] ===   CALIB3D
[opencv 0.63.0] ===   CCALIB
[opencv 0.63.0] ===   CUDAARITHM
[opencv 0.63.0] ===   CUDABGSEGM
[opencv 0.63.0] ===   CUDACODEC
[opencv 0.63.0] ===   CUDAFEATURES2D
[opencv 0.63.0] ===   CUDAFILTERS
[opencv 0.63.0] ===   CUDAIMGPROC
[opencv 0.63.0] ===   CUDAOBJDETECT
[opencv 0.63.0] ===   CUDAOPTFLOW
[opencv 0.63.0] ===   CUDASTEREO
[opencv 0.63.0] ===   CUDAWARPING
[opencv 0.63.0] ===   CVV
[opencv 0.63.0] ===   DEFAULT
[opencv 0.63.0] ===   DNN
[opencv 0.63.0] ===   DNN_SUPERRES
[opencv 0.63.0] ===   DPM
[opencv 0.63.0] ===   FACE
[opencv 0.63.0] ===   FEATURES2D
[opencv 0.63.0] ===   FLANN
[opencv 0.63.0] ===   FREETYPE
[opencv 0.63.0] ===   FUZZY
[opencv 0.63.0] ===   GAPI
[opencv 0.63.0] ===   HDF
[opencv 0.63.0] ===   HFS
[opencv 0.63.0] ===   HIGHGUI
[opencv 0.63.0] ===   IMGCODECS
[opencv 0.63.0] ===   IMGPROC
[opencv 0.63.0] ===   IMG_HASH
[opencv 0.63.0] ===   INTENSITY_TRANSFORM
[opencv 0.63.0] ===   LINE_DESCRIPTOR
[opencv 0.63.0] ===   MCC
[opencv 0.63.0] ===   ML
[opencv 0.63.0] ===   OBJDETECT
[opencv 0.63.0] ===   OPTFLOW
[opencv 0.63.0] ===   OVIS
[opencv 0.63.0] ===   PHASE_UNWRAPPING
[opencv 0.63.0] ===   PHOTO
[opencv 0.63.0] ===   PLOT
[opencv 0.63.0] ===   QUALITY
[opencv 0.63.0] ===   RAPID
[opencv 0.63.0] ===   RGBD
[opencv 0.63.0] ===   SALIENCY
[opencv 0.63.0] ===   SFM
[opencv 0.63.0] ===   SHAPE
[opencv 0.63.0] ===   STEREO
[opencv 0.63.0] ===   STITCHING
[opencv 0.63.0] ===   STRUCTURED_LIGHT
[opencv 0.63.0] ===   SUPERRES
[opencv 0.63.0] ===   SURFACE_MATCHING
[opencv 0.63.0] ===   TEXT
[opencv 0.63.0] ===   TRACKING
[opencv 0.63.0] ===   VIDEO
[opencv 0.63.0] ===   VIDEOIO
[opencv 0.63.0] ===   VIDEOSTAB
[opencv 0.63.0] ===   VIZ
[opencv 0.63.0] ===   WECHAT_QRCODE
[opencv 0.63.0] ===   XFEATURES2D
[opencv 0.63.0] ===   XIMGPROC
[opencv 0.63.0] ===   XOBJDETECT
[opencv 0.63.0] ===   XPHOTO
[opencv 0.63.0] === Detected probe priority based on environment vars: pkg_config: true, cmake: false, vcpkg: false
[opencv 0.63.0] === Probing the OpenCV library in the following order: environment, pkg_config, cmake, vcpkg_cmake, vcpkg
[opencv 0.63.0] === Can't probe using: environment, continuing with other methods because: Some environment variables are missing
[opencv 0.63.0] === Probing OpenCV library using pkg_config
[opencv 0.63.0] cargo:rerun-if-env-changed=OPENCV4_NO_PKG_CONFIG
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64-pc-windows-gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64_pc_windows_gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-pc-windows-gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_pc_windows_gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG
[opencv 0.63.0] cargo:rerun-if-env-changed=OPENCV4_STATIC
[opencv 0.63.0] cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-pc-windows-gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_pc_windows_gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_PATH
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-pc-windows-gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_pc_windows_gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_LIBDIR                                                                                                                                                                                                                    
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-pc-windows-gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_pc_windows_gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
 [opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[opencv 0.63.0] cargo:rerun-if-env-changed=SYSROOT
[opencv 0.63.0] cargo:rerun-if-env-changed=OPENCV4_STATIC
[opencv 0.63.0] cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-pc-windows-gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_pc_windows_gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG
[opencv 0.63.0] cargo:rerun-if-env-changed=OPENCV4_STATIC
[opencv 0.63.0] cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-pc-windows-gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_pc_windows_gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_PATH
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-pc-windows-gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_pc_windows_gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_LIBDIR
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-pc-windows-gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_pc_windows_gnu
[opencv 0.63.0] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[opencv 0.63.0] === OpenCV library configuration: Library {
[opencv 0.63.0]     include_paths: [
[opencv 0.63.0]         "/usr/x86_64-w64-mingw32/include/opencv4",
[opencv 0.63.0]     ],
[opencv 0.63.0]     version: Version {
[opencv 0.63.0]         major: 4,
[opencv 0.63.0]         minor: 5,
[opencv 0.63.0]         patch: 5,
[opencv 0.63.0]     },
[opencv 0.63.0]     cargo_metadata: [
[opencv 0.63.0]         "cargo:rustc-link-search=/usr/x86_64-w64-mingw32/lib",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_gapi455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_stitching455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_alphamat455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_aruco455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_barcode455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_bgsegm455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_bioinspired455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_ccalib455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_dnn_objdetect455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_dnn_superres455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_dpm455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_face455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_fuzzy455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_hfs455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_img_hash455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_intensity_transform455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_line_descriptor455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_mcc455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_quality455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_rapid455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_reg455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_rgbd455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_saliency455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_stereo455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_structured_light455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_phase_unwrapping455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_superres455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_optflow455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_surface_matching455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_tracking455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_highgui455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_datasets455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_text455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_plot455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_videostab455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_videoio455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_wechat_qrcode455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_xfeatures2d455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_shape455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_ml455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_ximgproc455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_video455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_xobjdetect455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_objdetect455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_calib3d455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_imgcodecs455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_features2d455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_dnn455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_flann455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_xphoto455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_photo455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_imgproc455",
[opencv 0.63.0]         "cargo:rustc-link-lib=opencv_core455",
[opencv 0.63.0]     ],
[opencv 0.63.0] }
    [opencv 0.63.0] cargo:rustc-cfg=ocvrs_opencv_branch_4
[opencv 0.63.0] === Detected OpenCV module header dir at: /usr/x86_64-w64-mingw32/include/opencv4/opencv2
[opencv 0.63.0] === Found OpenCV version: 4.5.5 in headers located at: /usr/x86_64-w64-mingw32/include/opencv4
[opencv 0.63.0] cargo:rerun-if-env-changed=OPENCV_PACKAGE_NAME
[opencv 0.63.0] cargo:rerun-if-env-changed=OPENCV_PKGCONFIG_NAME
[opencv 0.63.0] cargo:rerun-if-env-changed=OPENCV_CMAKE_NAME
[opencv 0.63.0] cargo:rerun-if-env-changed=OPENCV_CMAKE_BIN
[opencv 0.63.0] cargo:rerun-if-env-changed=OPENCV_VCPKG_NAME
[opencv 0.63.0] cargo:rerun-if-env-changed=OPENCV_LINK_LIBS
[opencv 0.63.0] cargo:rerun-if-env-changed=OPENCV_LINK_PATHS
[opencv 0.63.0] cargo:rerun-if-env-changed=OPENCV_INCLUDE_PATHS
    Building [=======================>   ] 36/39: opencv(build)                                                                                                                                                                                                                        [opencv 0.63.0] cargo:rerun-if-env-changed=OPENCV_DISABLE_PROBES
[opencv 0.63.0] cargo:rerun-if-env-changed=CMAKE_PREFIX_PATH
[opencv 0.63.0] cargo:rerun-if-env-changed=OpenCV_DIR
[opencv 0.63.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[opencv 0.63.0] cargo:rerun-if-env-changed=VCPKG_ROOT
[opencv 0.63.0] cargo:rerun-if-env-changed=VCPKGRS_DYNAMIC
[opencv 0.63.0] cargo:rerun-if-changed=/home/zool/workspace/opencv-rust/src_cpp/alphamat.hpp
[opencv 0.63.0] cargo:rerun-if-changed=/home/zool/workspace/opencv-rust/src_cpp/aruco.hpp
 [opencv 0.63.0] cargo:rerun-if-changed=/home/zool/workspace/opencv-rust/src_cpp/bioinspired.hpp
[opencv 0.63.0] cargo:rerun-if-changed=/home/zool/workspace/opencv-rust/src_cpp/ccalib.hpp
[opencv 0.63.0] cargo:rerun-if-changed=/home/zool/workspace/opencv-rust/src_cpp/core.hpp
[opencv 0.63.0] cargo:rerun-if-changed=/home/zool/workspace/opencv-rust/src_cpp/dnn.hpp
[opencv 0.63.0] cargo:rerun-if-changed=/home/zool/workspace/opencv-rust/src_cpp/face.hpp
[opencv 0.63.0] cargo:rerun-if-changed=/home/zool/workspace/opencv-rust/src_cpp/gapi.hpp
[opencv 0.63.0] cargo:rerun-if-changed=/home/zool/workspace/opencv-rust/src_cpp/hdf.hpp
[opencv 0.63.0] cargo:rerun-if-changed=/home/zool/workspace/opencv-rust/src_cpp/manual-core.cpp
    Building[opencv 0.63.0] cargo:rerun-if-changed=/home/zool/workspace/opencv-rust/src_cpp/manual-dnn.cpp
[opencv 0.63.0] cargo:rerun-if-changed=/home/zool/workspace/opencv-rust/src_cpp/manual-features2d.cpp
[opencv 0.63.0] cargo:rerun-if-changed=/home/zool/workspace/opencv-rust/src_cpp/ocvrs_common.hpp    
[opencv 0.63.0] cargo:rerun-if-changed=/home/zool/workspace/opencv-rust/src_cpp/photo.hpp
[opencv 0.63.0] cargo:rerun-if-changed=/home/zool/workspace/opencv-rust/src_cpp/sfm.hpp
[opencv 0.63.0] cargo:rerun-if-changed=/home/zool/workspace/opencv-rust/src_cpp/videoio.hpp
[opencv 0.63.0] cargo:rerun-if-changed=/home/zool/workspace/opencv-rust/src_cpp/xfeatures2d.hpp
[opencv 0.63.0] === Generating code in: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out
[opencv 0.63.0] === Placing generated bindings into: /home/zool/workspace/opencv-rust/src/opencv[opencv 0.63.0] cargo:rerun-if-changed=Cargo.toml

[opencv 0.63.0] === Using OpenCV headers from: /usr/x86_64-w64-mingw32/include/opencv4
[opencv 0.63.0] === Clang: clang version 13.0.1
[opencv 0.63.0] === Clang command line args: [
[opencv 0.63.0]     "-isystem/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0",
[opencv 0.63.0]     "-isystem/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/x86_64-pc-linux-gnu",
[opencv 0.63.0]     "-isystem/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/backward",
[opencv 0.63.0]     "-isystem/usr/lib/clang/13.0.1/include",
[opencv 0.63.0]     "-isystem/usr/local/include",
[opencv 0.63.0]     "-isystem/usr/include",
[opencv 0.63.0]     "-I/usr/x86_64-w64-mingw32/include/opencv4",
[opencv 0.63.0]     "-F/usr/x86_64-w64-mingw32/include/opencv4",
[opencv 0.63.0]     "-I/home/zool/workspace/opencv-rust/src_cpp",
[opencv 0.63.0]     "-F/home/zool/workspace/opencv-rust/src_cpp",
[opencv 0.63.0]     "-DOCVRS_PARSING_HEADERS",
[opencv 0.63.0]     "-includeocvrs_ephemeral.hpp",
[opencv 0.63.0]     "-std=c++14",
[opencv 0.63.0] ]
[opencv 0.63.0] === Generated: alphamat
[opencv 0.63.0] === Generated: dpm
[opencv 0.63.0] === Generated: hfs
[opencv 0.63.0] === Generated: barcode
[opencv 0.63.0] === Generated: dnn_superres
[opencv 0.63.0] === Generated: fuzzy
[opencv 0.63.0] === Generated: bioinspired
[opencv 0.63.0] === Generated: bgsegm
[opencv 0.63.0] === Generated: flann
[opencv 0.63.0] === Generated: aruco
[opencv 0.63.0] === Generated: ccalib
[opencv 0.63.0] === Generated: face
[opencv 0.63.0] === Generated: intensity_transform
[opencv 0.63.0] === Generated: features2d
[opencv 0.63.0] === Generated: imgcodecs
[opencv 0.63.0] === Generated: img_hash
[opencv 0.63.0] === Generated: highgui
[opencv 0.63.0] === Generated: line_descriptor
[opencv 0.63.0] === Generated: mcc
[opencv 0.63.0] === Generated: phase_unwrapping
[opencv 0.63.0] === Generated: calib3d
[opencv 0.63.0] === Generated: plot
[opencv 0.63.0] === Generated: rapid
[opencv 0.63.0] === Generated: quality
[opencv 0.63.0] === Generated: objdetect
[opencv 0.63.0] === Generated: photo
[opencv 0.63.0] === Generated: ml
[opencv 0.63.0] === Generated: saliency
[opencv 0.63.0] === Generated: optflow
[opencv 0.63.0] === Generated: stereo
[opencv 0.63.0] === Generated: shape
[opencv 0.63.0] === Generated: imgproc
[opencv 0.63.0] === Generated: structured_light
[opencv 0.63.0] === Generated: superres
[opencv 0.63.0] === Generated: dnn
[opencv 0.63.0] === Generated: surface_matching
[opencv 0.63.0] === Generated: tracking
[opencv 0.63.0] === Generated: wechat_qrcode
[opencv 0.63.0] === Generated: videoio
[opencv 0.63.0] === Generated: video
[opencv 0.63.0] === Generated: xobjdetect
[opencv 0.63.0] === Generated: rgbd
[opencv 0.63.0] === Generated: text
[opencv 0.63.0] === Generated: xphoto
[opencv 0.63.0] === Generated: xfeatures2d
[opencv 0.63.0] === Generated: videostab
[opencv 0.63.0] === Generated: ximgproc
[opencv 0.63.0] === Generated: stitching
[opencv 0.63.0] === Generated: core
[opencv 0.63.0] === Total binding generation time: 8.323667077s
[opencv 0.63.0] OPT_LEVEL = Some("0")
    [opencv 0.63.0] TARGET = Some("x86_64-pc-windows-gnu")
[opencv 0.63.0] HOST = Some("x86_64-unknown-linux-gnu")
[opencv 0.63.0] CXX_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXX_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXX = None
[opencv 0.63.0] CXX = None
[opencv 0.63.0] CROSS_COMPILE = None
[opencv 0.63.0] CXXFLAGS_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXXFLAGS_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXXFLAGS = None
[opencv 0.63.0] CXXFLAGS = None
[opencv 0.63.0] CRATE_CC_NO_DEFAULTS = None
[opencv 0.63.0] DEBUG = Some("true")
[opencv 0.63.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
[opencv 0.63.0] CXX_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXX_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXX = None
[opencv 0.63.0] CXX = None
[opencv 0.63.0] CROSS_COMPILE = None
[opencv 0.63.0] CXXFLAGS_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXXFLAGS_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXXFLAGS = None
[opencv 0.63.0] CXXFLAGS = None
[opencv 0.63.0] CRATE_CC_NO_DEFAULTS = None
[opencv 0.63.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
[opencv 0.63.0] CXX_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXX_x86_64_pc_windows_gnu = None    
[opencv 0.63.0] TARGET_CXX = None
[opencv 0.63.0] CXX = None
[opencv 0.63.0] CROSS_COMPILE = None
[opencv 0.63.0] CXXFLAGS_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXXFLAGS_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXXFLAGS = None
[opencv 0.63.0] CXXFLAGS = None
[opencv 0.63.0] CRATE_CC_NO_DEFAULTS = None
[opencv 0.63.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
[opencv 0.63.0] CXX_x86_64-pc-windows-gnu = None
 [opencv 0.63.0] CXX_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXX = None
[opencv 0.63.0] CXX = None
[opencv 0.63.0] CROSS_COMPILE = None
[opencv 0.63.0] CXXFLAGS_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXXFLAGS_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXXFLAGS = None
[opencv 0.63.0] CXXFLAGS = None
[opencv 0.63.0] CRATE_CC_NO_DEFAULTS = None
[opencv 0.63.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
[opencv 0.63.0] CXX_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXX_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXX = None
[opencv 0.63.0] CXX = None
[opencv 0.63.0] CROSS_COMPILE = None
[opencv 0.63.0] CXXFLAGS_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXXFLAGS_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXXFLAGS = None
    Building [opencv 0.63.0] CXXFLAGS = None
[opencv 0.63.0] CRATE_CC_NO_DEFAULTS = None
    Building [=======================>   ] 36/39: opencv(build)                                                                                                                                                                                                                        [opencv 0.63.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
[opencv 0.63.0] CXX_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXX_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXX = None
[opencv 0.63.0] CXX = None
[opencv 0.63.0] CROSS_COMPILE = None
    Building[opencv 0.63.0] CXXFLAGS_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXXFLAGS_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXXFLAGS = None
[opencv 0.63.0] CXXFLAGS = None
[opencv 0.63.0] CRATE_CC_NO_DEFAULTS = None
[opencv 0.63.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
[opencv 0.63.0] CXX_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXX_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXX = None
[opencv 0.63.0] CXX = None
[opencv 0.63.0] CROSS_COMPILE = None
[opencv 0.63.0] CXXFLAGS_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXXFLAGS_x86_64_pc_windows_gnu = Nonencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] TARGET_CXXFLAGS = None
  [opencv 0.63.0] CXXFLAGS = None
    Building[opencv 0.63.0] CRATE_CC_NO_DEFAULTS = None
  [opencv 0.63.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
[opencv 0.63.0] CXX_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXX_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXX = None    Building [=======================>   ] 36/39: opencv(build)                                                                                                                                                                                         
[opencv 0.63.0] CXX = None
[opencv 0.63.0] CROSS_COMPILE = None
[opencv 0.63.0] CXXFLAGS_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXXFLAGS_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXXFLAGS = None
[opencv 0.63.0] CXXFLAGS = None
[opencv 0.63.0] CRATE_CC_NO_DEFAULTS = None
[opencv 0.63.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
[opencv 0.63.0] CXX_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXX_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXX = None
[opencv 0.63.0] CXX = None
[opencv 0.63.0] CROSS_COMPILE = None
[opencv 0.63.0] CXXFLAGS_x86_64-pc-windows-gnu = Nonencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] CXXFLAGS_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXXFLAGS = None
[opencv 0.63.0] CXXFLAGS = None
   [opencv 0.63.0] CRATE_CC_NO_DEFAULTS = None
   [opencv 0.63.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
[opencv 0.63.0] CXX_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXX_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXX = None
[opencv 0.63.0] CXX = None
[opencv 0.63.0] CROSS_COMPILE = None
[opencv 0.63.0] CXXFLAGS_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXXFLAGS_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXXFLAGS = None
[opencv 0.63.0] CXXFLAGS = None
[opencv 0.63.0] CRATE_CC_NO_DEFAULTS = None
[opencv 0.63.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
[opencv 0.63.0] === Compiler information: Tool {
[opencv 0.63.0]     path: "x86_64-w64-mingw32-g++",
[opencv 0.63.0]     cc_wrapper_path: None,
[opencv 0.63.0]     cc_wrapper_args: [],
[opencv 0.63.0]     args: [
[opencv 0.63.0]         "-O0",
[opencv 0.63.0]         "-ffunction-sections",
[opencv 0.63.0]         "-fdata-sections",
[opencv 0.63.0]         "-g",
[opencv 0.63.0]         "-fno-omit-frame-pointer",
[opencv 0.63.0]         "-m64",
[opencv 0.63.0]         "-I",
[opencv 0.63.0]         "/home/zool/workspace/opencv-rust/src_cpp",
[opencv 0.63.0]         "-I",
[opencv 0.63.0]         "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out",
[opencv 0.63.0]         "-I",
[opencv 0.63.0]         ".",
[opencv 0.63.0]         "-I",
[opencv 0.63.0]         "/usr/x86_64-w64-mingw32/include/opencv4",
[opencv 0.63.0]         "-Wall",
[opencv 0.63.0]         "-Wextra",
[opencv 0.63.0]         "-std=c++11",
[opencv 0.63.0]         "-Wno-deprecated-declarations",
[opencv 0.63.0]         "-Wno-deprecated-copy",
[opencv 0.63.0]         "-Wno-unused-parameter",
[opencv 0.63.0]         "-Wno-sign-compare",
[opencv 0.63.0]         "-Wno-comment",
[opencv 0.63.0]         "-Wno-unused-variable",
[opencv 0.63.0]         "-Wno-ignored-qualifiers",
[opencv 0.63.0]         "-Wno-return-type-c-linkage",
[opencv 0.63.0]         "-Wa,-mbig-obj",
[opencv 0.63.0]     ],
[opencv 0.63.0]     env: [],
[opencv 0.63.0]     family: Gnu,
[opencv 0.63.0]     cuda: false,
[opencv 0.63.0]     removed_args: [],
[opencv 0.63.0] }
    Building[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_sys
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_types
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_alphamat
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_aruco
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_barcode
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_bgsegm
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_bioinspired
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_calib3d
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_ccalib
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_core
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_dnn
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_dnn_superres
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_dpm
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_face
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_features2d
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_flann
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_fuzzy
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_hfs
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_highgui
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_img_hash
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_imgcodecs
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_imgproc
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_intensity_transform
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_line_descriptor
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_mcc
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_ml
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_objdetect
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_optflow
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_phase_unwrapping
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_photo
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_plot
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_quality
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_rapid 
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_rgbd
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_saliency
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_shape
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_stereo
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_stitching
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_structured_light
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_superres
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_surface_matching
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_text
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_tracking
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_video
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_videoio
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_videostab
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_wechat_qrcode
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_xfeatures2d
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_ximgproc
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_xobjdetect
[opencv 0.63.0] cargo:rustc-cfg=ocvrs_has_module_xphoto
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/alphamat.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/alphamat.cpp"
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/bgsegm.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/bgsegm.cpp"
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/aruco.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/aruco.cpp"
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/barcode.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/barcode.cpp"
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/calib3d.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/calib3d.cpp"
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/core.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/core.cpp"
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/ccalib.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/ccalib.cpp"
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/manual-core.o" "-c" "/home/zool/workspace/opencv-rust/src_cpp/manual-core.cpp"
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/bioinspired.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/bioinspired.cpp"
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/dnn.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/dnn.cpp"
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/face.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/face.cpp"
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/manual-features2d.o" "-c" "/home/zool/workspace/opencv-rust/src_cpp/manual-features2d.cpp"
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/features2d.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/features2d.cpp"    Building [=======================>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/manual-dnn.o" "-c" "/home/zool/workspace/opencv-rust/src_cpp/manual-dnn.cpp"
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/dpm.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/dpm.cpp"
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/dnn_superres.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/dnn_superres.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/flann.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/flann.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/fuzzy.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/fuzzy.cpp"
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/hfs.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/hfs.cpp"
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/highgui.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/highgui.cpp"
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/img_hash.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/img_hash.cpp"
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/imgcodecs.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/imgcodecs.cpp"
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/imgproc.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/imgproc.cpp"
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/intensity_transform.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/intensity_transform.cpp"
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/line_descriptor.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/line_descriptor.cpp"
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/mcc.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/mcc.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/ml.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/ml.cpp"
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/objdetect.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/objdetect.cpp"
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/optflow.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/optflow.cpp"
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/phase_unwrapping.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/phase_unwrapping.cpp"
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/photo.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/photo.cpp"
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/plot.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/plot.cpp"
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/quality.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/quality.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/rapid.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/rapid.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/rgbd.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/rgbd.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/saliency.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/saliency.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/shape.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/shape.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/stereo.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/stereo.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/stitching.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/stitching.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/structured_light.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/structured_light.cpp"
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/superres.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/superres.cpp"
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/surface_matching.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/surface_matching.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/text.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/text.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/tracking.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/tracking.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/video.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/video.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/videoio.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/videoio.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/videostab.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/videostab.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/wechat_qrcode.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/wechat_qrcode.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/xfeatures2d.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/xfeatures2d.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/ximgproc.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/ximgproc.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/xobjdetect.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/xobjdetect.cpp"
[opencv 0.63.0] exit status: 0=======>   ] 36/39: opencv(build)                                                                                                                                                                                                                        
[opencv 0.63.0] running: "x86_64-w64-mingw32-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/zool/workspace/opencv-rust/src_cpp" "-I" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-I" "." "-I" "/usr/x86_64-w64-mingw32/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-Wa,-mbig-obj" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/xphoto.o" "-c" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/xphoto.cpp"
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] exit status: 0
    Building [=======================>   ] 36/39: opencv(build)                                                                                                                                                                                                                        [opencv 0.63.0] AR_x86_64-pc-windows-gnu = None
[opencv 0.63.0] AR_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_AR = None
[opencv 0.63.0] AR = None
[opencv 0.63.0] running: "x86_64-w64-mingw32-ar" "cq" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/libocvrs.a" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/alphamat.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/aruco.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/barcode.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/bgsegm.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/bioinspired.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/calib3d.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/ccalib.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/core.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/manual-core.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/dnn.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/manual-dnn.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/dnn_superres.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/dpm.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/face.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/features2d.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/manual-features2d.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/flann.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/fuzzy.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/hfs.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/highgui.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/img_hash.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/imgcodecs.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/imgproc.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/intensity_transform.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/line_descriptor.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/mcc.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/ml.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/objdetect.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/optflow.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/phase_unwrapping.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/photo.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/plot.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/quality.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/rapid.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/rgbd.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/saliency.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/shape.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/stereo.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/stitching.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/structured_light.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/superres.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/surface_matching.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/text.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/tracking.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/video.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/videoio.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/videostab.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/wechat_qrcode.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/xfeatures2d.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/ximgproc.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/xobjdetect.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/xphoto.o"
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] running: "x86_64-w64-mingw32-ar" "s" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/libocvrs.a"                                                                                                                
[opencv 0.63.0] exit status: 0
[opencv 0.63.0] cargo:rustc-link-lib=static=ocvrs
[opencv 0.63.0] cargo:rustc-link-search=native=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out
[opencv 0.63.0] CXXSTDLIB_x86_64-pc-windows-gnu = None
[opencv 0.63.0] CXXSTDLIB_x86_64_pc_windows_gnu = None
[opencv 0.63.0] TARGET_CXXSTDLIB = None
 [opencv 0.63.0] CXXSTDLIB = None
[opencv 0.63.0] cargo:rustc-link-lib=stdc++
[opencv 0.63.0] cargo:rustc-link-search=/usr/x86_64-w64-mingw32/lib
[opencv 0.63.0] cargo:rustc-link-lib=opencv_gapi455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_stitching455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_alphamat455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_aruco455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_barcode455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_bgsegm455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_bioinspired455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_ccalib455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_dnn_objdetect455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_dnn_superres455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_dpm455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_face455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_fuzzy455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_hfs455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_img_hash455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_intensity_transform455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_line_descriptor455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_mcc455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_quality455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_rapid455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_reg455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_rgbd455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_saliency455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_stereo455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_structured_light455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_phase_unwrapping455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_superres455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_optflow455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_surface_matching455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_tracking455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_highgui455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_datasets455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_text455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_plot455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_videostab455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_videoio455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_wechat_qrcode455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_xfeatures2d455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_shape455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_ml455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_ximgproc455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_video455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_xobjdetect455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_objdetect455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_calib3d455    
[opencv 0.63.0] cargo:rustc-link-lib=opencv_imgcodecs455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_features2d455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_dnn455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_flann455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_xphoto455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_photo455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_imgproc455
[opencv 0.63.0] cargo:rustc-link-lib=opencv_core455
     Running `CARGO=/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/bin/cargo CARGO_CRATE_NAME=opencv CARGO_MANIFEST_DIR=/home/zool/workspace/opencv-rust CARGO_PKG_AUTHORS='Pro <twisted.fall@gmail.com>:Mathieu Poumeyrol <kali@zoy.org>' CARGO_PKG_DESCRIPTION='Rust bindings for OpenCV' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=opencv CARGO_PKG_REPOSITORY='https://github.com/twistedfall/opencv-rust' CARGO_PKG_VERSION=0.63.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=63 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/home/zool/workspace/opencv-rust/target/debug/deps:/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib:/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib' OUT_DIR=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out rustc --crate-name opencv --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alphamat"' --cfg 'feature="aruco"' --cfg 'feature="barcode"' --cfg 'feature="bgsegm"' --cfg 'feature="bioinspired"' --cfg 'feature="calib3d"' --cfg 'feature="ccalib"' --cfg 'feature="cudaarithm"' --cfg 'feature="cudabgsegm"' --cfg 'feature="cudacodec"' --cfg 'feature="cudafeatures2d"' --cfg 'feature="cudafilters"' --cfg 'feature="cudaimgproc"' --cfg 'feature="cudaobjdetect"' --cfg 'feature="cudaoptflow"' --cfg 'feature="cudastereo"' --cfg 'feature="cudawarping"' --cfg 'feature="cvv"' --cfg 'feature="default"' --cfg 'feature="dnn"' --cfg 'feature="dnn_superres"' --cfg 'feature="dpm"' --cfg 'feature="face"' --cfg 'feature="features2d"' --cfg 'feature="flann"' --cfg 'feature="freetype"' --cfg 'feature="fuzzy"' --cfg 'feature="gapi"' --cfg 'feature="hdf"' --cfg 'feature="hfs"' --cfg 'feature="highgui"' --cfg 'feature="img_hash"' --cfg 'feature="imgcodecs"' --cfg 'feature="imgproc"' --cfg 'feature="intensity_transform"' --cfg 'feature="line_descriptor"' --cfg 'feature="mcc"' --cfg 'feature="ml"' --cfg 'feature="objdetect"' --cfg 'feature="optflow"' --cfg 'feature="ovis"' --cfg 'feature="phase_unwrapping"' --cfg 'feature="photo"' --cfg 'feature="plot"' --cfg 'feature="quality"' --cfg 'feature="rapid"' --cfg 'feature="rgbd"' --cfg 'feature="saliency"' --cfg 'feature="sfm"' --cfg 'feature="shape"' --cfg 'feature="stereo"' --cfg 'feature="stitching"' --cfg 'feature="structured_light"' --cfg 'feature="superres"' --cfg 'feature="surface_matching"' --cfg 'feature="text"' --cfg 'feature="tracking"' --cfg 'feature="video"' --cfg 'feature="videoio"' --cfg 'feature="videostab"' --cfg 'feature="viz"' --cfg 'feature="wechat_qrcode"' --cfg 'feature="xfeatures2d"' --cfg 'feature="ximgproc"' --cfg 'feature="xobjdetect"' --cfg 'feature="xphoto"' -C metadata=07b9272c1f941550 -C extra-filename=-07b9272c1f941550 --out-dir /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps --target x86_64-pc-windows-gnu -C linker=/usr/bin/x86_64-w64-mingw32-gcc -C incremental=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/incremental -L dependency=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps -L dependency=/home/zool/workspace/opencv-rust/target/debug/deps --extern libc=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/liblibc-0d0b26a555cf56ed.rmeta --extern num_traits=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/libnum_traits-7e1b32de124e571c.rmeta --extern once_cell=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/libonce_cell-603d609e2a6ea648.rmeta -L native=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out -L /usr/x86_64-w64-mingw32/lib --cfg ocvrs_opencv_branch_4 --cfg ocvrs_has_module_sys --cfg ocvrs_has_module_types --cfg ocvrs_has_module_alphamat --cfg ocvrs_has_module_aruco --cfg ocvrs_has_module_barcode --cfg ocvrs_has_module_bgsegm --cfg ocvrs_has_module_bioinspired --cfg ocvrs_has_module_calib3d --cfg ocvrs_has_module_ccalib --cfg ocvrs_has_module_core --cfg ocvrs_has_module_dnn --cfg ocvrs_has_module_dnn_superres --cfg ocvrs_has_module_dpm --cfg ocvrs_has_module_face --cfg ocvrs_has_module_features2d --cfg ocvrs_has_module_flann --cfg ocvrs_has_module_fuzzy --cfg ocvrs_has_module_hfs --cfg ocvrs_has_module_highgui --cfg ocvrs_has_module_img_hash --cfg ocvrs_has_module_imgcodecs --cfg ocvrs_has_module_imgproc --cfg ocvrs_has_module_intensity_transform --cfg ocvrs_has_module_line_descriptor --cfg ocvrs_has_module_mcc --cfg ocvrs_has_module_ml --cfg ocvrs_has_module_objdetect --cfg ocvrs_has_module_optflow --cfg ocvrs_has_module_phase_unwrapping --cfg ocvrs_has_module_photo --cfg ocvrs_has_module_plot --cfg ocvrs_has_module_quality --cfg ocvrs_has_module_rapid --cfg ocvrs_has_module_rgbd --cfg ocvrs_has_module_saliency --cfg ocvrs_has_module_shape --cfg ocvrs_has_module_stereo --cfg ocvrs_has_module_stitching --cfg ocvrs_has_module_structured_light --cfg ocvrs_has_module_superres --cfg ocvrs_has_module_surface_matching --cfg ocvrs_has_module_text --cfg ocvrs_has_module_tracking --cfg ocvrs_has_module_video --cfg ocvrs_has_module_videoio --cfg ocvrs_has_module_videostab --cfg ocvrs_has_module_wechat_qrcode --cfg ocvrs_has_module_xfeatures2d --cfg ocvrs_has_module_ximgproc --cfg ocvrs_has_module_xobjdetect --cfg ocvrs_has_module_xphoto -l static=ocvrs -l stdc++ -l opencv_gapi455 -l opencv_stitching455 -l opencv_alphamat455 -l opencv_aruco455 -l opencv_barcode455 -l opencv_bgsegm455 -l opencv_bioinspired455 -l opencv_ccalib455 -l opencv_dnn_objdetect455 -l opencv_dnn_superres455 -l opencv_dpm455 -l opencv_face455 -l opencv_fuzzy455 -l opencv_hfs455 -l opencv_img_hash455 -l opencv_intensity_transform455 -l opencv_line_descriptor455 -l opencv_mcc455 -l opencv_quality455 -l opencv_rapid455 -l opencv_reg455 -l opencv_rgbd455 -l opencv_saliency455 -l opencv_stereo455 -l opencv_structured_light455 -l opencv_phase_unwrapping455 -l opencv_superres455 -l opencv_optflow455 -l opencv_surface_matching455 -l opencv_tracking455 -l opencv_highgui455 -l opencv_datasets455 -l opencv_text455 -l opencv_plot455 -l opencv_videostab455 -l opencv_videoio455 -l opencv_wechat_qrcode455 -l opencv_xfeatures2d455 -l opencv_shape455 -l opencv_ml455 -l opencv_ximgproc455 -l opencv_video455 -l opencv_xobjdetect455 -l opencv_objdetect455 -l opencv_calib3d455 -l opencv_imgcodecs455 -l opencv_features2d455 -l opencv_dnn455 -l opencv_flann455 -l opencv_xphoto455 -l opencv_photo455 -l opencv_imgproc455 -l opencv_core455`
     Running `CARGO=/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/bin/cargo CARGO_CRATE_NAME=window CARGO_MANIFEST_DIR=/home/zool/workspace/opencv-rust CARGO_PKG_AUTHORS='Pro <twisted.fall@gmail.com>:Mathieu Poumeyrol <kali@zoy.org>' CARGO_PKG_DESCRIPTION='Rust bindings for OpenCV' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=opencv CARGO_PKG_REPOSITORY='https://github.com/twistedfall/opencv-rust' CARGO_PKG_VERSION=0.63.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=63 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/home/zool/workspace/opencv-rust/target/debug/deps:/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib:/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib' OUT_DIR=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out rustc --crate-name window --edition=2018 examples/window.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alphamat"' --cfg 'feature="aruco"' --cfg 'feature="barcode"' --cfg 'feature="bgsegm"' --cfg 'feature="bioinspired"' --cfg 'feature="calib3d"' --cfg 'feature="ccalib"' --cfg 'feature="cudaarithm"' --cfg 'feature="cudabgsegm"' --cfg 'feature="cudacodec"' --cfg 'feature="cudafeatures2d"' --cfg 'feature="cudafilters"' --cfg 'feature="cudaimgproc"' --cfg 'feature="cudaobjdetect"' --cfg 'feature="cudaoptflow"' --cfg 'feature="cudastereo"' --cfg 'feature="cudawarping"' --cfg 'feature="cvv"' --cfg 'feature="default"' --cfg 'feature="dnn"' --cfg 'feature="dnn_superres"' --cfg 'feature="dpm"' --cfg 'feature="face"' --cfg 'feature="features2d"' --cfg 'feature="flann"' --cfg 'feature="freetype"' --cfg 'feature="fuzzy"' --cfg 'feature="gapi"' --cfg 'feature="hdf"' --cfg 'feature="hfs"' --cfg 'feature="highgui"' --cfg 'feature="img_hash"' --cfg 'feature="imgcodecs"' --cfg 'feature="imgproc"' --cfg 'feature="intensity_transform"' --cfg 'feature="line_descriptor"' --cfg 'feature="mcc"' --cfg 'feature="ml"' --cfg 'feature="objdetect"' --cfg 'feature="optflow"' --cfg 'feature="ovis"' --cfg 'feature="phase_unwrapping"' --cfg 'feature="photo"' --cfg 'feature="plot"' --cfg 'feature="quality"' --cfg 'feature="rapid"' --cfg 'feature="rgbd"' --cfg 'feature="saliency"' --cfg 'feature="sfm"' --cfg 'feature="shape"' --cfg 'feature="stereo"' --cfg 'feature="stitching"' --cfg 'feature="structured_light"' --cfg 'feature="superres"' --cfg 'feature="surface_matching"' --cfg 'feature="text"' --cfg 'feature="tracking"' --cfg 'feature="video"' --cfg 'feature="videoio"' --cfg 'feature="videostab"' --cfg 'feature="viz"' --cfg 'feature="wechat_qrcode"' --cfg 'feature="xfeatures2d"' --cfg 'feature="ximgproc"' --cfg 'feature="xobjdetect"' --cfg 'feature="xphoto"' -C metadata=44e20b6f6e1d4081 -C extra-filename=-44e20b6f6e1d4081 --out-dir /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples --target x86_64-pc-windows-gnu -C linker=/usr/bin/x86_64-w64-mingw32-gcc -C incremental=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/incremental -L dependency=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps -L dependency=/home/zool/workspace/opencv-rust/target/debug/deps --extern libc=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/liblibc-0d0b26a555cf56ed.rlib --extern matches=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/libmatches-e16c7b52b9711e25.rlib --extern num_traits=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/libnum_traits-7e1b32de124e571c.rlib --extern once_cell=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/libonce_cell-603d609e2a6ea648.rlib --extern opencv=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/libopencv-07b9272c1f941550.rlib -L native=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out -L /usr/x86_64-w64-mingw32/lib --cfg ocvrs_opencv_branch_4 --cfg ocvrs_has_module_sys --cfg ocvrs_has_module_types --cfg ocvrs_has_module_alphamat --cfg ocvrs_has_module_aruco --cfg ocvrs_has_module_barcode --cfg ocvrs_has_module_bgsegm --cfg ocvrs_has_module_bioinspired --cfg ocvrs_has_module_calib3d --cfg ocvrs_has_module_ccalib --cfg ocvrs_has_module_core --cfg ocvrs_has_module_dnn --cfg ocvrs_has_module_dnn_superres --cfg ocvrs_has_module_dpm --cfg ocvrs_has_module_face --cfg ocvrs_has_module_features2d --cfg ocvrs_has_module_flann --cfg ocvrs_has_module_fuzzy --cfg ocvrs_has_module_hfs --cfg ocvrs_has_module_highgui --cfg ocvrs_has_module_img_hash --cfg ocvrs_has_module_imgcodecs --cfg ocvrs_has_module_imgproc --cfg ocvrs_has_module_intensity_transform --cfg ocvrs_has_module_line_descriptor --cfg ocvrs_has_module_mcc --cfg ocvrs_has_module_ml --cfg ocvrs_has_module_objdetect --cfg ocvrs_has_module_optflow --cfg ocvrs_has_module_phase_unwrapping --cfg ocvrs_has_module_photo --cfg ocvrs_has_module_plot --cfg ocvrs_has_module_quality --cfg ocvrs_has_module_rapid --cfg ocvrs_has_module_rgbd --cfg ocvrs_has_module_saliency --cfg ocvrs_has_module_shape --cfg ocvrs_has_module_stereo --cfg ocvrs_has_module_stitching --cfg ocvrs_has_module_structured_light --cfg ocvrs_has_module_superres --cfg ocvrs_has_module_surface_matching --cfg ocvrs_has_module_text --cfg ocvrs_has_module_tracking --cfg ocvrs_has_module_video --cfg ocvrs_has_module_videoio --cfg ocvrs_has_module_videostab --cfg ocvrs_has_module_wechat_qrcode --cfg ocvrs_has_module_xfeatures2d --cfg ocvrs_has_module_ximgproc --cfg ocvrs_has_module_xobjdetect --cfg ocvrs_has_module_xphoto`
error: linking with `/usr/bin/x86_64-w64-mingw32-gcc` failed: exit status: 1
  |
  = note: "/usr/bin/x86_64-w64-mingw32-gcc" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/rsbegin.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.10p6uhi3qzqn35m.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.196u0kq08wahocg8.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.1ni1hngx4sijaesu.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.1qgf1g3vfqyfj5km.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.1x1xn7t2mudtumf2.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.25ng7j2le4aystij.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.2evhnkai04d225pf.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.2iyhfgyz5g5fvczx.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.2jz16y3r5alnxl55.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.2qq9va2c6yefoidq.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.2r4426us5ddtuxfc.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.2vpbosd0w7z1qsyt.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.35a8uvngmfbtk7ja.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.39lpfv2ipojufcuy.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.3e52madud8fxnche.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.3iw62a6z9epeybk8.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.3j74p8e0mwicm37v.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.3pifqjwtcvnhh0k2.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.3vh3h5v6gsk11kgo.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.3x8y3atgy9xw7q6x.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.40w4we6kemomuvbe.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.49l2dr7rq3520k80.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.4ckq0c7af0b1rw8f.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.4qm96l7vhdk2509.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.579gfpccwyi3tve7.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.5dai98mdihcknc9p.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.5frwjh8p0gp80b5s.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.idgxcvktx57oyq3.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.p7hlzzn0kiy673v.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.sjzdj0mapcxmrk7.rcgu.o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.24mnv4uzxaa67kzs.rcgu.o" "-L" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps" "-L" "/home/zool/workspace/opencv-rust/target/debug/deps" "-L" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out" "-L" "/usr/x86_64-w64-mingw32/lib" "-L" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib" "-Wl,-Bstatic" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/libopencv-07b9272c1f941550.rlib" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/liblibc-0d0b26a555cf56ed.rlib" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/libnum_traits-7e1b32de124e571c.rlib" "-Wl,--start-group" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libstd-c4544c8c1230a962.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libpanic_unwind-9905c70c1014ae26.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libobject-11edc6b55ad1f70c.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libmemchr-e2604f62b5d58613.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libaddr2line-ef7b11e68bbd7776.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libgimli-9dccea35d605e69d.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libstd_detect-5e299c086c163fb0.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/librustc_demangle-61d67a1d18403dce.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libhashbrown-2dc9cabd13417769.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/librustc_std_workspace_alloc-32458332fd573818.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libunwind-2cbf5499ba545f11.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libcfg_if-8b2c82f6e529b5ab.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/liblibc-f9febd74880ec71f.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/liballoc-ef5339e70ab79e2e.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/librustc_std_workspace_core-3b0c82ac7103617b.rlib" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libcore-0b703fcc2f69b48b.rlib" "-Wl,--end-group" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libcompiler_builtins-bfb6a30cfbdc19dd.rlib" "-Wl,-Bdynamic" "-lstdc++" "-lopencv_gapi455" "-lopencv_stitching455" "-lopencv_alphamat455" "-lopencv_aruco455" "-lopencv_barcode455" "-lopencv_bgsegm455" "-lopencv_bioinspired455" "-lopencv_ccalib455" "-lopencv_dnn_objdetect455" "-lopencv_dnn_superres455" "-lopencv_dpm455" "-lopencv_face455" "-lopencv_fuzzy455" "-lopencv_hfs455" "-lopencv_img_hash455" "-lopencv_intensity_transform455" "-lopencv_line_descriptor455" "-lopencv_mcc455" "-lopencv_quality455" "-lopencv_rapid455" "-lopencv_reg455" "-lopencv_rgbd455" "-lopencv_saliency455" "-lopencv_stereo455" "-lopencv_structured_light455" "-lopencv_phase_unwrapping455" "-lopencv_superres455" "-lopencv_optflow455" "-lopencv_surface_matching455" "-lopencv_tracking455" "-lopencv_highgui455" "-lopencv_datasets455" "-lopencv_text455" "-lopencv_plot455" "-lopencv_videostab455" "-lopencv_videoio455" "-lopencv_wechat_qrcode455" "-lopencv_xfeatures2d455" "-lopencv_shape455" "-lopencv_ml455" "-lopencv_ximgproc455" "-lopencv_video455" "-lopencv_xobjdetect455" "-lopencv_objdetect455" "-lopencv_calib3d455" "-lopencv_imgcodecs455" "-lopencv_features2d455" "-lopencv_dnn455" "-lopencv_flann455" "-lopencv_xphoto455" "-lopencv_photo455" "-lopencv_imgproc455" "-lopencv_core455" "-lkernel32" "-lws2_32" "-lbcrypt" "-ladvapi32" "-luserenv" "-lkernel32" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-L" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib" "-o" "/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples/window-44e20b6f6e1d4081.exe" "-Wl,--gc-sections" "-no-pie" "-nodefaultlibs" "/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/rsend.o"
  = note: /usr/lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/libopencv-07b9272c1f941550.rlib(core.o):/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/core.cpp:10233: undefined reference to `cv::ocl::Kernel::run_(int, unsigned long long*, unsigned long long*, bool, cv::ocl::Queue const&)'
          /usr/lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/libopencv-07b9272c1f941550.rlib(core.o):/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/core.cpp:10643: undefined reference to `cv::ocl::PlatformInfo::versionMajor() const'
          /usr/lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld: /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/libopencv-07b9272c1f941550.rlib(core.o):/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out/core.cpp:10650: undefined reference to `cv::ocl::PlatformInfo::versionMinor() const'
          collect2: error: ld returned 1 exit status

  = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `opencv` due to previous error

Caused by:
  process didn't exit successfully: `CARGO=/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/bin/cargo CARGO_CRATE_NAME=window CARGO_MANIFEST_DIR=/home/zool/workspace/opencv-rust CARGO_PKG_AUTHORS='Pro <twisted.fall@gmail.com>:Mathieu Poumeyrol <kali@zoy.org>' CARGO_PKG_DESCRIPTION='Rust bindings for OpenCV' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=opencv CARGO_PKG_REPOSITORY='https://github.com/twistedfall/opencv-rust' CARGO_PKG_VERSION=0.63.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=63 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/home/zool/workspace/opencv-rust/target/debug/deps:/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib:/home/zool/.rustup/toolchains/nightly-2022-01-20-x86_64-unknown-linux-gnu/lib' OUT_DIR=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out rustc --crate-name window --edition=2018 examples/window.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alphamat"' --cfg 'feature="aruco"' --cfg 'feature="barcode"' --cfg 'feature="bgsegm"' --cfg 'feature="bioinspired"' --cfg 'feature="calib3d"' --cfg 'feature="ccalib"' --cfg 'feature="cudaarithm"' --cfg 'feature="cudabgsegm"' --cfg 'feature="cudacodec"' --cfg 'feature="cudafeatures2d"' --cfg 'feature="cudafilters"' --cfg 'feature="cudaimgproc"' --cfg 'feature="cudaobjdetect"' --cfg 'feature="cudaoptflow"' --cfg 'feature="cudastereo"' --cfg 'feature="cudawarping"' --cfg 'feature="cvv"' --cfg 'feature="default"' --cfg 'feature="dnn"' --cfg 'feature="dnn_superres"' --cfg 'feature="dpm"' --cfg 'feature="face"' --cfg 'feature="features2d"' --cfg 'feature="flann"' --cfg 'feature="freetype"' --cfg 'feature="fuzzy"' --cfg 'feature="gapi"' --cfg 'feature="hdf"' --cfg 'feature="hfs"' --cfg 'feature="highgui"' --cfg 'feature="img_hash"' --cfg 'feature="imgcodecs"' --cfg 'feature="imgproc"' --cfg 'feature="intensity_transform"' --cfg 'feature="line_descriptor"' --cfg 'feature="mcc"' --cfg 'feature="ml"' --cfg 'feature="objdetect"' --cfg 'feature="optflow"' --cfg 'feature="ovis"' --cfg 'feature="phase_unwrapping"' --cfg 'feature="photo"' --cfg 'feature="plot"' --cfg 'feature="quality"' --cfg 'feature="rapid"' --cfg 'feature="rgbd"' --cfg 'feature="saliency"' --cfg 'feature="sfm"' --cfg 'feature="shape"' --cfg 'feature="stereo"' --cfg 'feature="stitching"' --cfg 'feature="structured_light"' --cfg 'feature="superres"' --cfg 'feature="surface_matching"' --cfg 'feature="text"' --cfg 'feature="tracking"' --cfg 'feature="video"' --cfg 'feature="videoio"' --cfg 'feature="videostab"' --cfg 'feature="viz"' --cfg 'feature="wechat_qrcode"' --cfg 'feature="xfeatures2d"' --cfg 'feature="ximgproc"' --cfg 'feature="xobjdetect"' --cfg 'feature="xphoto"' -C metadata=44e20b6f6e1d4081 -C extra-filename=-44e20b6f6e1d4081 --out-dir /home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/examples --target x86_64-pc-windows-gnu -C linker=/usr/bin/x86_64-w64-mingw32-gcc -C incremental=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/incremental -L dependency=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps -L dependency=/home/zool/workspace/opencv-rust/target/debug/deps --extern libc=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/liblibc-0d0b26a555cf56ed.rlib --extern matches=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/libmatches-e16c7b52b9711e25.rlib --extern num_traits=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/libnum_traits-7e1b32de124e571c.rlib --extern once_cell=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/libonce_cell-603d609e2a6ea648.rlib --extern opencv=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/deps/libopencv-07b9272c1f941550.rlib -L native=/home/zool/workspace/opencv-rust/target/x86_64-pc-windows-gnu/debug/build/opencv-e14c3b25ea0187d7/out -L /usr/x86_64-w64-mingw32/lib --cfg ocvrs_opencv_branch_4 --cfg ocvrs_has_module_sys --cfg ocvrs_has_module_types --cfg ocvrs_has_module_alphamat --cfg ocvrs_has_module_aruco --cfg ocvrs_has_module_barcode --cfg ocvrs_has_module_bgsegm --cfg ocvrs_has_module_bioinspired --cfg ocvrs_has_module_calib3d --cfg ocvrs_has_module_ccalib --cfg ocvrs_has_module_core --cfg ocvrs_has_module_dnn --cfg ocvrs_has_module_dnn_superres --cfg ocvrs_has_module_dpm --cfg ocvrs_has_module_face --cfg ocvrs_has_module_features2d --cfg ocvrs_has_module_flann --cfg ocvrs_has_module_fuzzy --cfg ocvrs_has_module_hfs --cfg ocvrs_has_module_highgui --cfg ocvrs_has_module_img_hash --cfg ocvrs_has_module_imgcodecs --cfg ocvrs_has_module_imgproc --cfg ocvrs_has_module_intensity_transform --cfg ocvrs_has_module_line_descriptor --cfg ocvrs_has_module_mcc --cfg ocvrs_has_module_ml --cfg ocvrs_has_module_objdetect --cfg ocvrs_has_module_optflow --cfg ocvrs_has_module_phase_unwrapping --cfg ocvrs_has_module_photo --cfg ocvrs_has_module_plot --cfg ocvrs_has_module_quality --cfg ocvrs_has_module_rapid --cfg ocvrs_has_module_rgbd --cfg ocvrs_has_module_saliency --cfg ocvrs_has_module_shape --cfg ocvrs_has_module_stereo --cfg ocvrs_has_module_stitching --cfg ocvrs_has_module_structured_light --cfg ocvrs_has_module_superres --cfg ocvrs_has_module_surface_matching --cfg ocvrs_has_module_text --cfg ocvrs_has_module_tracking --cfg ocvrs_has_module_video --cfg ocvrs_has_module_videoio --cfg ocvrs_has_module_videostab --cfg ocvrs_has_module_wechat_qrcode --cfg ocvrs_has_module_xfeatures2d --cfg ocvrs_has_module_ximgproc --cfg ocvrs_has_module_xobjdetect --cfg ocvrs_has_module_xphoto` (exit status: 1)
AlexanderProd commented 1 year ago

I'm also having problems cross compiling for windows on linux.

Operating system: Ubuntu 22.10 The way you installed OpenCV: package, official binary distribution, manual compilation, etc. manual compilation using the following flags

cmake -D CMAKE_BUILD_TYPE=RELEASE \
        -D CMAKE_INSTALL_PREFIX=/usr/local \
        -D INSTALL_PYTHON_EXAMPLES=ON \
        -D INSTALL_C_EXAMPLES=OFF \
        -D OPENCV_ENABLE_NONFREE=ON \
        -D OPENCV_GENERATE_PKGCONFIG=ON \
        -D WITH_CUDA=ON \
        -D WITH_CUDNN=ON \
        -D OPENCV_DNN_CUDA=ON \
        -D ENABLE_FAST_MATH=1 \
        -D CUDA_FAST_MATH=1 \
        -D CUDA_ARCH_BIN=8.6 \
        -D WITH_CUBLAS=1 \
        -D WITH_FFMPEG=1 \
        -D OPENCV_EXTRA_MODULES_PATH=/home/alexander/Developer/opencv_contrib/modules \
        -D HAVE_opencv_python3=ON \
        -D PYTHON_EXECUTABLE=~/.virtualenvs/opencv_cuda/bin/python \
        -D BUILD_EXAMPLES=ON ..

OpenCV version 4.7.0 rustc version (rustc --version) rustc 1.69.0 (84c898d65 2023-04-16) Attach the full output of the following command from your project directory:

RUST_BACKTRACE=full cargo build -vv --target x86_64-pc-windows-gnu log.txt

twistedfall commented 1 year ago

Looks like something not right with mingw install/setup, e.g. similar errors are reported here: https://stackoverflow.com/questions/14191566/c-mutex-in-namespace-std-does-not-name-a-type