Skip to content

Commit d4c3879b04dfdf8489ef2c87f7908b6a74d28782 break Cross-Compile using your Docker #689

@MnlPhlp

Description

@MnlPhlp

I made a version of your raspberry-pi cross compile docker image for aarch64 link

I noticed that some update broke the build with errors while running pkg_config.
I did a git bisect in the docker and the breaking commit is d4c3879.

Before that everything builds fine, after that I get the following error saying that opencv was not found:

error log Compiling opencv v0.94.1 (/opencv-rust) Running `CARGO=/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/opencv-rust CARGO_MANIFEST_PATH=/opencv-rust/Cargo.toml CARGO_PKG_AUTHORS='Pro :Mathieu Poumeyrol ' CARGO_PKG_DESCRIPTION='Rust bindings for OpenCV' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=opencv CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/twistedfall/opencv-rust' CARGO_PKG_RUST_VERSION=1.77.0 CARGO_PKG_VERSION=0.94.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=94 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_SBOM_PATH='' LD_LIBRARY_PATH='/opencv-rust/target/debug/deps:/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib' /root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2021 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=99 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="3d"' --cfg 'feature="alphamat"' --cfg 'feature="aruco"' --cfg 'feature="aruco_detector"' --cfg 'feature="barcode"' --cfg 'feature="bgsegm"' --cfg 'feature="bioinspired"' --cfg 'feature="calib"' --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="cudalegacy"' --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="features"' --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="signal"' --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"' --cfg 'feature="xstereo"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("3d", "alphamat", "aruco", "aruco_detector", "barcode", "bgsegm", "bioinspired", "calib", "calib3d", "ccalib", "clang-runtime", "cudaarithm", "cudabgsegm", "cudacodec", "cudafeatures2d", "cudafilters", "cudaimgproc", "cudalegacy", "cudaobjdetect", "cudaoptflow", "cudastereo", "cudawarping", "cvv", "default", "dnn", "dnn_superres", "dpm", "f16", "face", "features", "features2d", "flann", "freetype", "fuzzy", "gapi", "hdf", "hfs", "highgui", "img_hash", "imgcodecs", "imgproc", "intensity_transform", "line_descriptor", "mcc", "ml", "objdetect", "optflow", "ovis", "phase_unwrapping", "photo", "plot", "quality", "rapid", "rgb", "rgbd", "saliency", "sfm", "shape", "signal", "stereo", "stitching", "structured_light", "superres", "surface_matching", "text", "tracking", "video", "videoio", "videostab", "viz", "wechat_qrcode", "xfeatures2d", "ximgproc", "xobjdetect", "xphoto", "xstereo"))' -C metadata=5ed520d33ebc2410 -C extra-filename=-98a45f3bca381cd7 --out-dir /opencv-rust/target/debug/build/opencv-98a45f3bca381cd7 -C incremental=/opencv-rust/target/debug/incremental -L dependency=/opencv-rust/target/debug/deps --extern cc=/opencv-rust/target/debug/deps/libcc-7941142b4172b67c.rlib --extern dunce=/opencv-rust/target/debug/deps/libdunce-bf482106888bedba.rlib --extern jobserver=/opencv-rust/target/debug/deps/libjobserver-908b17b07ba9ae36.rlib --extern once_cell=/opencv-rust/target/debug/deps/libonce_cell-cb750dec258583fe.rlib --extern opencv_binding_generator=/opencv-rust/target/debug/deps/libopencv_binding_generator-d4f4ba8b7a84510b.rlib --extern pkg_config=/opencv-rust/target/debug/deps/libpkg_config-be95a20dd85be7d4.rlib --extern semver=/opencv-rust/target/debug/deps/libsemver-d0221abc4c42cc78.rlib --extern shlex=/opencv-rust/target/debug/deps/libshlex-0c449fab60129fd9.rlib --extern vcpkg=/opencv-rust/target/debug/deps/libvcpkg-08fb5d42a822a533.rlib -L /usr/lib/llvm-14/lib` Running `CARGO=/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo CARGO_CFG_FEATURE=3d,alphamat,aruco,aruco_detector,barcode,bgsegm,bioinspired,calib,calib3d,ccalib,cudaarithm,cudabgsegm,cudacodec,cudafeatures2d,cudafilters,cudaimgproc,cudalegacy,cudaobjdetect,cudaoptflow,cudastereo,cudawarping,cvv,default,dnn,dnn_superres,dpm,face,features,features2d,flann,freetype,fuzzy,gapi,hdf,hfs,highgui,img_hash,imgcodecs,imgproc,intensity_transform,line_descriptor,mcc,ml,objdetect,optflow,ovis,phase_unwrapping,photo,plot,quality,rapid,rgbd,saliency,sfm,shape,signal,stereo,stitching,structured_light,superres,surface_matching,text,tracking,video,videoio,videostab,viz,wechat_qrcode,xfeatures2d,ximgproc,xobjdetect,xphoto,xstereo CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ABI='' CARGO_CFG_TARGET_ARCH=aarch64 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV=gnu CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_FEATURE=neon CARGO_CFG_TARGET_HAS_ATOMIC=128,16,32,64,8,ptr CARGO_CFG_TARGET_OS=linux CARGO_CFG_TARGET_POINTER_WIDTH=64 CARGO_CFG_TARGET_VENDOR=unknown CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='' CARGO_FEATURE_3D=1 CARGO_FEATURE_ALPHAMAT=1 CARGO_FEATURE_ARUCO=1 CARGO_FEATURE_ARUCO_DETECTOR=1 CARGO_FEATURE_BARCODE=1 CARGO_FEATURE_BGSEGM=1 CARGO_FEATURE_BIOINSPIRED=1 CARGO_FEATURE_CALIB=1 CARGO_FEATURE_CALIB3D=1 CARGO_FEATURE_CCALIB=1 CARGO_FEATURE_CUDAARITHM=1 CARGO_FEATURE_CUDABGSEGM=1 CARGO_FEATURE_CUDACODEC=1 CARGO_FEATURE_CUDAFEATURES2D=1 CARGO_FEATURE_CUDAFILTERS=1 CARGO_FEATURE_CUDAIMGPROC=1 CARGO_FEATURE_CUDALEGACY=1 CARGO_FEATURE_CUDAOBJDETECT=1 CARGO_FEATURE_CUDAOPTFLOW=1 CARGO_FEATURE_CUDASTEREO=1 CARGO_FEATURE_CUDAWARPING=1 CARGO_FEATURE_CVV=1 CARGO_FEATURE_DEFAULT=1 CARGO_FEATURE_DNN=1 CARGO_FEATURE_DNN_SUPERRES=1 CARGO_FEATURE_DPM=1 CARGO_FEATURE_FACE=1 CARGO_FEATURE_FEATURES=1 CARGO_FEATURE_FEATURES2D=1 CARGO_FEATURE_FLANN=1 CARGO_FEATURE_FREETYPE=1 CARGO_FEATURE_FUZZY=1 CARGO_FEATURE_GAPI=1 CARGO_FEATURE_HDF=1 CARGO_FEATURE_HFS=1 CARGO_FEATURE_HIGHGUI=1 CARGO_FEATURE_IMGCODECS=1 CARGO_FEATURE_IMGPROC=1 CARGO_FEATURE_IMG_HASH=1 CARGO_FEATURE_INTENSITY_TRANSFORM=1 CARGO_FEATURE_LINE_DESCRIPTOR=1 CARGO_FEATURE_MCC=1 CARGO_FEATURE_ML=1 CARGO_FEATURE_OBJDETECT=1 CARGO_FEATURE_OPTFLOW=1 CARGO_FEATURE_OVIS=1 CARGO_FEATURE_PHASE_UNWRAPPING=1 CARGO_FEATURE_PHOTO=1 CARGO_FEATURE_PLOT=1 CARGO_FEATURE_QUALITY=1 CARGO_FEATURE_RAPID=1 CARGO_FEATURE_RGBD=1 CARGO_FEATURE_SALIENCY=1 CARGO_FEATURE_SFM=1 CARGO_FEATURE_SHAPE=1 CARGO_FEATURE_SIGNAL=1 CARGO_FEATURE_STEREO=1 CARGO_FEATURE_STITCHING=1 CARGO_FEATURE_STRUCTURED_LIGHT=1 CARGO_FEATURE_SUPERRES=1 CARGO_FEATURE_SURFACE_MATCHING=1 CARGO_FEATURE_TEXT=1 CARGO_FEATURE_TRACKING=1 CARGO_FEATURE_VIDEO=1 CARGO_FEATURE_VIDEOIO=1 CARGO_FEATURE_VIDEOSTAB=1 CARGO_FEATURE_VIZ=1 CARGO_FEATURE_WECHAT_QRCODE=1 CARGO_FEATURE_XFEATURES2D=1 CARGO_FEATURE_XIMGPROC=1 CARGO_FEATURE_XOBJDETECT=1 CARGO_FEATURE_XPHOTO=1 CARGO_FEATURE_XSTEREO=1 CARGO_MANIFEST_DIR=/opencv-rust CARGO_MANIFEST_PATH=/opencv-rust/Cargo.toml CARGO_PKG_AUTHORS='Pro :Mathieu Poumeyrol ' CARGO_PKG_DESCRIPTION='Rust bindings for OpenCV' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=opencv CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/twistedfall/opencv-rust' CARGO_PKG_RUST_VERSION=1.77.0 CARGO_PKG_VERSION=0.94.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=94 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' DEBUG=true HOST=x86_64-unknown-linux-gnu LD_LIBRARY_PATH='/opencv-rust/target/debug/deps:/opencv-rust/target/debug:/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib:/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib' NUM_JOBS=16 OPT_LEVEL=0 OUT_DIR=/opencv-rust/target/aarch64-unknown-linux-gnu/debug/build/opencv-ad8d6a4877f3dabf/out PROFILE=debug RUSTC=/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc RUSTC_LINKER=clang-rpi RUSTDOC=/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustdoc TARGET=aarch64-unknown-linux-gnu /opencv-rust/target/debug/build/opencv-98a45f3bca381cd7/build-script-build` [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_opencv_branch_34) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_opencv_branch_4) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_opencv_branch_5) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_3d) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_alphamat) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_aruco) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_aruco_detector) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_barcode) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_bgsegm) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_bioinspired) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_calib) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_calib3d) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_ccalib) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_core) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudaarithm) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudabgsegm) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudacodec) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudafeatures2d) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudafilters) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudaimgproc) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudalegacy) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudaobjdetect) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudaoptflow) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudastereo) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudawarping) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cvv) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_dnn) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_dnn_superres) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_dpm) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_face) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_features) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_features2d) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_flann) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_freetype) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_fuzzy) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_gapi) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_hdf) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_hfs) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_highgui) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_img_hash) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_imgcodecs) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_imgproc) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_intensity_transform) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_line_descriptor) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_mcc) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_ml) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_objdetect) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_optflow) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_ovis) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_phase_unwrapping) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_photo) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_plot) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_quality) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_rapid) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_rgbd) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_saliency) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_sfm) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_shape) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_signal) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_stereo) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_stitching) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_structured_light) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_superres) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_surface_matching) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_text) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_tracking) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_video) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_videoio) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_videostab) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_viz) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_wechat_qrcode) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_xfeatures2d) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_ximgproc) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_xobjdetect) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_xphoto) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_module_xstereo) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_inherent_feature_hfloat) [opencv 0.94.1] cargo::rustc-check-cfg=cfg(ocvrs_has_inherent_feature_opencl) [opencv 0.94.1] === Crate version: 0.94.1 [opencv 0.94.1] === Environment configuration: [opencv 0.94.1] === OPENCV_PACKAGE_NAME = None [opencv 0.94.1] === OPENCV_PKGCONFIG_NAME = None [opencv 0.94.1] === OPENCV_CMAKE_NAME = None [opencv 0.94.1] === OPENCV_CMAKE_BIN = None [opencv 0.94.1] === OPENCV_VCPKG_NAME = None [opencv 0.94.1] === OPENCV_LINK_LIBS = None [opencv 0.94.1] === OPENCV_LINK_PATHS = None [opencv 0.94.1] === OPENCV_INCLUDE_PATHS = None [opencv 0.94.1] === OPENCV_DISABLE_PROBES = None [opencv 0.94.1] === OPENCV_MSVC_CRT = None [opencv 0.94.1] === CMAKE_PREFIX_PATH = None [opencv 0.94.1] === OpenCV_DIR = None [opencv 0.94.1] === PKG_CONFIG_PATH = None [opencv 0.94.1] === VCPKG_ROOT = None [opencv 0.94.1] === VCPKGRS_DYNAMIC = None [opencv 0.94.1] === VCPKGRS_TRIPLET = None [opencv 0.94.1] === OCVRS_DOCS_GENERATE_DIR = None [opencv 0.94.1] === DOCS_RS = None [opencv 0.94.1] === PATH = Some("/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.cargo/bin") [opencv 0.94.1] === Enabled features: [opencv 0.94.1] === 3D [opencv 0.94.1] === ALPHAMAT [opencv 0.94.1] === ARUCO [opencv 0.94.1] === ARUCO_DETECTOR [opencv 0.94.1] === BARCODE [opencv 0.94.1] === BGSEGM [opencv 0.94.1] === BIOINSPIRED [opencv 0.94.1] === CALIB [opencv 0.94.1] === CALIB3D [opencv 0.94.1] === CCALIB [opencv 0.94.1] === CUDAARITHM [opencv 0.94.1] === CUDABGSEGM [opencv 0.94.1] === CUDACODEC [opencv 0.94.1] === CUDAFEATURES2D [opencv 0.94.1] === CUDAFILTERS [opencv 0.94.1] === CUDAIMGPROC [opencv 0.94.1] === CUDALEGACY [opencv 0.94.1] === CUDAOBJDETECT [opencv 0.94.1] === CUDAOPTFLOW [opencv 0.94.1] === CUDASTEREO [opencv 0.94.1] === CUDAWARPING [opencv 0.94.1] === CVV [opencv 0.94.1] === DEFAULT [opencv 0.94.1] === DNN [opencv 0.94.1] === DNN_SUPERRES [opencv 0.94.1] === DPM [opencv 0.94.1] === FACE [opencv 0.94.1] === FEATURES [opencv 0.94.1] === FEATURES2D [opencv 0.94.1] === FLANN [opencv 0.94.1] === FREETYPE [opencv 0.94.1] === FUZZY [opencv 0.94.1] === GAPI [opencv 0.94.1] === HDF [opencv 0.94.1] === HFS [opencv 0.94.1] === HIGHGUI [opencv 0.94.1] === IMGCODECS [opencv 0.94.1] === IMGPROC [opencv 0.94.1] === IMG_HASH [opencv 0.94.1] === INTENSITY_TRANSFORM [opencv 0.94.1] === LINE_DESCRIPTOR [opencv 0.94.1] === MCC [opencv 0.94.1] === ML [opencv 0.94.1] === OBJDETECT [opencv 0.94.1] === OPTFLOW [opencv 0.94.1] === OVIS [opencv 0.94.1] === PHASE_UNWRAPPING [opencv 0.94.1] === PHOTO [opencv 0.94.1] === PLOT [opencv 0.94.1] === QUALITY [opencv 0.94.1] === RAPID [opencv 0.94.1] === RGBD [opencv 0.94.1] === SALIENCY [opencv 0.94.1] === SFM [opencv 0.94.1] === SHAPE [opencv 0.94.1] === SIGNAL [opencv 0.94.1] === STEREO [opencv 0.94.1] === STITCHING [opencv 0.94.1] === STRUCTURED_LIGHT [opencv 0.94.1] === SUPERRES [opencv 0.94.1] === SURFACE_MATCHING [opencv 0.94.1] === TEXT [opencv 0.94.1] === TRACKING [opencv 0.94.1] === VIDEO [opencv 0.94.1] === VIDEOIO [opencv 0.94.1] === VIDEOSTAB [opencv 0.94.1] === VIZ [opencv 0.94.1] === WECHAT_QRCODE [opencv 0.94.1] === XFEATURES2D [opencv 0.94.1] === XIMGPROC [opencv 0.94.1] === XOBJDETECT [opencv 0.94.1] === XPHOTO [opencv 0.94.1] === XSTEREO [opencv 0.94.1] === Detected probe priority boost based on environment vars: pkg_config: false, cmake: false, vcpkg: false [opencv 0.94.1] === Probing the OpenCV library in the following order: environment, pkg_config, cmake, vcpkg_cmake, vcpkg [opencv 0.94.1] === Can't probe using: environment, continuing with other methods because: Some environment variables are missing [opencv 0.94.1] === Probing OpenCV library using pkg_config [opencv 0.94.1] cargo:rerun-if-env-changed=OPENCV4_NO_PKG_CONFIG [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_aarch64-unknown-linux-gnu [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_aarch64_unknown_linux_gnu [opencv 0.94.1] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-unknown-linux-gnu [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_unknown_linux_gnu [opencv 0.94.1] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu [opencv 0.94.1] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-unknown-linux-gnu [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_unknown_linux_gnu [opencv 0.94.1] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG [opencv 0.94.1] cargo:rerun-if-env-changed=OPENCV4_STATIC [opencv 0.94.1] cargo:rerun-if-env-changed=OPENCV4_DYNAMIC [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-unknown-linux-gnu [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_unknown_linux_gnu [opencv 0.94.1] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_PATH [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_PATH [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-unknown-linux-gnu [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_unknown_linux_gnu [opencv 0.94.1] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_LIBDIR [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu [opencv 0.94.1] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [opencv 0.94.1] cargo:rerun-if-env-changed=OPENCV4_STATIC [opencv 0.94.1] cargo:rerun-if-env-changed=OPENCV4_DYNAMIC [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-unknown-linux-gnu [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_unknown_linux_gnu [opencv 0.94.1] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG [opencv 0.94.1] cargo:rerun-if-env-changed=OPENCV4_STATIC [opencv 0.94.1] cargo:rerun-if-env-changed=OPENCV4_DYNAMIC [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-unknown-linux-gnu [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_unknown_linux_gnu [opencv 0.94.1] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_PATH [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_PATH [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-unknown-linux-gnu [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_unknown_linux_gnu [opencv 0.94.1] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_LIBDIR [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu [opencv 0.94.1] cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR [opencv 0.94.1] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [opencv 0.94.1] === Trying multiarch paths: ["aarch64-linux-gnu"] [opencv 0.94.1] === Can't probe using: pkg_config, continuing with other methods because: Could not get OpenCV config from include_paths [opencv 0.94.1] === Probing OpenCV library using cmake [opencv 0.94.1] === cmake ninja probe command: cd "/opencv-rust/target/aarch64-unknown-linux-gnu/debug/build/opencv-ad8d6a4877f3dabf/out/cmake_probe_build" && "cmake" "-S" "/opencv-rust/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Ninja" [opencv 0.94.1] === Probing with cmake ninja generator failed, will try Makefile generator, error: cmake returned an error [opencv 0.94.1] stdout: "-- Configuring incomplete, errors occurred!\nSee also \"/opencv-rust/target/aarch64-unknown-linux-gnu/debug/build/opencv-ad8d6a4877f3dabf/out/cmake_probe_build/CMakeFiles/CMakeOutput.log\".\n" [opencv 0.94.1] stderr: "CMake Error: CMake was unable to find a build program corresponding to \"Ninja\". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.\nCMake Error: CMAKE_C_COMPILER not set, after EnableLanguage\nCMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage\n" [opencv 0.94.1] === cmake makefiles probe command: cd "/opencv-rust/target/aarch64-unknown-linux-gnu/debug/build/opencv-ad8d6a4877f3dabf/out/cmake_probe_build" && "cmake" "-S" "/opencv-rust/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Unix Makefiles" [opencv 0.94.1] === Probing with cmake Makefile generator failed, will try deprecated find_package, error: cmake returned an error [opencv 0.94.1] stdout: "-- The C compiler identification is Clang 14.0.0\n-- The CXX compiler identification is Clang 14.0.0\n-- Detecting C compiler ABI info\n-- Detecting C compiler ABI info - done\n-- Check for working C compiler: /usr/local/bin/clang-rpi - skipped\n-- Detecting C compile features\n-- Detecting C compile features - done\n-- Detecting CXX compiler ABI info\n-- Detecting CXX compiler ABI info - done\n-- Check for working CXX compiler: /usr/local/bin/clang-rpi - skipped\n-- Detecting CXX compile features\n-- Detecting CXX compile features - done\n-- Configuring incomplete, errors occurred!\nSee also \"/opencv-rust/target/aarch64-unknown-linux-gnu/debug/build/opencv-ad8d6a4877f3dabf/out/cmake_probe_build/CMakeFiles/CMakeOutput.log\".\n" [opencv 0.94.1] stderr: "CMake Error at CMakeLists.txt:5 (find_package):\n By not providing \"FindOpenCV.cmake\" in CMAKE_MODULE_PATH this project has\n asked CMake to find a package configuration file provided by \"OpenCV\", but\n CMake did not find one.\n\n Could not find a package configuration file provided by \"OpenCV\" with any\n of the following names:\n\n OpenCVConfig.cmake\n opencv-config.cmake\n\n Add the installation prefix of \"OpenCV\" to CMAKE_PREFIX_PATH or set\n \"OpenCV_DIR\" to a directory containing one of the above files. If \"OpenCV\"\n provides a separate development package or SDK, be sure it has been\n installed.\n\n\n" [opencv 0.94.1] === cmake find-package compile probe command: cd "/opencv-rust/target/aarch64-unknown-linux-gnu/debug/build/opencv-ad8d6a4877f3dabf/out/cmake_probe_build" && "cmake" "-S" "/opencv-rust/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_BUILD_TYPE=Debug" "--find-package" "-DCOMPILER_ID=GNU" "-DLANGUAGE=CXX" "-DMODE=COMPILE" "-DNAME=OpenCV" [opencv 0.94.1] === Can't probe using: cmake, continuing with other methods because: cmake returned an error [opencv 0.94.1] stdout: "OpenCV not found.\n" [opencv 0.94.1] stderr: "CMake Error: Run 'cmake --help' for all supported options.\n" [opencv 0.94.1] === Probing OpenCV library using vcpkg_cmake [opencv 0.94.1] === Can't probe using: vcpkg_cmake, continuing with other methods because: Could not find Vcpkg tree: No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install' [opencv 0.94.1] === Probing OpenCV library using vcpkg [opencv 0.94.1] === Can't probe using: vcpkg, continuing with other methods because: the vcpkg-rs Vcpkg build helper can only find libraries built for the MSVC ABI., the vcpkg-rs Vcpkg build helper can only find libraries built for the MSVC ABI. [opencv 0.94.1] Error: "Failed to find installed OpenCV package using probes: environment, pkg_config, cmake, vcpkg_cmake, vcpkg, refer to https://github.com/twistedfall/opencv-rust#getting-opencv for help" error: failed to run custom build command for `opencv v0.94.1 (/opencv-rust)`

Caused by:
process didn't exit successfully: CARGO=/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo CARGO_CFG_FEATURE=3d,alphamat,aruco,aruco_detector,barcode,bgsegm,bioinspired,calib,calib3d,ccalib,cudaarithm,cudabgsegm,cudacodec,cudafeatures2d,cudafilters,cudaimgproc,cudalegacy,cudaobjdetect,cudaoptflow,cudastereo,cudawarping,cvv,default,dnn,dnn_superres,dpm,face,features,features2d,flann,freetype,fuzzy,gapi,hdf,hfs,highgui,img_hash,imgcodecs,imgproc,intensity_transform,line_descriptor,mcc,ml,objdetect,optflow,ovis,phase_unwrapping,photo,plot,quality,rapid,rgbd,saliency,sfm,shape,signal,stereo,stitching,structured_light,superres,surface_matching,text,tracking,video,videoio,videostab,viz,wechat_qrcode,xfeatures2d,ximgproc,xobjdetect,xphoto,xstereo CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ABI='' CARGO_CFG_TARGET_ARCH=aarch64 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV=gnu CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_FEATURE=neon CARGO_CFG_TARGET_HAS_ATOMIC=128,16,32,64,8,ptr CARGO_CFG_TARGET_OS=linux CARGO_CFG_TARGET_POINTER_WIDTH=64 CARGO_CFG_TARGET_VENDOR=unknown CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='' CARGO_FEATURE_3D=1 CARGO_FEATURE_ALPHAMAT=1 CARGO_FEATURE_ARUCO=1 CARGO_FEATURE_ARUCO_DETECTOR=1 CARGO_FEATURE_BARCODE=1 CARGO_FEATURE_BGSEGM=1 CARGO_FEATURE_BIOINSPIRED=1 CARGO_FEATURE_CALIB=1 CARGO_FEATURE_CALIB3D=1 CARGO_FEATURE_CCALIB=1 CARGO_FEATURE_CUDAARITHM=1 CARGO_FEATURE_CUDABGSEGM=1 CARGO_FEATURE_CUDACODEC=1 CARGO_FEATURE_CUDAFEATURES2D=1 CARGO_FEATURE_CUDAFILTERS=1 CARGO_FEATURE_CUDAIMGPROC=1 CARGO_FEATURE_CUDALEGACY=1 CARGO_FEATURE_CUDAOBJDETECT=1 CARGO_FEATURE_CUDAOPTFLOW=1 CARGO_FEATURE_CUDASTEREO=1 CARGO_FEATURE_CUDAWARPING=1 CARGO_FEATURE_CVV=1 CARGO_FEATURE_DEFAULT=1 CARGO_FEATURE_DNN=1 CARGO_FEATURE_DNN_SUPERRES=1 CARGO_FEATURE_DPM=1 CARGO_FEATURE_FACE=1 CARGO_FEATURE_FEATURES=1 CARGO_FEATURE_FEATURES2D=1 CARGO_FEATURE_FLANN=1 CARGO_FEATURE_FREETYPE=1 CARGO_FEATURE_FUZZY=1 CARGO_FEATURE_GAPI=1 CARGO_FEATURE_HDF=1 CARGO_FEATURE_HFS=1 CARGO_FEATURE_HIGHGUI=1 CARGO_FEATURE_IMGCODECS=1 CARGO_FEATURE_IMGPROC=1 CARGO_FEATURE_IMG_HASH=1 CARGO_FEATURE_INTENSITY_TRANSFORM=1 CARGO_FEATURE_LINE_DESCRIPTOR=1 CARGO_FEATURE_MCC=1 CARGO_FEATURE_ML=1 CARGO_FEATURE_OBJDETECT=1 CARGO_FEATURE_OPTFLOW=1 CARGO_FEATURE_OVIS=1 CARGO_FEATURE_PHASE_UNWRAPPING=1 CARGO_FEATURE_PHOTO=1 CARGO_FEATURE_PLOT=1 CARGO_FEATURE_QUALITY=1 CARGO_FEATURE_RAPID=1 CARGO_FEATURE_RGBD=1 CARGO_FEATURE_SALIENCY=1 CARGO_FEATURE_SFM=1 CARGO_FEATURE_SHAPE=1 CARGO_FEATURE_SIGNAL=1 CARGO_FEATURE_STEREO=1 CARGO_FEATURE_STITCHING=1 CARGO_FEATURE_STRUCTURED_LIGHT=1 CARGO_FEATURE_SUPERRES=1 CARGO_FEATURE_SURFACE_MATCHING=1 CARGO_FEATURE_TEXT=1 CARGO_FEATURE_TRACKING=1 CARGO_FEATURE_VIDEO=1 CARGO_FEATURE_VIDEOIO=1 CARGO_FEATURE_VIDEOSTAB=1 CARGO_FEATURE_VIZ=1 CARGO_FEATURE_WECHAT_QRCODE=1 CARGO_FEATURE_XFEATURES2D=1 CARGO_FEATURE_XIMGPROC=1 CARGO_FEATURE_XOBJDETECT=1 CARGO_FEATURE_XPHOTO=1 CARGO_FEATURE_XSTEREO=1 CARGO_MANIFEST_DIR=/opencv-rust CARGO_MANIFEST_PATH=/opencv-rust/Cargo.toml CARGO_PKG_AUTHORS='Pro <[email protected]>:Mathieu Poumeyrol <[email protected]>' CARGO_PKG_DESCRIPTION='Rust bindings for OpenCV' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=opencv CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/twistedfall/opencv-rust' CARGO_PKG_RUST_VERSION=1.77.0 CARGO_PKG_VERSION=0.94.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=94 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' DEBUG=true HOST=x86_64-unknown-linux-gnu LD_LIBRARY_PATH='/opencv-rust/target/debug/deps:/opencv-rust/target/debug:/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib:/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib' NUM_JOBS=16 OPT_LEVEL=0 OUT_DIR=/opencv-rust/target/aarch64-unknown-linux-gnu/debug/build/opencv-ad8d6a4877f3dabf/out PROFILE=debug RUSTC=/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc RUSTC_LINKER=clang-rpi RUSTDOC=/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustdoc TARGET=aarch64-unknown-linux-gnu /opencv-rust/target/debug/build/opencv-98a45f3bca381cd7/build-script-build (exit status: 1)
--- stdout
cargo::rustc-check-cfg=cfg(ocvrs_opencv_branch_34)
cargo::rustc-check-cfg=cfg(ocvrs_opencv_branch_4)
cargo::rustc-check-cfg=cfg(ocvrs_opencv_branch_5)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_3d)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_alphamat)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_aruco)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_aruco_detector)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_barcode)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_bgsegm)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_bioinspired)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_calib)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_calib3d)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_ccalib)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_core)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudaarithm)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudabgsegm)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudacodec)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudafeatures2d)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudafilters)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudaimgproc)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudalegacy)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudaobjdetect)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudaoptflow)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudastereo)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudawarping)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_cvv)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_dnn)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_dnn_superres)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_dpm)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_face)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_features)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_features2d)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_flann)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_freetype)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_fuzzy)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_gapi)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_hdf)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_hfs)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_highgui)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_img_hash)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_imgcodecs)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_imgproc)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_intensity_transform)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_line_descriptor)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_mcc)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_ml)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_objdetect)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_optflow)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_ovis)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_phase_unwrapping)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_photo)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_plot)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_quality)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_rapid)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_rgbd)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_saliency)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_sfm)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_shape)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_signal)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_stereo)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_stitching)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_structured_light)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_superres)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_surface_matching)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_text)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_tracking)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_video)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_videoio)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_videostab)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_viz)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_wechat_qrcode)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_xfeatures2d)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_ximgproc)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_xobjdetect)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_xphoto)
cargo::rustc-check-cfg=cfg(ocvrs_has_module_xstereo)
cargo::rustc-check-cfg=cfg(ocvrs_has_inherent_feature_hfloat)
cargo::rustc-check-cfg=cfg(ocvrs_has_inherent_feature_opencl)
cargo:rerun-if-env-changed=OPENCV4_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=OPENCV4_STATIC
cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=OPENCV4_STATIC
cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=OPENCV4_STATIC
cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

--- stderr
=== Crate version: 0.94.1
=== Environment configuration:
=== OPENCV_PACKAGE_NAME = None
=== OPENCV_PKGCONFIG_NAME = None
=== OPENCV_CMAKE_NAME = None
=== OPENCV_CMAKE_BIN = None
=== OPENCV_VCPKG_NAME = None
=== OPENCV_LINK_LIBS = None
=== OPENCV_LINK_PATHS = None
=== OPENCV_INCLUDE_PATHS = None
=== OPENCV_DISABLE_PROBES = None
=== OPENCV_MSVC_CRT = None
=== CMAKE_PREFIX_PATH = None
=== OpenCV_DIR = None
=== PKG_CONFIG_PATH = None
=== VCPKG_ROOT = None
=== VCPKGRS_DYNAMIC = None
=== VCPKGRS_TRIPLET = None
=== OCVRS_DOCS_GENERATE_DIR = None
=== DOCS_RS = None
=== PATH = Some("/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.cargo/bin")
=== Enabled features:
=== 3D
=== ALPHAMAT
=== ARUCO
=== ARUCO_DETECTOR
=== BARCODE
=== BGSEGM
=== BIOINSPIRED
=== CALIB
=== CALIB3D
=== CCALIB
=== CUDAARITHM
=== CUDABGSEGM
=== CUDACODEC
=== CUDAFEATURES2D
=== CUDAFILTERS
=== CUDAIMGPROC
=== CUDALEGACY
=== CUDAOBJDETECT
=== CUDAOPTFLOW
=== CUDASTEREO
=== CUDAWARPING
=== CVV
=== DEFAULT
=== DNN
=== DNN_SUPERRES
=== DPM
=== FACE
=== FEATURES
=== FEATURES2D
=== FLANN
=== FREETYPE
=== FUZZY
=== GAPI
=== HDF
=== HFS
=== HIGHGUI
=== IMGCODECS
=== IMGPROC
=== IMG_HASH
=== INTENSITY_TRANSFORM
=== LINE_DESCRIPTOR
=== MCC
=== ML
=== OBJDETECT
=== OPTFLOW
=== OVIS
=== PHASE_UNWRAPPING
=== PHOTO
=== PLOT
=== QUALITY
=== RAPID
=== RGBD
=== SALIENCY
=== SFM
=== SHAPE
=== SIGNAL
=== STEREO
=== STITCHING
=== STRUCTURED_LIGHT
=== SUPERRES
=== SURFACE_MATCHING
=== TEXT
=== TRACKING
=== VIDEO
=== VIDEOIO
=== VIDEOSTAB
=== VIZ
=== WECHAT_QRCODE
=== XFEATURES2D
=== XIMGPROC
=== XOBJDETECT
=== XPHOTO
=== XSTEREO
=== Detected probe priority boost based on environment vars: pkg_config: false, cmake: false, vcpkg: false
=== Probing the OpenCV library in the following order: environment, pkg_config, cmake, vcpkg_cmake, vcpkg
=== Can't probe using: environment, continuing with other methods because: Some environment variables are missing
=== Probing OpenCV library using pkg_config
=== Trying multiarch paths: ["aarch64-linux-gnu"]
=== Can't probe using: pkg_config, continuing with other methods because: Could not get OpenCV config from include_paths
=== Probing OpenCV library using cmake
=== cmake ninja probe command: cd "/opencv-rust/target/aarch64-unknown-linux-gnu/debug/build/opencv-ad8d6a4877f3dabf/out/cmake_probe_build" && "cmake" "-S" "/opencv-rust/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Ninja"
=== Probing with cmake ninja generator failed, will try Makefile generator, error: cmake returned an error
stdout: "-- Configuring incomplete, errors occurred!\nSee also "/opencv-rust/target/aarch64-unknown-linux-gnu/debug/build/opencv-ad8d6a4877f3dabf/out/cmake_probe_build/CMakeFiles/CMakeOutput.log".\n"
stderr: "CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.\nCMake Error: CMAKE_C_COMPILER not set, after EnableLanguage\nCMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage\n"
=== cmake makefiles probe command: cd "/opencv-rust/target/aarch64-unknown-linux-gnu/debug/build/opencv-ad8d6a4877f3dabf/out/cmake_probe_build" && "cmake" "-S" "/opencv-rust/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Unix Makefiles"
=== Probing with cmake Makefile generator failed, will try deprecated find_package, error: cmake returned an error
stdout: "-- The C compiler identification is Clang 14.0.0\n-- The CXX compiler identification is Clang 14.0.0\n-- Detecting C compiler ABI info\n-- Detecting C compiler ABI info - done\n-- Check for working C compiler: /usr/local/bin/clang-rpi - skipped\n-- Detecting C compile features\n-- Detecting C compile features - done\n-- Detecting CXX compiler ABI info\n-- Detecting CXX compiler ABI info - done\n-- Check for working CXX compiler: /usr/local/bin/clang-rpi - skipped\n-- Detecting CXX compile features\n-- Detecting CXX compile features - done\n-- Configuring incomplete, errors occurred!\nSee also "/opencv-rust/target/aarch64-unknown-linux-gnu/debug/build/opencv-ad8d6a4877f3dabf/out/cmake_probe_build/CMakeFiles/CMakeOutput.log".\n"
stderr: "CMake Error at CMakeLists.txt:5 (find_package):\n By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has\n asked CMake to find a package configuration file provided by "OpenCV", but\n CMake did not find one.\n\n Could not find a package configuration file provided by "OpenCV" with any\n of the following names:\n\n OpenCVConfig.cmake\n opencv-config.cmake\n\n Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set\n "OpenCV_DIR" to a directory containing one of the above files. If "OpenCV"\n provides a separate development package or SDK, be sure it has been\n installed.\n\n\n"
=== cmake find-package compile probe command: cd "/opencv-rust/target/aarch64-unknown-linux-gnu/debug/build/opencv-ad8d6a4877f3dabf/out/cmake_probe_build" && "cmake" "-S" "/opencv-rust/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_BUILD_TYPE=Debug" "--find-package" "-DCOMPILER_ID=GNU" "-DLANGUAGE=CXX" "-DMODE=COMPILE" "-DNAME=OpenCV"
=== Can't probe using: cmake, continuing with other methods because: cmake returned an error
stdout: "OpenCV not found.\n"
stderr: "CMake Error: Run 'cmake --help' for all supported options.\n"
=== Probing OpenCV library using vcpkg_cmake
=== Can't probe using: vcpkg_cmake, continuing with other methods because: Could not find Vcpkg tree: No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install'
=== Probing OpenCV library using vcpkg
=== Can't probe using: vcpkg, continuing with other methods because: the vcpkg-rs Vcpkg build helper can only find libraries built for the MSVC ABI., the vcpkg-rs Vcpkg build helper can only find libraries built for the MSVC ABI.
Error: "Failed to find installed OpenCV package using probes: environment, pkg_config, cmake, vcpkg_cmake, vcpkg, refer to https://github.com/twistedfall/opencv-rust#getting-opencv for help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions