Skip to content

opencv with ffmpeg #666

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
zhangningboo opened this issue Apr 16, 2025 · 3 comments
Closed

opencv with ffmpeg #666

zhangningboo opened this issue Apr 16, 2025 · 3 comments

Comments

@zhangningboo
Copy link

  1. Ubuntu 20.04 x86
$ sudo apt install build-essential bison flex libgmp-dev libmpfr-dev libmpc-dev
$ sudo apt install build-essential autoconf libtool pkg-config
$ sudo apt install libclang-dev
$ git clone https://github.com/FFmpeg/FFmpeg.git
$ ./configure --help | grep 264
$ sudo apt install libx264-155 libx264-dev
$ sudo apt install libx265-179 libx265-dev
$ export FFMPEG_INSTALL_DIR=/home/ubuntu/ffmpeg_n7.1.1_x86
$ ./configure --enable-shared \
    --disable-x86asm \
    --enable-gpl \
    --enable-libx264 \
    --enable-libx265 \
    --prefix=${FFMPEG_INSTALL_DIR}
$ make -j6 && make install

# opencv
$ git clone https://github.com/opencv/opencv.git
$ sudo apt install libeigen3-dev
$ export OPENCV_VERSION=4.9.0
$ cd opencv && git checkout ${OPENCV_VERSION} && mkdir build && cd build
# FFmpeg
export LD_LIBRARY_PATH=${FFMPEG_INSTALL_DIR}/lib:${LD_LIBRARY_PATH}
export PKG_CONFIG_PATH=${FFMPEG_INSTALL_DIR}/lib/pkgconfig/:${PKG_CONFIG_PATHs}
export PKG_CONFIG_LIBDIR=${FFMPEG_INSTALL_DIR}/lib/:${PKG_CONFIG_LIBDIR}
$ cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=../../opencv_${OPENCV_VERSION}_x86_ffmpeg \
-D WITH_EIGEN=ON \
-D OPENCV_ENABLE_NONFREE=ON \
-D OPENCV_GENERATE_PKGCONFIG=ON \
-D WITH_LIBV4L=ON \
-D WITH_OPENGL=ON \
-D WITH_GSTREAMER=OFF \
-D WITH_TBB=OFF \
-D BUILD_TIFF=OFF \
-D CPACK_BINARY_DEB=OFF \
-D BUILD_EXAMPLES=OFF \
-D BUILD_opencv_python2=OFF \
-D BUILD_opencv_python3=OFF \
-D BUILD_opencv_java=OFF \
-D EIGEN_INCLUDE_PATH=/usr/include/eigen3 \
-D ENABLE_NEON=OFF \
-D OPENCV_DNN_CUDA=OFF \
-D WITH_CUBLAS=OFF \
-D WITH_CUDA=OFF \
-D WITH_CUDNN=OFF \
-D WITH_OPENCL=OFF \
-D WITH_IPP=OFF \
-D BUILD_PERF_TESTS=OFF \
-D BUILD_TESTS=OFF \
..
$ make -j6 && make install
  1. opencv 4.9.0, opencv-rust 0.9.4 / 0.9.2
  2. rustc 1.86.0 (05f9846f8 2025-03-31)
[aky_vlm_lab 0.1.0] CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
[aky_vlm_lab 0.1.0] CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
[aky_vlm_lab 0.1.0] HOST_CMAKE_TOOLCHAIN_FILE = None
[aky_vlm_lab 0.1.0] CMAKE_TOOLCHAIN_FILE = None
[aky_vlm_lab 0.1.0] CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
[aky_vlm_lab 0.1.0] CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None
[aky_vlm_lab 0.1.0] HOST_CMAKE_GENERATOR = None
[aky_vlm_lab 0.1.0] CMAKE_GENERATOR = None
[aky_vlm_lab 0.1.0] CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
[aky_vlm_lab 0.1.0] CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
[aky_vlm_lab 0.1.0] HOST_CMAKE_PREFIX_PATH = None
[aky_vlm_lab 0.1.0] CMAKE_PREFIX_PATH = None
[aky_vlm_lab 0.1.0] CMAKE_x86_64-unknown-linux-gnu = None
[aky_vlm_lab 0.1.0] CMAKE_x86_64_unknown_linux_gnu = None
[aky_vlm_lab 0.1.0] HOST_CMAKE = None
[aky_vlm_lab 0.1.0] CMAKE = None
[aky_vlm_lab 0.1.0] running: cd "/data/workspace/my_project/target/debug/build/aky_vlm_lab-008f448f9dfc4d41/out/build" && CMAKE_PREFIX_PATH="" LC_ALL="C" "cmake" "/data/workspace/my_project/aky_vlm_lab/src/cpp/my_cpp_lib" "-DCMAKE_INSTALL_PREFIX=/data/workspace/my_project/target/debug/build/aky_vlm_lab-008f448f9dfc4d41/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug"
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_opencv_branch_34)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_opencv_branch_4)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_opencv_branch_5)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_3d)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_alphamat)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_aruco)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_aruco_detector)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_barcode)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_bgsegm)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_bioinspired)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_calib)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_calib3d)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_ccalib)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_core)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudaarithm)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudabgsegm)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudacodec)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudafeatures2d)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudafilters)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudaimgproc)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudalegacy)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudaobjdetect)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudaoptflow)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudastereo)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cudawarping)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_cvv)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_dnn)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_dnn_superres)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_dpm)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_face)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_features)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_features2d)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_flann)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_freetype)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_fuzzy)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_gapi)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_hdf)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_hfs)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_highgui)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_img_hash)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_imgcodecs)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_imgproc)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_intensity_transform)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_line_descriptor)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_mcc)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_ml)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_objdetect)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_optflow)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_ovis)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_phase_unwrapping)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_photo)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_plot)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_quality)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_rapid)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_rgbd)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_saliency)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_sfm)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_shape)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_signal)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_stereo)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_stitching)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_structured_light)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_superres)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_surface_matching)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_text)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_tracking)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_video)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_videoio)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_videostab)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_viz)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_wechat_qrcode)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_xfeatures2d)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_ximgproc)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_xobjdetect)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_xphoto)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_module_xstereo)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_inherent_feature_hfloat)
[opencv 0.94.4] cargo::rustc-check-cfg=cfg(ocvrs_has_inherent_feature_opencl)
[opencv 0.94.4] cargo:rerun-if-env-changed=OPENCV4_NO_PKG_CONFIG
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
[opencv 0.94.4] cargo:rerun-if-env-changed=HOST_PKG_CONFIG
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG
[opencv 0.94.4] cargo:rerun-if-env-changed=OPENCV4_STATIC
[opencv 0.94.4] cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
[opencv 0.94.4] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
[opencv 0.94.4] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
[opencv 0.94.4] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[opencv 0.94.4] cargo:rerun-if-env-changed=SYSROOT
[opencv 0.94.4] cargo:rerun-if-env-changed=OPENCV4_STATIC
[opencv 0.94.4] cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
[opencv 0.94.4] cargo:rerun-if-env-changed=HOST_PKG_CONFIG
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG
[opencv 0.94.4] cargo:rerun-if-env-changed=OPENCV4_STATIC
[opencv 0.94.4] cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
[opencv 0.94.4] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
[opencv 0.94.4] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
[opencv 0.94.4] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
[opencv 0.94.4] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[aky_vlm_lab 0.1.0] -- Configuring done (0.0s)
[opencv 0.94.4] cargo::rustc-cfg=ocvrs_opencv_branch_4
[opencv 0.94.4] cargo::rustc-cfg=ocvrs_has_module_core
[opencv 0.94.4] cargo::rustc-cfg=ocvrs_has_module_imgcodecs
[opencv 0.94.4] cargo::rustc-cfg=ocvrs_has_module_imgproc
[opencv 0.94.4] cargo::rustc-cfg=ocvrs_has_module_video
[opencv 0.94.4] cargo::rustc-cfg=ocvrs_has_module_videoio
[opencv 0.94.4] cargo::rerun-if-env-changed=OPENCV_PACKAGE_NAME
[opencv 0.94.4] cargo::rerun-if-env-changed=OPENCV_PKGCONFIG_NAME
[opencv 0.94.4] cargo::rerun-if-env-changed=OPENCV_CMAKE_NAME
[opencv 0.94.4] cargo::rerun-if-env-changed=OPENCV_CMAKE_BIN
[opencv 0.94.4] cargo::rerun-if-env-changed=OPENCV_VCPKG_NAME
[opencv 0.94.4] cargo::rerun-if-env-changed=OPENCV_LINK_LIBS
[opencv 0.94.4] cargo::rerun-if-env-changed=OPENCV_LINK_PATHS
[opencv 0.94.4] cargo::rerun-if-env-changed=OPENCV_INCLUDE_PATHS
[opencv 0.94.4] cargo::rerun-if-env-changed=OPENCV_DISABLE_PROBES
[opencv 0.94.4] cargo::rerun-if-env-changed=OPENCV_MSVC_CRT
[opencv 0.94.4] cargo::rerun-if-env-changed=CMAKE_PREFIX_PATH
[opencv 0.94.4] cargo::rerun-if-env-changed=OpenCV_DIR
[opencv 0.94.4] cargo::rerun-if-env-changed=PKG_CONFIG_PATH
[opencv 0.94.4] cargo::rerun-if-env-changed=VCPKG_ROOT
[opencv 0.94.4] cargo::rerun-if-env-changed=VCPKGRS_DYNAMIC
[opencv 0.94.4] cargo::rerun-if-env-changed=VCPKGRS_TRIPLET
[opencv 0.94.4] cargo::rerun-if-env-changed=OCVRS_DOCS_GENERATE_DIR
[opencv 0.94.4] cargo::rerun-if-env-changed=DOCS_RS
[opencv 0.94.4] cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/ocvrs_common.hpp
[opencv 0.94.4] cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/hdf.hpp
[opencv 0.94.4] cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/core.hpp
[opencv 0.94.4] cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/ccalib.hpp
[opencv 0.94.4] cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/alphamat.hpp
[opencv 0.94.4] cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/videoio.hpp
[opencv 0.94.4] cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/sfm.hpp
[opencv 0.94.4] cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/manual-core.cpp
[opencv 0.94.4] cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/gapi.hpp
[opencv 0.94.4] cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/xfeatures2d.hpp
[opencv 0.94.4] cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/aruco.hpp
[opencv 0.94.4] cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/photo.hpp
[opencv 0.94.4] cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/dnn.hpp
[opencv 0.94.4] cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/bioinspired.hpp
[opencv 0.94.4] cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/face.hpp
[opencv 0.94.4] cargo::rerun-if-changed=Cargo.toml
[aky_vlm_lab 0.1.0] -- Generating done (0.0s)
[aky_vlm_lab 0.1.0] -- Build files have been written to: /data/workspace/my_project/target/debug/build/aky_vlm_lab-008f448f9dfc4d41/out/build
[aky_vlm_lab 0.1.0] running: cd "/data/workspace/my_project/target/debug/build/aky_vlm_lab-008f448f9dfc4d41/out/build" && LC_ALL="C" MAKEFLAGS="-j --jobserver-fds=8,9 --jobserver-auth=8,9" "cmake" "--build" "/data/workspace/my_project/target/debug/build/aky_vlm_lab-008f448f9dfc4d41/out/build" "--target" "install" "--config" "Debug"
[aky_vlm_lab 0.1.0] [100%] Built target my_cpp_lib
[aky_vlm_lab 0.1.0] Install the project...
[aky_vlm_lab 0.1.0] -- Install configuration: "Debug"
[aky_vlm_lab 0.1.0] -- Up-to-date: /data/workspace/my_project/target/debug/build/aky_vlm_lab-008f448f9dfc4d41/out/./libmy_cpp_lib.a
[aky_vlm_lab 0.1.0] cargo:root=/data/workspace/my_project/target/debug/build/aky_vlm_lab-008f448f9dfc4d41/out
[aky_vlm_lab 0.1.0] cargo:rustc-link-search=native=/data/workspace/my_project/target/debug/build/aky_vlm_lab-008f448f9dfc4d41/out
[aky_vlm_lab 0.1.0] cargo:rustc-link-lib=static=my_cpp_lib
[aky_vlm_lab 0.1.0] cargo:rustc-link-lib=stdc++
[aky_vlm_lab 0.1.0] cargo:rustc-link-search=/data/workspace/my_project/3rd/opencv_4.9.0_x86/lib
[aky_vlm_lab 0.1.0] cargo:rustc-link-lib=opencv_core
[aky_vlm_lab 0.1.0] cargo:rustc-link-lib=opencv_imgproc
[aky_vlm_lab 0.1.0] cargo:rustc-link-lib=opencv_imgcodecs
[aky_vlm_lab 0.1.0] cargo:rustc-link-lib=opencv_highgui
[aky_vlm_lab 0.1.0] cargo:rustc-link-lib=opencv_videoio
@zhangningboo
Copy link
Author

$ cargo run opencv
use opencv::prelude::*;
use opencv::{videoio, Result};

fn main() -> Result<()> {
    // let window = "video capture";
    // highgui::named_window(window, highgui::WINDOW_AUTOSIZE)?;
    let rtsp_url = "";
    let mut cam = videoio::VideoCapture::from_file(rtsp_url, videoio::CAP_FFMPEG)?; // 0 is the default camera
    let opened = videoio::VideoCapture::is_opened(&cam)?;
    if !opened {
        panic!("Unable to open default camera!");
    }
    let mut cnt = 0;
    loop {
        let mut frame = Mat::default();
        cam.read(&mut frame)?;
        cnt += 1;
        if cnt > 100 {
            break;
        }
        if cnt % 10 == 0 {
            let mut buf = opencv::core::Vector::new();
            opencv::imgcodecs::imwrite(&format!("./tmp/{}.jpg", cnt), &frame, &buf)?;
        }
        // if frame.size()?.width > 0 {
        //     highgui::imshow(window, &frame)?;
        // }
        // let key = highgui::wait_key(10)?;
        // if key > 0 && key != 255 {
        //     break;
        // }
    }
    Ok(())
}
warning: aky_vlm_lab v0.1.0 (/data/workspace/my_project/aky_vlm_lab) ignoring invalid dependency `arp-scan` which is missing a lib target
   Compiling openssl-sys v0.9.107
   Compiling opencv v0.94.4
   Compiling aky_vlm_lab v0.1.0 (/data/workspace/my_project/aky_vlm_lab)
   Compiling paho-mqtt-sys v0.10.2
error: failed to run custom build command for `opencv v0.94.4`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by:
  process didn't exit successfully: `/data/workspace/my_project/target/debug/build/opencv-6646d5f1b8dbfea8/build-script-build` (exit status: 101)
  --- 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_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_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_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_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=SYSROOT
  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_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_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_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo::rustc-cfg=ocvrs_opencv_branch_4
  cargo::rustc-cfg=ocvrs_has_module_core
  cargo::rustc-cfg=ocvrs_has_module_imgcodecs
  cargo::rustc-cfg=ocvrs_has_module_imgproc
  cargo::rustc-cfg=ocvrs_has_module_video
  cargo::rustc-cfg=ocvrs_has_module_videoio
  cargo::rerun-if-env-changed=OPENCV_PACKAGE_NAME
  cargo::rerun-if-env-changed=OPENCV_PKGCONFIG_NAME
  cargo::rerun-if-env-changed=OPENCV_CMAKE_NAME
  cargo::rerun-if-env-changed=OPENCV_CMAKE_BIN
  cargo::rerun-if-env-changed=OPENCV_VCPKG_NAME
  cargo::rerun-if-env-changed=OPENCV_LINK_LIBS
  cargo::rerun-if-env-changed=OPENCV_LINK_PATHS
  cargo::rerun-if-env-changed=OPENCV_INCLUDE_PATHS
  cargo::rerun-if-env-changed=OPENCV_DISABLE_PROBES
  cargo::rerun-if-env-changed=OPENCV_MSVC_CRT
  cargo::rerun-if-env-changed=CMAKE_PREFIX_PATH
  cargo::rerun-if-env-changed=OpenCV_DIR
  cargo::rerun-if-env-changed=PKG_CONFIG_PATH
  cargo::rerun-if-env-changed=VCPKG_ROOT
  cargo::rerun-if-env-changed=VCPKGRS_DYNAMIC
  cargo::rerun-if-env-changed=VCPKGRS_TRIPLET
  cargo::rerun-if-env-changed=OCVRS_DOCS_GENERATE_DIR
  cargo::rerun-if-env-changed=DOCS_RS
  cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/ocvrs_common.hpp
  cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/hdf.hpp
  cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/core.hpp
  cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/ccalib.hpp
  cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/alphamat.hpp
  cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/videoio.hpp
  cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/sfm.hpp
  cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/manual-core.cpp
  cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/gapi.hpp
  cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/xfeatures2d.hpp
  cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/aruco.hpp
  cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/photo.hpp
  cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/dnn.hpp
  cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/bioinspired.hpp
  cargo::rerun-if-changed=/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/face.hpp
  cargo::rerun-if-changed=Cargo.toml

  --- stderr
  === Crate version: 0.94.4
  === 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 = Some("/data/workspace/my_project/3rd/opencv_4.9.0_x86_ffmpeg")
  ===   PKG_CONFIG_PATH = Some("/data/workspace/my_project/3rd/opencv_4.9.0_x86_ffmpeg/lib/pkgconfig:/data/workspace/my_project/3rd/opencv_4.9.0_x86/lib/pkgconfig:/opt/sophon/sophon-opencv-latest/lib/pkgconfig:/opt/sophon/sophon-ffmpeg-latest/lib/pkgconfig:")
  ===   VCPKG_ROOT = None
  ===   VCPKGRS_DYNAMIC = None
  ===   VCPKGRS_TRIPLET = None
  ===   OCVRS_DOCS_GENERATE_DIR = None
  ===   DOCS_RS = None
  ===   PATH = Some("/data/workspace/miniconda3/bin:/data/workspace/miniconda3/condabin:/data/workspace/my_project/3rd/cmake-4.0.0-linux-x86_64/bin:/data/workspace/my_project/3rd/grpc/grpc_install/bin:/run/user/1000/fnm_multishells/1777739_1744766325549/bin:/home/zhangningboo/.local/share/fnm:/opt/sophon/sophon-ffmpeg-latest/bin:/home/zhangningboo/.vscode-server/cli/servers/Stable-4949701c880d4bdb949e3c0e6b400288da7f474b/server/bin/remote-cli:/home/zhangningboo/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/sophon/libsophon-current/bin:/opt/sophon/libsophon-current/bin/bm1684x:/opt/sophon/sophon-opencv-latest/bin")
  === Enabled features:
  ===   IMGCODECS
  ===   IMGPROC
  ===   VIDEO
  ===   VIDEOIO
  === Detected probe priority boost based on environment vars: pkg_config: true, cmake: true, 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
  === Successfully probed using: pkg_config
  === OpenCV library configuration: Library {
      include_paths: [
          "/data/workspace/my_project/3rd/opencv_4.9.0_x86_ffmpeg/include/opencv4",
      ],
      version: Version {
          major: 4,
          minor: 9,
          patch: 0,
      },
      enabled_features: [
          "eigen",
          "openjpeg",
          "jpeg",
          "openexr",
          "png",
          "pthread",
          "pthreads_pf",
          "tiff",
      ],
      cargo_metadata: [
          "cargo::rustc-link-search=/data/workspace/my_project/3rd/opencv_4.9.0_x86_ffmpeg/lib",
          "cargo::rustc-link-lib=opencv_gapi",
          "cargo::rustc-link-lib=opencv_highgui",
          "cargo::rustc-link-lib=opencv_ml",
          "cargo::rustc-link-lib=opencv_objdetect",
          "cargo::rustc-link-lib=opencv_photo",
          "cargo::rustc-link-lib=opencv_stitching",
          "cargo::rustc-link-lib=opencv_video",
          "cargo::rustc-link-lib=opencv_calib3d",
          "cargo::rustc-link-lib=opencv_features2d",
          "cargo::rustc-link-lib=opencv_dnn",
          "cargo::rustc-link-lib=opencv_flann",
          "cargo::rustc-link-lib=opencv_videoio",
          "cargo::rustc-link-lib=opencv_imgcodecs",
          "cargo::rustc-link-lib=opencv_imgproc",
          "cargo::rustc-link-lib=opencv_core",
      ],
  }
  === Found OpenCV version: 4.9.0 in headers located at: /data/workspace/my_project/3rd/opencv_4.9.0_x86_ffmpeg/include/opencv4
  === Detected OpenCV module header dir at: /data/workspace/my_project/3rd/opencv_4.9.0_x86_ffmpeg/include/opencv4/opencv2
  === Generating code in: /data/workspace/my_project/target/debug/build/opencv-8eb441671e42536c/out
  === Placing generated bindings into: /data/workspace/my_project/target/debug/build/opencv-8eb441671e42536c/out/opencv
  === Using OpenCV headers from: /data/workspace/my_project/3rd/opencv_4.9.0_x86_ffmpeg/include/opencv4
  === Clang: clang version 10.0.0-4ubuntu1 
  === Clang command line args: [
      "-isystem/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++",
      "-isystem/usr/local/include",
      "-isystem/usr/lib/llvm-10/lib/clang/10.0.0/include",
      "-isystem/usr/include/x86_64-linux-gnu",
      "-isystem/usr/include",
      "-I/data/workspace/my_project/3rd/opencv_4.9.0_x86_ffmpeg/include/opencv4",
      "-F/data/workspace/my_project/3rd/opencv_4.9.0_x86_ffmpeg/include/opencv4",
      "-I/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp",
      "-F/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp",
      "-DOCVRS_PARSING_HEADERS",
      "-includeocvrs_common.hpp",
      "-std=c++17",
  ]
  === Using environment job server with the the amount of available jobs: 13
  === Generating 5 modules
  === Running: "/data/workspace/my_project/target/debug/build/opencv-6646d5f1b8dbfea8/build-script-build" "/data/workspace/my_project/3rd/opencv_4.9.0_x86_ffmpeg/include/opencv4" "/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp" "/data/workspace/my_project/target/debug/build/opencv-8eb441671e42536c/out" "imgcodecs" ""
  === Running: "/data/workspace/my_project/target/debug/build/opencv-6646d5f1b8dbfea8/build-script-build" "/data/workspace/my_project/3rd/opencv_4.9.0_x86_ffmpeg/include/opencv4" "/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp" "/data/workspace/my_project/target/debug/build/opencv-8eb441671e42536c/out" "core" ""
  === Running: "/data/workspace/my_project/target/debug/build/opencv-6646d5f1b8dbfea8/build-script-build" "/data/workspace/my_project/3rd/opencv_4.9.0_x86_ffmpeg/include/opencv4" "/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp" "/data/workspace/my_project/target/debug/build/opencv-8eb441671e42536c/out" "video" ""
  === Running: "/data/workspace/my_project/target/debug/build/opencv-6646d5f1b8dbfea8/build-script-build" "/data/workspace/my_project/3rd/opencv_4.9.0_x86_ffmpeg/include/opencv4" "/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp" "/data/workspace/my_project/target/debug/build/opencv-8eb441671e42536c/out" "imgproc" ""
  === Running: "/data/workspace/my_project/target/debug/build/opencv-6646d5f1b8dbfea8/build-script-build" "/data/workspace/my_project/3rd/opencv_4.9.0_x86_ffmpeg/include/opencv4" "/home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp" "/data/workspace/my_project/target/debug/build/opencv-8eb441671e42536c/out" "videoio" ""
  === WARNING: 1 diagnostic messages
  ===    /home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/ocvrs_common.hpp:4:10: fatal error: 'memory' file not found

  thread 'main' panicked at /home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-binding-generator-0.96.1/src/generator.rs:424:17:
  === Errors during header parsing
  stack backtrace:
     0:     0x55d0ea895050 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
     1:     0x55d0ea895050 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
     2:     0x55d0ea895050 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9
     3:     0x55d0ea895050 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d42cc84fc840290
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26
     4:     0x55d0ea8bfa63 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76
     5:     0x55d0ea8bfa63 - core::fmt::write::h5af61a909e3ec64d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21
     6:     0x55d0ea890e13 - std::io::Write::write_fmt::h5a7b54aa6e4a315d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15
     7:     0x55d0ea894ea2 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9
     8:     0x55d0ea89616f - std::panicking::default_hook::{{closure}}::h9128866118196224
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22
     9:     0x55d0ea895fda - std::panicking::default_hook::h52e9e7314e0255f6
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:325:9
    10:     0x55d0ea896b12 - std::panicking::rust_panic_with_hook::h541791bcc774ef34
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:831:13
    11:     0x55d0ea896886 - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:697:13
    12:     0x55d0ea895569 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18
    13:     0x55d0ea89654d - rust_begin_unwind
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
    14:     0x55d0ea2a2270 - core::panicking::panic_fmt::h5764ee7030b7a73d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
    15:     0x55d0ea451381 - opencv_binding_generator::generator::Generator::handle_diags::hc394691ff7666f99
    16:     0x55d0ea2f104e - opencv_binding_generator::generator::Generator::pre_process::h654849d6679e2f35
    17:     0x55d0ea2f1281 - opencv_binding_generator::generator::Generator::generate::h4fcb76a2eb9f1b23
    18:     0x55d0ea2d25fb - build_script_build::binding_generator::run::h8c4e7bee86d0fdf8
    19:     0x55d0ea2d1b1a - build_script_build::binding_generator::handle_running_binding_generator::hc7f9063359c53c80
    20:     0x55d0ea2bf827 - build_script_build::main::h7d1e645e34be65f6
    21:     0x55d0ea2f6003 - core::ops::function::FnOnce::call_once::h7bcb895e027edd03
    22:     0x55d0ea2d0356 - std::sys::backtrace::__rust_begin_short_backtrace::heb43ce331ab01347
    23:     0x55d0ea2cd369 - std::rt::lang_start::{{closure}}::h308cf24f0f957567
    24:     0x55d0ea888620 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h11180d46f4bd77b0
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:284:13
    25:     0x55d0ea888620 - std::panicking::try::do_call::hd4e634b5516dff98
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40
    26:     0x55d0ea888620 - std::panicking::try::hb26f372c4276d7b4
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19
    27:     0x55d0ea888620 - std::panic::catch_unwind::hcff84ccd1cc2f0a5
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14
    28:     0x55d0ea888620 - std::rt::lang_start_internal::{{closure}}::h7f5cb21b2420f132
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs:168:24
    29:     0x55d0ea888620 - std::panicking::try::do_call::he996326bc7b05062
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40
    30:     0x55d0ea888620 - std::panicking::try::h17585bee78ecbda5
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19
    31:     0x55d0ea888620 - std::panic::catch_unwind::h366ac34033c6e5d6
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14
    32:     0x55d0ea888620 - std::rt::lang_start_internal::h15895544e2012228
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs:164:5
    33:     0x55d0ea2cd351 - std::rt::lang_start::hb12ca35dbe955c90
    34:     0x55d0ea2c1ae5 - main
    35:     0x7f5e35c77083 - __libc_start_main
    36:     0x55d0ea2a2aee - _start
    37:                0x0 - <unknown>

  thread 'gen-core' panicked at /home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/build/generator.rs:127:37:
  Failed to run the bindings generator for module: core
  stack backtrace:
     0:     0x55b196678050 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
     1:     0x55b196678050 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
     2:     0x55b196678050 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9
     3:     0x55b196678050 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d42cc84fc840290
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26
     4:     0x55b1966a2a63 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76
     5:     0x55b1966a2a63 - core::fmt::write::h5af61a909e3ec64d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21
     6:     0x55b196673e13 - std::io::Write::write_fmt::h5a7b54aa6e4a315d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15
     7:     0x55b196677ea2 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9
     8:     0x55b19667916f - std::panicking::default_hook::{{closure}}::h9128866118196224
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22
     9:     0x55b196678fda - std::panicking::default_hook::h52e9e7314e0255f6
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:325:9
    10:     0x55b196679b12 - std::panicking::rust_panic_with_hook::h541791bcc774ef34
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:831:13
    11:     0x55b1966798ba - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:704:13
    12:     0x55b196678569 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18
    13:     0x55b19667954d - rust_begin_unwind
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
    14:     0x55b196085270 - core::panicking::panic_fmt::h5764ee7030b7a73d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
    15:     0x55b1960d7c21 - build_script_build::generator::BindingGenerator::run::{{closure}}::{{closure}}::{{closure}}::h3dc96ecaec603568
    16:     0x55b1960b3336 - std::sys::backtrace::__rust_begin_short_backtrace::h516d5795bb773c28
    17:     0x55b1960c98f2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6036b4c2725e392c
    18:     0x55b19608dd60 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h7b24b737caf47e0f
    19:     0x55b1960cb630 - std::panicking::try::do_call::hc6150ed74ef28feb
    20:     0x55b1960cb07b - __rust_try
    21:     0x55b1960c96da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha20100c0bea01ee9
    22:     0x55b1960d8b86 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h02d44cf1976aa009
    23:     0x55b19668044b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h292d1663b0785fda
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9
    24:     0x55b19668044b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h9d4af7b531852d72
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9
    25:     0x55b19668044b - std::sys::pal::unix::thread::Thread::new::thread_start::hcc5ed016d554f327
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/pal/unix/thread.rs:106:17
    26:     0x7fd2d11b3609 - start_thread
    27:     0x7fd2d10d2353 - clone
    28:                0x0 - <unknown>
  === WARNING: 1 diagnostic messages
  ===    /home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/ocvrs_common.hpp:4:10: fatal error: 'memory' file not found

  thread 'main' panicked at /home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-binding-generator-0.96.1/src/generator.rs:424:17:
  === Errors during header parsing

  thread 'main' panicked at /home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/build/generator.rs:137:36:
  Generator process panicked: Any { .. }
  stack backtrace:
  stack backtrace:
     0:     0x55b196678050 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
     1:     0x55b196678050 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
     2:     0x55b196678050 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9
     3:     0x55b196678050 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d42cc84fc840290
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26
     4:     0x55b1966a2a63 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76
     5:     0x55b1966a2a63 - core::fmt::write::h5af61a909e3ec64d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21
     6:     0x55b196673e13 - std::io::Write::write_fmt::h5a7b54aa6e4a315d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15
     7:     0x55b196677ea2 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9
     8:     0x55b19667916f - std::panicking::default_hook::{{closure}}::h9128866118196224
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22
     9:     0x55b196678fda - std::panicking::default_hook::h52e9e7314e0255f6
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:325:9
    10:     0x55b196679b12 - std::panicking::rust_panic_with_hook::h541791bcc774ef34
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:831:13
    11:     0x55b1966798ba - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:704:13
    12:     0x55b196678569 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18
    13:     0x55b19667954d - rust_begin_unwind
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
    14:     0x55b196085270 - core::panicking::panic_fmt::h5764ee7030b7a73d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
    15:     0x55b196085716 - core::result::unwrap_failed::h3ff7104a9ace307a
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/result.rs:1704:5
    16:     0x55b1960cd992 - core::result::Result<T,E>::expect::had51bf95512c1792
    17:     0x55b1960d763d - build_script_build::generator::BindingGenerator::run::{{closure}}::h22a5b2e508655db9
    18:     0x55b1960c89c5 - std::thread::scoped::scope::{{closure}}::h5a3fdb631498775c
    19:     0x55b19608dd90 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf0c252b41fe79ff2
    20:     0x55b1960cb65c - std::panicking::try::do_call::hfe20710d33d5501c
    21:     0x55b1960cb07b - __rust_try
    22:     0x55b1960c87a8 - std::thread::scoped::scope::h2321aaa7ea524c76
    23:     0x55b1960d72a3 - build_script_build::generator::BindingGenerator::run::h129e2b966e696c1c
    24:     0x55b1960d6492 - build_script_build::generator::BindingGenerator::generate_wrapper::h0a01ef3ecb2d6345
    25:     0x55b1960a4080 - build_script_build::main::h7d1e645e34be65f6
    26:     0x55b1960d9003 - core::ops::function::FnOnce::call_once::h7bcb895e027edd03
    27:     0x55b1960b3356 - std::sys::backtrace::__rust_begin_short_backtrace::heb43ce331ab01347
    28:     0x55b1960b0369 - std::rt::lang_start::{{closure}}::h308cf24f0f957567
    29:     0x55b19666b620 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h11180d46f4bd77b0
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:284:13
    30:     0x55b19666b620 - std::panicking::try::do_call::hd4e634b5516dff98
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40
    31:     0x55b19666b620 - std::panicking::try::hb26f372c4276d7b4
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19
    32:     0x55b19666b620 - std::panic::catch_unwind::hcff84ccd1cc2f0a5
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14
    33:     0x55b19666b620 - std::rt::lang_start_internal::{{closure}}::h7f5cb21b2420f132
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs:168:24
    34:     0x55b19666b620 - std::panicking::try::do_call::he996326bc7b05062
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40
    35:     0x55b19666b620 - std::panicking::try::h17585bee78ecbda5
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19
    36:     0x55b19666b620 - std::panic::catch_unwind::h366ac34033c6e5d6
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14
    37:     0x55b19666b620 - std::rt::lang_start_internal::h15895544e2012228
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs:164:5
    38:     0x55b1960b0351 - std::rt::lang_start::hb12ca35dbe955c90
    39:     0x55b1960a4ae5 - main
    40:     0x7fd2d0fd7083 - __libc_start_main
    41:     0x55b196085aee - _start
    42:                0x0 - <unknown>
     0:     0x556ea6c01050 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
     1:     0x556ea6c01050 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
     2:     0x556ea6c01050 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9
     3:     0x556ea6c01050 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d42cc84fc840290
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26
  === WARNING: 1 diagnostic messages
  ===    /home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/ocvrs_common.hpp:4:10: fatal error: 'memory' file not found

  thread 'main' panicked at /home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-binding-generator-0.96.1/src/generator.rs:424:17:
  === Errors during header parsing
  stack backtrace:
  === WARNING: 1 diagnostic messages
  ===    /home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/ocvrs_common.hpp:4:10: fatal error: 'memory' file not found

  thread 'main' panicked at /home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-binding-generator-0.96.1/src/generator.rs:424:17:
  === Errors during header parsing
  stack backtrace:
     4:     0x556ea6c2ba63 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76
     5:     0x556ea6c2ba63 - core::fmt::write::h5af61a909e3ec64d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21
     6:     0x556ea6bfce13 - std::io::Write::write_fmt::h5a7b54aa6e4a315d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15
     7:     0x556ea6c00ea2 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9
     8:     0x556ea6c0216f - std::panicking::default_hook::{{closure}}::h9128866118196224
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22
     9:     0x556ea6c01fda - std::panicking::default_hook::h52e9e7314e0255f6
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:325:9
    10:     0x556ea6c02b12 - std::panicking::rust_panic_with_hook::h541791bcc774ef34
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:831:13
    11:     0x556ea6c02886 - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:697:13
    12:     0x556ea6c01569 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18
    13:     0x556ea6c0254d - rust_begin_unwind
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
    14:     0x556ea660e270 - core::panicking::panic_fmt::h5764ee7030b7a73d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
    15:     0x556ea67bd381 - opencv_binding_generator::generator::Generator::handle_diags::hc394691ff7666f99
    16:     0x556ea665d04e - opencv_binding_generator::generator::Generator::pre_process::h654849d6679e2f35
    17:     0x556ea665d281 - opencv_binding_generator::generator::Generator::generate::h4fcb76a2eb9f1b23
    18:     0x556ea663e5fb - build_script_build::binding_generator::run::h8c4e7bee86d0fdf8
    19:     0x556ea663db1a - build_script_build::binding_generator::handle_running_binding_generator::hc7f9063359c53c80
    20:     0x556ea662b827 - build_script_build::main::h7d1e645e34be65f6
    21:     0x556ea6662003 - core::ops::function::FnOnce::call_once::h7bcb895e027edd03
    22:     0x556ea663c356 - std::sys::backtrace::__rust_begin_short_backtrace::heb43ce331ab01347
    23:     0x556ea6639369 - std::rt::lang_start::{{closure}}::h308cf24f0f957567
    24:     0x556ea6bf4620 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h11180d46f4bd77b0
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:284:13
    25:     0x556ea6bf4620 - std::panicking::try::do_call::hd4e634b5516dff98
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40
    26:     0x556ea6bf4620 - std::panicking::try::hb26f372c4276d7b4
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19
    27:     0x556ea6bf4620 - std::panic::catch_unwind::hcff84ccd1cc2f0a5
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14
    28:     0x556ea6bf4620 - std::rt::lang_start_internal::{{closure}}::h7f5cb21b2420f132
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs:168:24
    29:     0x556ea6bf4620 - std::panicking::try::do_call::he996326bc7b05062
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40
    30:     0x556ea6bf4620 - std::panicking::try::h17585bee78ecbda5
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19
    31:     0x556ea6bf4620 - std::panic::catch_unwind::h366ac34033c6e5d6
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14
    32:     0x556ea6bf4620 - std::rt::lang_start_internal::h15895544e2012228
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs:164:5
    33:     0x556ea6639351 - std::rt::lang_start::hb12ca35dbe955c90
    34:     0x556ea662dae5 - main
    35:     0x7fe0c61e3083 - __libc_start_main
    36:     0x556ea660eaee - _start
    37:                0x0 - <unknown>
  === WARNING: 1 diagnostic messages
  ===    /home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/src_cpp/ocvrs_common.hpp:4:10: fatal error: 'memory' file not found

  thread 'main' panicked at /home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-binding-generator-0.96.1/src/generator.rs:424:17:
  === Errors during header parsing
  stack backtrace:

  thread 'gen-imgproc' panicked at /home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/build/generator.rs:127:37:
  Failed to run the bindings generator for module: imgproc
  stack backtrace:
     0:     0x55b196678050 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
     1:     0x55b196678050 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
     2:     0x55b196678050 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9
     3:     0x55b196678050 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d42cc84fc840290
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26
     4:     0x55b1966a2a63 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76
     5:     0x55b1966a2a63 - core::fmt::write::h5af61a909e3ec64d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21
     6:     0x55b196673e13 - std::io::Write::write_fmt::h5a7b54aa6e4a315d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15
     7:     0x55b196677ea2 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9
     8:     0x55b19667916f - std::panicking::default_hook::{{closure}}::h9128866118196224
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22
     9:     0x55b196678fda - std::panicking::default_hook::h52e9e7314e0255f6
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:325:9
    10:     0x55b196679b12 - std::panicking::rust_panic_with_hook::h541791bcc774ef34
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:831:13
    11:     0x55b1966798ba - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:704:13
    12:     0x55b196678569 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18
    13:     0x55b19667954d - rust_begin_unwind
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
    14:     0x55b196085270 - core::panicking::panic_fmt::h5764ee7030b7a73d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
    15:     0x55b1960d7c21 - build_script_build::generator::BindingGenerator::run::{{closure}}::{{closure}}::{{closure}}::h3dc96ecaec603568
    16:     0x55b1960b3336 - std::sys::backtrace::__rust_begin_short_backtrace::h516d5795bb773c28
    17:     0x55b1960c98f2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6036b4c2725e392c
    18:     0x55b19608dd60 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h7b24b737caf47e0f
    19:     0x55b1960cb630 - std::panicking::try::do_call::hc6150ed74ef28feb
    20:     0x55b1960cb07b - __rust_try
    21:     0x55b1960c96da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha20100c0bea01ee9
    22:     0x55b1960d8b86 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h02d44cf1976aa009
    23:     0x55b19668044b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h292d1663b0785fda
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9
    24:     0x55b19668044b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h9d4af7b531852d72
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9
    25:     0x55b19668044b - std::sys::pal::unix::thread::Thread::new::thread_start::hcc5ed016d554f327
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/pal/unix/thread.rs:106:17
    26:     0x7fd2d11b3609 - start_thread
    27:     0x7fd2d10d2353 - clone
    28:                0x0 - <unknown>
     0:     0x55d4c10b0050 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
     1:     0x55d4c10b0050 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
     2:     0x55d4c10b0050 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9
     3:     0x55d4c10b0050 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d42cc84fc840290
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26
     0:     0x563df10e7050 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
     1:     0x563df10e7050 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
     2:     0x563df10e7050 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9
     3:     0x563df10e7050 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d42cc84fc840290
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26
     4:     0x55d4c10daa63 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76
     5:     0x55d4c10daa63 - core::fmt::write::h5af61a909e3ec64d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21
     6:     0x55d4c10abe13 - std::io::Write::write_fmt::h5a7b54aa6e4a315d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15
     7:     0x55d4c10afea2 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9
     8:     0x55d4c10b116f - std::panicking::default_hook::{{closure}}::h9128866118196224
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22
     9:     0x55d4c10b0fda - std::panicking::default_hook::h52e9e7314e0255f6
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:325:9
    10:     0x55d4c10b1b12 - std::panicking::rust_panic_with_hook::h541791bcc774ef34
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:831:13
    11:     0x55d4c10b1886 - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:697:13
    12:     0x55d4c10b0569 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18
    13:     0x55d4c10b154d - rust_begin_unwind
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
    14:     0x55d4c0abd270 - core::panicking::panic_fmt::h5764ee7030b7a73d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
    15:     0x55d4c0c6c381 - opencv_binding_generator::generator::Generator::handle_diags::hc394691ff7666f99
    16:     0x55d4c0b0c04e - opencv_binding_generator::generator::Generator::pre_process::h654849d6679e2f35
    17:        0x55d4c0b0c2814 - : opencv_binding_generator:: generator :: Generator ::0xgenerate::563df1111a63h4fcb76a2eb9f1b23 - 
  core::fmt::rt::Argument::fmt:: h7239af9e2199f2a8 
  18:            0x 55d4c0aed5fb -  build_script_build :: binding_generator  :: run :: h8c4e7bee86d0fdf8 
                at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76
      5 : 19 :       0x 0x563df1111a6355d4c0aecb1a -  - build_script_buildcore::::binding_generatorfmt::::writehandle_running_binding_generator::h5af61a909e3ec64d::
  hc7f9063359c53c80 
            20 :        0x  55d4c0ada827   -  build_script_build             at ::/rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rsmain:::1449h7d1e645e34be65f6
  :21
    21:     0x55d4c0b11003 - core::ops::function::FnOnce::call_once::h7bcb895e027edd03
    22:     0x55d4c0aeb356 - std::sys::backtrace::__rust_begin_short_backtrace::heb43ce331ab01347
      6 : 23  :     0x 563df10e2e13 -  0xstd::io55d4c0ae8369:: - Write::std::write_fmtrt::::h5a7b54aa6e4a315dlang_start
  :: {  {  closure }  }   ::  h308cf24f0f957567 
                   at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15
     7:     0x563df10e6ea2 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9
     8:     0x563df10e816f - std::panicking::default_hook::{{closure}}::h9128866118196224
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298: 22 
  24:     0x55d4c10a3620 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h11180d46f4bd77b0
              9 :           0x  563df10e7fda             at  - /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rsstd:::284panicking:::13default_hook
  ::h52e9e7314e0255f6  
  25 :         0x 55d4c10a3620   -  std :: panicking::   try :: do_call :: hd4e634b5516dff98             at 
  /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs : 325 : 9
                             at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40
    26:     0x55d4c10a3620 - std ::panicking ::10try: ::hb26f372c4276d7b4 
      0x  563df10e8b12  -   std ::panicking  ::  rust_panic_with_hook :: h541791bcc774ef34  
                    at   /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs  :550 : 19
       27   :                      at 0x55d4c10a3620/rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs: - 831std:::panic::13catch_unwind
  ::hcff84ccd1cc2f0a5
                                  at  11/rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs: : 358: 14 
   0x  563df10e888628 - : std :: panicking :: 0x55d4c10a3620 - begin_panic_handlerstd::::{rt{::closurelang_start_internal}::}::{h6479a2f0137c7d19{
  closure } }:: h7f5cb21b2420f132 
                                              at  /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs             at :/rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs:697168::1324

    29:      12 : 0x55d4c10a3620  -  std :: panicking0x563df10e7569::try - ::stddo_call::::syshe996326bc7b05062::
  backtrace ::  __rust_end_short_backtrace ::ha04e7c0fc61ded91  
                                        at  /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:  587  :40             at 
  /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs: 168 30:: 18 
     0x55d4c10a3620 - std:: panicking:: try13::: h17585bee78ecbda5 
         0x 563df10e854d   -  rust_begin_unwind 
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs : 550  :  19 
                  at  /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs31:: 695 : 5 
   0x55d4c10a3620 - std::panic::catch_unwind:: h366ac34033c6e5d6 14
  :          0x 563df0af4270   -  core  ::panicking:: panic_fmt::  h5764ee7030b7a73d 
                     at  /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs :   358  :14 
         32:                 at  /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs : 0x7555d4c10a3620: - 14std
  ::rt::lang_start_internal::h15895544e2012228
                                 at   /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs15:164: : 5  
   0x563df0ca3381 - opencv_binding_generator::generator::Generator::handle_diags::hc394691ff7666f99
    33:     0x55d4c0ae8351 - std::rt::lang_start::hb12ca35dbe955c90
      1634: :         0x55d4c0adcae50x563df0b4304e -  - opencv_binding_generatormain::
  generator::Generator::pre_process::h654849d6679e2f35
    17:     0x563df0b43281 - opencv_binding_generator::generator::Generator::generate::h4fcb76a2eb9f1b23
    18:     0x563df0b245fb - build_script_build::binding_generator::run::h8c4e7bee86d0fdf8
    19:     0x563df0b23b1a - build_script_build::binding_generator::handle_running_binding_generator::hc7f9063359c53c80
    20:     0x563df0b11827 - build_script_build::main::h7d1e645e34be65f6
    21:     0x563df0b48003 - core::ops::function::FnOnce::call_once::h7bcb895e027edd03
    22:     0x563df0b22356 - std::sys::backtrace::__rust_begin_short_backtrace::heb43ce331ab01347
    23:     0x563df0b1f369 - std::rt::lang_start::{{closure}}::h308cf24f0f957567
    35:     0x7f79eb11b083 - __libc_start_main
    36:     0x55d4c0abdaee - _start
      3724: :          0x 563df10da620  -   core  :: ops :: function 0x::0impls - ::<unknown><
  impl core::ops::function::FnOnce<A> for &F>::call_once::h11180d46f4bd77b0
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:284:13
    25:     0x563df10da620 - std::panicking::try::do_call::hd4e634b5516dff98
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40
    26:     0x563df10da620 - std::panicking::try::hb26f372c4276d7b4
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19
    27:     0x563df10da620 - std::panic::catch_unwind::hcff84ccd1cc2f0a5
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14
    28:     0x563df10da620 - std::rt::lang_start_internal::{{closure}}::h7f5cb21b2420f132
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs:168:24
    29:     0x563df10da620 - std::panicking::try::do_call::he996326bc7b05062
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40
    30:     0x563df10da620 - std::panicking::try::h17585bee78ecbda5
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19
    31:     0x563df10da620 - std::panic::catch_unwind::h366ac34033c6e5d6
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14
    32:     0x563df10da620 - std::rt::lang_start_internal::h15895544e2012228
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs:164:5
    33:     0x563df0b1f351 - std::rt::lang_start::hb12ca35dbe955c90
    34:     0x563df0b13ae5 - main
    35:     0x7fb4bc16d083 - __libc_start_main
    36:     0x563df0af4aee - _start
    37:                0x0 - <unknown>
     0:     0x55bad2a0c050 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
     1:     0x55bad2a0c050 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
     2:     0x55bad2a0c050 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9
     3:     0x55bad2a0c050 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d42cc84fc840290
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26
     4:     0x55bad2a36a63 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76
     5:     0x55bad2a36a63 - core::fmt::write::h5af61a909e3ec64d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21
     6:     0x55bad2a07e13 - std::io::Write::write_fmt::h5a7b54aa6e4a315d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15
     7:     0x55bad2a0bea2 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9
     8:     0x55bad2a0d16f - std::panicking::default_hook::{{closure}}::h9128866118196224
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22
     9:     0x55bad2a0cfda - std::panicking::default_hook::h52e9e7314e0255f6
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:325:9
    10:     0x55bad2a0db12 - std::panicking::rust_panic_with_hook::h541791bcc774ef34
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:831:13
    11:     0x55bad2a0d886 - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:697:13
    12:     0x55bad2a0c569 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18
    13:     0x55bad2a0d54d - rust_begin_unwind
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
    14:     0x55bad2419270 - core::panicking::panic_fmt::h5764ee7030b7a73d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
    15:     0x55bad25c8381 - opencv_binding_generator::generator::Generator::handle_diags::hc394691ff7666f99
    16:     0x55bad246804e - opencv_binding_generator::generator::Generator::pre_process::h654849d6679e2f35
    17:     0x55bad2468281 - opencv_binding_generator::generator::Generator::generate::h4fcb76a2eb9f1b23
    18:     0x55bad24495fb - build_script_build::binding_generator::run::h8c4e7bee86d0fdf8
    19:     0x55bad2448b1a - build_script_build::binding_generator::handle_running_binding_generator::hc7f9063359c53c80
    20:     0x55bad2436827 - build_script_build::main::h7d1e645e34be65f6
    21:     0x55bad246d003 - core::ops::function::FnOnce::call_once::h7bcb895e027edd03
    22:     0x55bad2447356 - std::sys::backtrace::__rust_begin_short_backtrace::heb43ce331ab01347
    23:     0x55bad2444369 - std::rt::lang_start::{{closure}}::h308cf24f0f957567
    24:     0x55bad29ff620 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h11180d46f4bd77b0
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:284:13
    25:     0x55bad29ff620 - std::panicking::try::do_call::hd4e634b5516dff98
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40
    26:     0x55bad29ff620 - std::panicking::try::hb26f372c4276d7b4
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19
    27:     0x55bad29ff620 - std::panic::catch_unwind::hcff84ccd1cc2f0a5
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14
    28:     0x55bad29ff620 - std::rt::lang_start_internal::{{closure}}::h7f5cb21b2420f132
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs:168:24
    29:     0x55bad29ff620 - std::panicking::try::do_call::he996326bc7b05062
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40
    30:     0x55bad29ff620 - std::panicking::try::h17585bee78ecbda5
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19
    31:     0x55bad29ff620 - std::panic::catch_unwind::h366ac34033c6e5d6
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14
    32:     0x55bad29ff620 - std::rt::lang_start_internal::h15895544e2012228
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs:164:5
    33:     0x55bad2444351 - std::rt::lang_start::hb12ca35dbe955c90
    34:     0x55bad2438ae5 - main
    35:     0x7fa9228d9083 - __libc_start_main
    36:     0x55bad2419aee - _start
    37:                0x0 - <unknown>

  thread 'gen-imgcodecs' panicked at /home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/build/generator.rs:127:37:
  Failed to run the bindings generator for module: imgcodecs
  stack backtrace:
     0:     0x55b196678050 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
     1:     0x55b196678050 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
     2:     0x55b196678050 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9
     3:     0x55b196678050 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d42cc84fc840290
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26
     4:     0x55b1966a2a63 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76
     5:     0x55b1966a2a63 - core::fmt::write::h5af61a909e3ec64d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21
     6:     0x55b196673e13 - std::io::Write::write_fmt::h5a7b54aa6e4a315d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15
     7:     0x55b196677ea2 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9
     8:     0x55b19667916f - std::panicking::default_hook::{{closure}}::h9128866118196224
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22
     9:     0x55b196678fda - std::panicking::default_hook::h52e9e7314e0255f6
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:325:9
    10:     0x55b196679b12 - std::panicking::rust_panic_with_hook::h541791bcc774ef34
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:831:13
    11:     0x55b1966798ba - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:704:13
    12:     0x55b196678569 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18
    13:     0x55b19667954d - rust_begin_unwind
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
    14:     0x55b196085270 - core::panicking::panic_fmt::h5764ee7030b7a73d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
    15:     0x55b1960d7c21 - build_script_build::generator::BindingGenerator::run::{{closure}}::{{closure}}::{{closure}}::h3dc96ecaec603568
    16:     0x55b1960b3336 - std::sys::backtrace::__rust_begin_short_backtrace::h516d5795bb773c28
    17:     0x55b1960c98f2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6036b4c2725e392c
    18:     0x55b19608dd60 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h7b24b737caf47e0f
    19:     0x55b1960cb630 - std::panicking::try::do_call::hc6150ed74ef28feb
    20:     0x55b1960cb07b - __rust_try
    21:     0x55b1960c96da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha20100c0bea01ee9
    22:     0x55b1960d8b86 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h02d44cf1976aa009
    23:     0x55b19668044b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h292d1663b0785fda
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9
    24:     0x55b19668044b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h9d4af7b531852d72
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9
    25:     0x55b19668044b - std::sys::pal::unix::thread::Thread::new::thread_start::hcc5ed016d554f327
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/pal/unix/thread.rs:106:17
    26:     0x7fd2d11b3609 - start_thread
    27:     0x7fd2d10d2353 - clone
    28:                0x0 - <unknown>

  thread 'gen-videoio' panicked at /home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/build/generator.rs:127:37:
  Failed to run the bindings generator for module: videoio
  stack backtrace:
     0:     0x55b196678050 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
     1:     0x55b196678050 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
     2:     0x55b196678050 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9
     3:     0x55b196678050 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d42cc84fc840290
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26
     4:     0x55b1966a2a63 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76
     5:     0x55b1966a2a63 - core::fmt::write::h5af61a909e3ec64d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21
     6:     0x55b196673e13 - std::io::Write::write_fmt::h5a7b54aa6e4a315d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15
     7:     0x55b196677ea2 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9
     8:     0x55b19667916f - std::panicking::default_hook::{{closure}}::h9128866118196224
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22
     9:     0x55b196678fda - std::panicking::default_hook::h52e9e7314e0255f6
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:325:9
    10:     0x55b196679b12 - std::panicking::rust_panic_with_hook::h541791bcc774ef34
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:831:13
    11:     0x55b1966798ba - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:704:13
    12:     0x55b196678569 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18
    13:     0x55b19667954d - rust_begin_unwind
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
    14:     0x55b196085270 - core::panicking::panic_fmt::h5764ee7030b7a73d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
    15:     0x55b1960d7c21 - build_script_build::generator::BindingGenerator::run::{{closure}}::{{closure}}::{{closure}}::h3dc96ecaec603568
    16:     0x55b1960b3336 - std::sys::backtrace::__rust_begin_short_backtrace::h516d5795bb773c28
    17:     0x55b1960c98f2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6036b4c2725e392c
    18:     0x55b19608dd60 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h7b24b737caf47e0f
    19:     0x55b1960cb630 - std::panicking::try::do_call::hc6150ed74ef28feb
    20:     0x55b1960cb07b - __rust_try
    21:     0x55b1960c96da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha20100c0bea01ee9
    22:     0x55b1960d8b86 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h02d44cf1976aa009
    23:     0x55b19668044b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h292d1663b0785fda
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9
    24:     0x55b19668044b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h9d4af7b531852d72
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9
    25:     0x55b19668044b - std::sys::pal::unix::thread::Thread::new::thread_start::hcc5ed016d554f327
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/pal/unix/thread.rs:106:17
    26:     0x7fd2d11b3609 - start_thread
    27:     0x7fd2d10d2353 - clone
    28:                0x0 - <unknown>

  thread 'gen-video' panicked at /home/zhangningboo/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/opencv-0.94.4/build/generator.rs:127:37:
  Failed to run the bindings generator for module: video
  stack backtrace:
     0:     0x55b196678050 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
     1:     0x55b196678050 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
     2:     0x55b196678050 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9
     3:     0x55b196678050 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d42cc84fc840290
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26
     4:     0x55b1966a2a63 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76
     5:     0x55b1966a2a63 - core::fmt::write::h5af61a909e3ec64d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21
     6:     0x55b196673e13 - std::io::Write::write_fmt::h5a7b54aa6e4a315d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15
     7:     0x55b196677ea2 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9
     8:     0x55b19667916f - std::panicking::default_hook::{{closure}}::h9128866118196224
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22
     9:     0x55b196678fda - std::panicking::default_hook::h52e9e7314e0255f6
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:325:9
    10:     0x55b196679b12 - std::panicking::rust_panic_with_hook::h541791bcc774ef34
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:831:13
    11:     0x55b1966798ba - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:704:13
    12:     0x55b196678569 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18
    13:     0x55b19667954d - rust_begin_unwind
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
    14:     0x55b196085270 - core::panicking::panic_fmt::h5764ee7030b7a73d
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
    15:     0x55b1960d7c21 - build_script_build::generator::BindingGenerator::run::{{closure}}::{{closure}}::{{closure}}::h3dc96ecaec603568
    16:     0x55b1960b3336 - std::sys::backtrace::__rust_begin_short_backtrace::h516d5795bb773c28
    17:     0x55b1960c98f2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6036b4c2725e392c
    18:     0x55b19608dd60 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h7b24b737caf47e0f
    19:     0x55b1960cb630 - std::panicking::try::do_call::hc6150ed74ef28feb
    20:     0x55b1960cb07b - __rust_try
    21:     0x55b1960c96da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha20100c0bea01ee9
    22:     0x55b1960d8b86 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h02d44cf1976aa009
    23:     0x55b19668044b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h292d1663b0785fda
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9
    24:     0x55b19668044b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h9d4af7b531852d72
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9
    25:     0x55b19668044b - std::sys::pal::unix::thread::Thread::new::thread_start::hcc5ed016d554f327
                                 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/pal/unix/thread.rs:106:17
    26:     0x7fd2d11b3609 - start_thread
    27:     0x7fd2d10d2353 - clone
    28:                0x0 - <unknown>
warning: build failed, waiting for other jobs to finish...

@twistedfall
Copy link
Owner

Probably libsdtc++ installation is missing or mismatched with your default compiler (whatever is being run by c++ --version). You can also check this issue #594

@zhangningboo
Copy link
Author

solved by:

export CPLUS_INCLUDE_PATH=/usr/include/c++/11:${CPLUS_INCLUDE_PATH}
export CPLUS_INCLUDE_PATH=/usr/include/x86_64-linux-gnu/c++/11:${CPLUS_INCLUDE_PATH}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants