twistedfall / opencv-rust

Rust bindings for OpenCV 3 & 4
MIT License
2.02k stars 161 forks source link

symbol(s) not found for architecture x86_64 #233

Closed yang-dong-dong closed 2 years ago

yang-dong-dong commented 3 years ago

mocOS 10.15.7 brew install 0.52.0 rustc 1.52.0-nightly (e37a13cc3 2021-02-28)

   Fresh pkg-config v0.3.19
   Fresh autocfg v1.0.1
   Fresh cfg-if v1.0.0
   Fresh unicode-xid v0.2.1
   Fresh glob v0.3.0
   Fresh adler v1.0.2
   Fresh ucd-trie v0.1.3
   Fresh byteorder v1.4.3
   Fresh regex-syntax v0.6.23
   Fresh once_cell v1.7.2
   Fresh dunce v1.0.1
   Fresh maplit v1.0.2
   Fresh percent-encoding v2.1.0
   Fresh rawpointer v0.2.1
   Fresh vcpkg v0.2.12
   Fresh ppv-lite86 v0.2.10
   Fresh shlex v1.0.0
   Fresh half v1.7.1
   Fresh lazy_static v1.4.0
   Fresh pest v2.1.3
   Fresh matrixmultiply v0.2.4
   Fresh libc v0.2.93
   Fresh proc-macro2 v1.0.26
   Fresh memchr v2.3.4
   Fresh crc32fast v1.2.1
   Fresh anyhow v1.0.40
   Fresh jobserver v0.1.22
   Fresh quote v1.0.9
   Fresh miniz_oxide v0.4.4
   Fresh time v0.1.44
   Fresh clang-sys v1.2.0
   Fresh aho-corasick v0.7.15
   Fresh socket2 v0.4.0
   Fresh num-traits v0.2.14
   Fresh getrandom v0.1.16
   Fresh semver-parser v0.10.2
   Fresh cc v1.0.67
   Fresh syn v1.0.70
   Fresh flate2 v1.0.20
   Fresh regex v1.4.6
   Fresh clang v1.0.3
   Fresh semver v0.11.0
   Fresh rand_core v0.5.1
   Fresh num-integer v0.1.44
   Fresh num-complex v0.3.1
   Fresh thiserror-impl v1.0.24
   Fresh opencv-binding-generator v0.27.0
   Fresh rand_chacha v0.2.2
   Fresh ndarray v0.14.0
   Fresh thiserror v1.0.24
   Fresh rand v0.7.3
   Fresh libz-sys v1.1.2
   Fresh bzip2-sys v0.1.10+1.0.8
Compiling opencv v0.53.0 Fresh curl-sys v0.4.42+curl-7.76.0 Fresh bzip2 v0.3.3 Fresh zip v0.5.12 Fresh curl v0.4.36 Running /Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-18ed65d667999bd9/build-script-build warning: clang: warning: -Wl,-rpath=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/torch-sys-5bbeab3339f84cd9/out/libtorch/libtorch/lib: 'linker' input unused [-Wunused-command-line-argument] warning: clang: warning: -Wl,-rpath=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/torch-sys-5bbeab3339f84cd9/out/libtorch/libtorch/lib: 'linker' input unused [-Wunused-command-line-argument] Fresh torch-sys v0.4.0 Fresh tch v0.4.0 [opencv 0.53.0] === Crate version: Some("0.53.0") [opencv 0.53.0] === Environment configuration: [opencv 0.53.0] === OPENCV_PACKAGE_NAME = None [opencv 0.53.0] === OPENCV_PKGCONFIG_NAME = None [opencv 0.53.0] === OPENCV_CMAKE_NAME = None [opencv 0.53.0] === OPENCV_CMAKE_BIN = None [opencv 0.53.0] === OPENCV_VCPKG_NAME = None [opencv 0.53.0] === OPENCV_LINK_LIBS = Some("opencv2.framework,OpenCL.framework,Cocoa.framework,Accelerate.framework,AVFoundation.framework,CoreGraphics.framework,CoreMedia.framework,CoreVideo.framework,QuartzCore.framework,clang_rt.osx") [opencv 0.53.0] === OPENCV_LINK_PATHS = Some("/Users/donny/build/opencv/opencv-4.5.2-build,/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin") [opencv 0.53.0] === OPENCV_INCLUDE_PATHS = Some("/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include") [opencv 0.53.0] === OPENCV_DISABLE_PROBES = None [opencv 0.53.0] === OPENCV_MODULE_WHITELIST = None [opencv 0.53.0] === OPENCV_MODULE_BLACKLIST = None [opencv 0.53.0] === CMAKE_PREFIX_PATH = None [opencv 0.53.0] === OpenCV_DIR = None [opencv 0.53.0] === PKG_CONFIG_PATH = None [opencv 0.53.0] === VCPKG_ROOT = None [opencv 0.53.0] === VCPKGRS_DYNAMIC = None [opencv 0.53.0] === Enabled features: [opencv 0.53.0] === Detected probe priority based on environment vars: pkg_config: false, cmake: false, vcpkg: false [opencv 0.53.0] === Probing the OpenCV library in the following order: environment, pkg_config, cmake, vcpkg_cmake, vcpkg [opencv 0.53.0] === Configuring OpenCV library from the environment: [opencv 0.53.0] === include_paths: /Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include [opencv 0.53.0] === link_paths: /Users/donny/build/opencv/opencv-4.5.2-build,/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin [opencv 0.53.0] === link_libs: opencv2.framework,OpenCL.framework,Cocoa.framework,Accelerate.framework,AVFoundation.framework,CoreGraphics.framework,CoreMedia.framework,CoreVideo.framework,QuartzCore.framework,clang_rt.osx [opencv 0.53.0] === OpenCV library configuration: Library { [opencv 0.53.0] include_paths: [ [opencv 0.53.0] "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include", [opencv 0.53.0] ], [opencv 0.53.0] version: Version { [opencv 0.53.0] major: 4, [opencv 0.53.0] minor: 5, [opencv 0.53.0] patch: 2, [opencv 0.53.0] pre: [], [opencv 0.53.0] build: [], [opencv 0.53.0] }, [opencv 0.53.0] cargo_metadata: [ [opencv 0.53.0] "cargo:rustc-link-search=/Users/donny/build/opencv/opencv-4.5.2-build", [opencv 0.53.0] "cargo:rustc-link-search=framework=/Users/donny/build/opencv/opencv-4.5.2-build", [opencv 0.53.0] "cargo:rustc-link-search=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin", [opencv 0.53.0] "cargo:rustc-link-search=framework=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin", [opencv 0.53.0] "cargo:rustc-link-lib=framework=opencv2", [opencv 0.53.0] "cargo:rustc-link-lib=framework=OpenCL", [opencv 0.53.0] "cargo:rustc-link-lib=framework=Cocoa", [opencv 0.53.0] "cargo:rustc-link-lib=framework=Accelerate", [opencv 0.53.0] "cargo:rustc-link-lib=framework=AVFoundation", [opencv 0.53.0] "cargo:rustc-link-lib=framework=CoreGraphics", [opencv 0.53.0] "cargo:rustc-link-lib=framework=CoreMedia", [opencv 0.53.0] "cargo:rustc-link-lib=framework=CoreVideo", [opencv 0.53.0] "cargo:rustc-link-lib=framework=QuartzCore", [opencv 0.53.0] "cargo:rustc-link-lib=clang_rt.osx", [opencv 0.53.0] ], [opencv 0.53.0] } [opencv 0.53.0] cargo:rustc-cfg=ocvrs_opencv_branch_4 [opencv 0.53.0] === Found OpenCV version: 4.5.2 in headers located at: /Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include [opencv 0.53.0] cargo:rerun-if-env-changed=OPENCV_PACKAGE_NAME [opencv 0.53.0] cargo:rerun-if-env-changed=OPENCV_PKGCONFIG_NAME [opencv 0.53.0] cargo:rerun-if-env-changed=OPENCV_CMAKE_NAME [opencv 0.53.0] cargo:rerun-if-env-changed=OPENCV_CMAKE_BIN [opencv 0.53.0] cargo:rerun-if-env-changed=OPENCV_VCPKG_NAME [opencv 0.53.0] cargo:rerun-if-env-changed=OPENCV_LINK_LIBS [opencv 0.53.0] cargo:rerun-if-env-changed=OPENCV_LINK_PATHS [opencv 0.53.0] cargo:rerun-if-env-changed=OPENCV_INCLUDE_PATHS [opencv 0.53.0] cargo:rerun-if-env-changed=OPENCV_DISABLE_PROBES [opencv 0.53.0] cargo:rerun-if-env-changed=OPENCV_MODULE_WHITELIST [opencv 0.53.0] cargo:rerun-if-env-changed=OPENCV_MODULE_BLACKLIST [opencv 0.53.0] cargo:rerun-if-env-changed=CMAKE_PREFIX_PATH [opencv 0.53.0] cargo:rerun-if-env-changed=OpenCV_DIR [opencv 0.53.0] cargo:rerun-if-env-changed=PKG_CONFIG_PATH [opencv 0.53.0] cargo:rerun-if-env-changed=VCPKG_ROOT [opencv 0.53.0] cargo:rerun-if-env-changed=VCPKGRS_DYNAMIC [opencv 0.53.0] cargo:rerun-if-changed=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/bioinspired.hpp [opencv 0.53.0] cargo:rerun-if-changed=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/manual-features2d.cpp [opencv 0.53.0] cargo:rerun-if-changed=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/gapi.hpp [opencv 0.53.0] cargo:rerun-if-changed=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/face.hpp [opencv 0.53.0] cargo:rerun-if-changed=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/manual-dnn.cpp [opencv 0.53.0] cargo:rerun-if-changed=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/sfm.hpp [opencv 0.53.0] cargo:rerun-if-changed=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/hdf.hpp [opencv 0.53.0] cargo:rerun-if-changed=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/xfeatures2d.hpp [opencv 0.53.0] cargo:rerun-if-changed=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/photo.hpp [opencv 0.53.0] cargo:rerun-if-changed=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/alphamat.hpp [opencv 0.53.0] cargo:rerun-if-changed=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/ccalib.hpp [opencv 0.53.0] cargo:rerun-if-changed=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/dnn.hpp [opencv 0.53.0] cargo:rerun-if-changed=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/videoio.hpp [opencv 0.53.0] cargo:rerun-if-changed=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/manual-core.cpp [opencv 0.53.0] cargo:rerun-if-changed=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/core.hpp [opencv 0.53.0] cargo:rerun-if-changed=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/ocvrs_common.hpp [opencv 0.53.0] cargo:rerun-if-changed=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/aruco.hpp [opencv 0.53.0] === Generating code in: /Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out [opencv 0.53.0] === Placing generated bindings into: /Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src/opencv [opencv 0.53.0] === Using OpenCV headers from: /Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include/opencv2 [opencv 0.53.0] === Clang: Apple clang version 12.0.0 (clang-1200.0.32.29) [opencv 0.53.0] === Clang command line args: [ [opencv 0.53.0] "-isystem/usr/local/include", [opencv 0.53.0] "-isystem/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1", [opencv 0.53.0] "-isystem/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include", [opencv 0.53.0] "-isystem/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include", [opencv 0.53.0] "-isystem/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include", [opencv 0.53.0] "-isystem/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks", [opencv 0.53.0] "-I/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include", [opencv 0.53.0] "-I/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp", [opencv 0.53.0] "-DOCVRS_PARSING_HEADERS", [opencv 0.53.0] "-includeocvrs_ephemeral.hpp", [opencv 0.53.0] "-std=c++14", [opencv 0.53.0] ] [opencv 0.53.0] === Generated: alphamat [opencv 0.53.0] === Generated: dpm [opencv 0.53.0] === Generated: dnn_superres [opencv 0.53.0] === Generated: bgsegm [opencv 0.53.0] === Generated: bioinspired [opencv 0.53.0] === Generated: aruco [opencv 0.53.0] === Generated: ccalib [opencv 0.53.0] === Generated: fuzzy [opencv 0.53.0] === Generated: hfs [opencv 0.53.0] === Generated: face [opencv 0.53.0] === Generated: features2d [opencv 0.53.0] === Generated: flann [opencv 0.53.0] === Generated: img_hash [opencv 0.53.0] === Generated: highgui [opencv 0.53.0] === Generated: imgcodecs [opencv 0.53.0] === Generated: intensity_transform [opencv 0.53.0] === Generated: calib3d [opencv 0.53.0] === Generated: phase_unwrapping [opencv 0.53.0] === Generated: mcc [opencv 0.53.0] === Generated: line_descriptor [opencv 0.53.0] === Generated: plot [opencv 0.53.0] === Generated: dnn [opencv 0.53.0] === Generated: optflow [opencv 0.53.0] === Generated: photo [opencv 0.53.0] === Generated: objdetect [opencv 0.53.0] === Generated: ml [opencv 0.53.0] === Generated: quality [opencv 0.53.0] === Generated: rapid [opencv 0.53.0] === Generated: saliency [opencv 0.53.0] === Generated: imgproc [opencv 0.53.0] === Generated: stereo [opencv 0.53.0] === Generated: shape [opencv 0.53.0] === Generated: sfm [opencv 0.53.0] === Generated: superres [opencv 0.53.0] === Generated: structured_light [opencv 0.53.0] === Generated: surface_matching [opencv 0.53.0] === Generated: tracking [opencv 0.53.0] === Generated: wechat_qrcode [opencv 0.53.0] === Generated: world [opencv 0.53.0] === Generated: videoio [opencv 0.53.0] === Generated: text [opencv 0.53.0] === Generated: video [opencv 0.53.0] === Generated: rgbd [opencv 0.53.0] === Generated: xobjdetect [opencv 0.53.0] === Generated: xfeatures2d [opencv 0.53.0] === Generated: xphoto [opencv 0.53.0] === Generated: videostab [opencv 0.53.0] === Generated: ximgproc [opencv 0.53.0] === Generated: stitching [opencv 0.53.0] === Generated: core [opencv 0.53.0] === Total binding generation time: 15.873858009s [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_sys [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_types [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_alphamat [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_aruco [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_bgsegm [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_bioinspired [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_calib3d [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_ccalib [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_core [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_dnn [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_dnn_superres [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_dpm [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_face [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_features2d [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_flann [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_fuzzy [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_hfs [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_highgui [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_img_hash [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_imgcodecs [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_imgproc [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_intensity_transform [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_line_descriptor [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_mcc [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_ml [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_objdetect [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_optflow [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_phase_unwrapping [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_photo [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_plot [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_quality [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_rapid [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_rgbd [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_saliency [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_sfm [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_shape [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_stereo [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_stitching [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_structured_light [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_superres [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_surface_matching [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_text [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_tracking [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_video [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_videoio [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_videostab [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_wechat_qrcode [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_world [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_xfeatures2d [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_ximgproc [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_xobjdetect [opencv 0.53.0] cargo:rustc-cfg=ocvrs_has_module_xphoto [opencv 0.53.0] TARGET = Some("x86_64-apple-darwin") [opencv 0.53.0] OPT_LEVEL = Some("0") [opencv 0.53.0] HOST = Some("x86_64-apple-darwin") [opencv 0.53.0] CXX_x86_64-apple-darwin = None [opencv 0.53.0] CXX_x86_64_apple_darwin = None [opencv 0.53.0] HOST_CXX = None [opencv 0.53.0] CXX = None [opencv 0.53.0] CXXFLAGS_x86_64-apple-darwin = None [opencv 0.53.0] CXXFLAGS_x86_64_apple_darwin = None [opencv 0.53.0] HOST_CXXFLAGS = None [opencv 0.53.0] CXXFLAGS = None [opencv 0.53.0] CRATE_CC_NO_DEFAULTS = None [opencv 0.53.0] DEBUG = Some("true") [opencv 0.53.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,sse3,ssse3") [opencv 0.53.0] CXX_x86_64-apple-darwin = None [opencv 0.53.0] CXX_x86_64_apple_darwin = None [opencv 0.53.0] HOST_CXX = None [opencv 0.53.0] CXX = None [opencv 0.53.0] CXXFLAGS_x86_64-apple-darwin = None [opencv 0.53.0] CXXFLAGS_x86_64_apple_darwin = None [opencv 0.53.0] HOST_CXXFLAGS = None [opencv 0.53.0] CXXFLAGS = None [opencv 0.53.0] CRATE_CC_NO_DEFAULTS = None [opencv 0.53.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,sse3,ssse3") [opencv 0.53.0] CXX_x86_64-apple-darwin = None [opencv 0.53.0] CXX_x86_64_apple_darwin = None [opencv 0.53.0] HOST_CXX = None [opencv 0.53.0] CXX = None [opencv 0.53.0] CXXFLAGS_x86_64-apple-darwin = None [opencv 0.53.0] CXXFLAGS_x86_64_apple_darwin = None [opencv 0.53.0] HOST_CXXFLAGS = None [opencv 0.53.0] CXXFLAGS = None [opencv 0.53.0] CRATE_CC_NO_DEFAULTS = None [opencv 0.53.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,sse3,ssse3") [opencv 0.53.0] CXX_x86_64-apple-darwin = None [opencv 0.53.0] CXX_x86_64_apple_darwin = None [opencv 0.53.0] HOST_CXX = None [opencv 0.53.0] CXX = None [opencv 0.53.0] CXXFLAGS_x86_64-apple-darwin = None [opencv 0.53.0] CXXFLAGS_x86_64_apple_darwin = None [opencv 0.53.0] HOST_CXXFLAGS = None [opencv 0.53.0] CXXFLAGS = None [opencv 0.53.0] CRATE_CC_NO_DEFAULTS = None [opencv 0.53.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,sse3,ssse3") [opencv 0.53.0] CXX_x86_64-apple-darwin = None [opencv 0.53.0] CXX_x86_64_apple_darwin = None [opencv 0.53.0] HOST_CXX = None [opencv 0.53.0] CXX = None [opencv 0.53.0] CXXFLAGS_x86_64-apple-darwin = None [opencv 0.53.0] CXXFLAGS_x86_64_apple_darwin = None [opencv 0.53.0] HOST_CXXFLAGS = None [opencv 0.53.0] CXXFLAGS = None [opencv 0.53.0] CRATE_CC_NO_DEFAULTS = None [opencv 0.53.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,sse3,ssse3") [opencv 0.53.0] CXX_x86_64-apple-darwin = None [opencv 0.53.0] CXX_x86_64_apple_darwin = None [opencv 0.53.0] HOST_CXX = None [opencv 0.53.0] CXX = None [opencv 0.53.0] CXXFLAGS_x86_64-apple-darwin = None [opencv 0.53.0] CXXFLAGS_x86_64_apple_darwin = None [opencv 0.53.0] HOST_CXXFLAGS = None [opencv 0.53.0] CXXFLAGS = None [opencv 0.53.0] CRATE_CC_NO_DEFAULTS = None [opencv 0.53.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,sse3,ssse3") [opencv 0.53.0] CXX_x86_64-apple-darwin = None [opencv 0.53.0] CXX_x86_64_apple_darwin = None [opencv 0.53.0] HOST_CXX = None [opencv 0.53.0] CXX = None [opencv 0.53.0] CXXFLAGS_x86_64-apple-darwin = None [opencv 0.53.0] CXXFLAGS_x86_64_apple_darwin = None [opencv 0.53.0] HOST_CXXFLAGS = None [opencv 0.53.0] CXXFLAGS = None [opencv 0.53.0] CRATE_CC_NO_DEFAULTS = None [opencv 0.53.0] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,sse3,ssse3") [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/manual-dnn.o" "-c" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/manual-dnn.cpp" [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/bioinspired.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/bioinspired.cpp" [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/dnn.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/dnn.cpp" [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/core.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/core.cpp" [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/aruco.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/aruco.cpp" [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/dnn_superres.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/dnn_superres.cpp" [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/manual-core.o" "-c" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/manual-core.cpp" [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/calib3d.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/calib3d.cpp" [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/alphamat.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/alphamat.cpp" [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/dpm.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/dpm.cpp" [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/bgsegm.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/bgsegm.cpp" [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/ccalib.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/ccalib.cpp" [opencv 0.53.0] cargo:warning=In file included from /Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/manual-dnn.cpp:1: [opencv 0.53.0] cargo:warning=In file included from /Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/dnn.hpp:7: [opencv 0.53.0] cargo:warning=/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include/opencv2/dnn/shape_utils.hpp:248:33: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] [opencv 0.53.0] cargo:warning= for (size_t i = startPos; i < endPos; i++) [opencv 0.53.0] cargo:warning= ~ ^ ~~ [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/face.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/face.cpp" [opencv 0.53.0] cargo:warning=In file included from /Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/dnn.cpp:1: [opencv 0.53.0] cargo:warning=In file included from /Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/dnn.hpp:7: [opencv 0.53.0] cargo:warning=/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include/opencv2/dnn/shape_utils.hpp:248:33: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] [opencv 0.53.0] cargo:warning= for (size_t i = startPos; i < endPos; i++) [opencv 0.53.0] cargo:warning= ~ ^ ~~ [opencv 0.53.0] cargo:warning=1 warning generated. [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/features2d.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/features2d.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/manual-features2d.o" "-c" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/manual-features2d.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/flann.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/flann.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/fuzzy.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/fuzzy.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/hfs.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/hfs.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/highgui.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/highgui.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/img_hash.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/img_hash.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/imgcodecs.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/imgcodecs.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/imgproc.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/imgproc.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/intensity_transform.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/intensity_transform.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/line_descriptor.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/line_descriptor.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/mcc.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/mcc.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/ml.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/ml.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/objdetect.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/objdetect.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/optflow.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/optflow.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/phase_unwrapping.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/phase_unwrapping.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/photo.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/photo.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/plot.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/plot.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/quality.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/quality.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/rapid.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/rapid.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/rgbd.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/rgbd.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/saliency.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/saliency.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/sfm.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/sfm.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/shape.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/shape.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/stereo.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/stereo.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/stitching.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/stitching.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/structured_light.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/structured_light.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/superres.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/superres.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/surface_matching.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/surface_matching.cpp" [opencv 0.53.0] cargo:warning=In file included from /Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/saliency.cpp:2: [opencv 0.53.0] cargo:warning=In file included from /Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include/opencv2/saliency.hpp:46: [opencv 0.53.0] cargo:warning=/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include/opencv2/saliency/saliencySpecializedClasses.hpp:311:16: warning: 'cv::saliency::ObjectnessBING::read' hides overloaded virtual function [-Woverloaded-virtual] [opencv 0.53.0] cargo:warning= CV_WRAP void read(); [opencv 0.53.0] cargo:warning= ^ [opencv 0.53.0] cargo:warning=/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include/opencv2/core.hpp:3111:26: note: hidden overloaded virtual function 'cv::Algorithm::read' declared here: different number of parameters (1 vs 0) [opencv 0.53.0] cargo:warning= CV_WRAP virtual void read(const FileNode& fn) { CV_UNUSED(fn); } [opencv 0.53.0] cargo:warning= ^ [opencv 0.53.0] cargo:warning=In file included from /Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/saliency.cpp:2: [opencv 0.53.0] cargo:warning=In file included from /Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include/opencv2/saliency.hpp:46: [opencv 0.53.0] cargo:warning=/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include/opencv2/saliency/saliencySpecializedClasses.hpp:312:16: warning: 'cv::saliency::ObjectnessBING::write' hides overloaded virtual function [-Woverloaded-virtual] [opencv 0.53.0] cargo:warning= CV_WRAP void write() const; [opencv 0.53.0] cargo:warning= ^ [opencv 0.53.0] cargo:warning=/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include/opencv2/core.hpp:3102:18: note: hidden overloaded virtual function 'cv::Algorithm::write' declared here: different number of parameters (1 vs 0) [opencv 0.53.0] cargo:warning= virtual void write(FileStorage& fs) const { CV_UNUSED(fs); } [opencv 0.53.0] cargo:warning= ^ [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/text.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/text.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/tracking.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/tracking.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/video.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/video.cpp" [opencv 0.53.0] cargo:warning=1 warning generated. [opencv 0.53.0] cargo:warning=2 warnings generated. [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/videoio.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/videoio.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/videostab.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/videostab.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/wechat_qrcode.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/wechat_qrcode.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/world.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/world.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/xfeatures2d.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/xfeatures2d.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/ximgproc.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/ximgproc.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/xobjdetect.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/xobjdetect.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp" "-I" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-I" "." "-I" "/Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-unused-variable" "-Wno-return-type-c-linkage" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/xphoto.o" "-c" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/xphoto.cpp" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] exit code: 0 [opencv 0.53.0] exit code: 0 [opencv 0.53.0] exit code: 0 [opencv 0.53.0] exit code: 0 [opencv 0.53.0] exit code: 0 [opencv 0.53.0] exit code: 0 [opencv 0.53.0] exit code: 0 [opencv 0.53.0] exit code: 0 [opencv 0.53.0] exit code: 0 [opencv 0.53.0] exit code: 0 [opencv 0.53.0] exit code: 0 [opencv 0.53.0] AR_x86_64-apple-darwin = None [opencv 0.53.0] AR_x86_64_apple_darwin = None [opencv 0.53.0] HOST_AR = None [opencv 0.53.0] AR = None [opencv 0.53.0] running: "ar" "cq" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/libocvrs.a" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/alphamat.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/aruco.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/bgsegm.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/bioinspired.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/calib3d.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/ccalib.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/core.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/manual-core.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/dnn.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/manual-dnn.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/dnn_superres.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/dpm.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/face.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/features2d.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/manual-features2d.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/flann.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/fuzzy.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/hfs.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/highgui.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/img_hash.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/imgcodecs.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/imgproc.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/intensity_transform.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/line_descriptor.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/mcc.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/ml.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/objdetect.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/optflow.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/phase_unwrapping.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/photo.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/plot.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/quality.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/rapid.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/rgbd.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/saliency.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/sfm.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/shape.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/stereo.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/stitching.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/structured_light.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/superres.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/surface_matching.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/text.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/tracking.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/video.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/videoio.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/videostab.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/wechat_qrcode.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/world.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/xfeatures2d.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/ximgproc.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/xobjdetect.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/xphoto.o" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] running: "ar" "s" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/libocvrs.a" [opencv 0.53.0] exit code: 0 [opencv 0.53.0] cargo:rustc-link-lib=static=ocvrs [opencv 0.53.0] cargo:rustc-link-search=native=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out [opencv 0.53.0] CXXSTDLIB_x86_64-apple-darwin = None [opencv 0.53.0] CXXSTDLIB_x86_64_apple_darwin = None [opencv 0.53.0] HOST_CXXSTDLIB = None [opencv 0.53.0] CXXSTDLIB = None [opencv 0.53.0] cargo:rustc-link-lib=c++ [opencv 0.53.0] cargo:rustc-link-search=/Users/donny/build/opencv/opencv-4.5.2-build [opencv 0.53.0] cargo:rustc-link-search=framework=/Users/donny/build/opencv/opencv-4.5.2-build [opencv 0.53.0] cargo:rustc-link-search=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin [opencv 0.53.0] cargo:rustc-link-search=framework=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin [opencv 0.53.0] cargo:rustc-link-lib=framework=opencv2 [opencv 0.53.0] cargo:rustc-link-lib=framework=OpenCL [opencv 0.53.0] cargo:rustc-link-lib=framework=Cocoa [opencv 0.53.0] cargo:rustc-link-lib=framework=Accelerate [opencv 0.53.0] cargo:rustc-link-lib=framework=AVFoundation [opencv 0.53.0] cargo:rustc-link-lib=framework=CoreGraphics [opencv 0.53.0] cargo:rustc-link-lib=framework=CoreMedia [opencv 0.53.0] cargo:rustc-link-lib=framework=CoreVideo [opencv 0.53.0] cargo:rustc-link-lib=framework=QuartzCore [opencv 0.53.0] cargo:rustc-link-lib=clang_rt.osx warning: In file included from /Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/manual-dnn.cpp:1: warning: In file included from /Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/dnn.hpp:7: warning: /Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include/opencv2/dnn/shape_utils.hpp:248:33: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] warning: for (size_t i = startPos; i < endPos; i++) warning: ~ ^ ~~ warning: In file included from /Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/dnn.cpp:1: warning: In file included from /Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src_cpp/dnn.hpp:7: warning: /Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include/opencv2/dnn/shape_utils.hpp:248:33: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] warning: for (size_t i = startPos; i < endPos; i++) warning: ~ ^ ~~ warning: 1 warning generated. warning: In file included from /Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/saliency.cpp:2: warning: In file included from /Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include/opencv2/saliency.hpp:46: warning: /Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include/opencv2/saliency/saliencySpecializedClasses.hpp:311:16: warning: 'cv::saliency::ObjectnessBING::read' hides overloaded virtual function [-Woverloaded-virtual] warning: CV_WRAP void read(); warning: ^ warning: /Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include/opencv2/core.hpp:3111:26: note: hidden overloaded virtual function 'cv::Algorithm::read' declared here: different number of parameters (1 vs 0) warning: CV_WRAP virtual void read(const FileNode& fn) { CV_UNUSED(fn); } warning: ^ warning: In file included from /Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out/saliency.cpp:2: warning: In file included from /Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include/opencv2/saliency.hpp:46: warning: /Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include/opencv2/saliency/saliencySpecializedClasses.hpp:312:16: warning: 'cv::saliency::ObjectnessBING::write' hides overloaded virtual function [-Woverloaded-virtual] warning: CV_WRAP void write() const; warning: ^ warning: /Users/donny/build/opencv/opencv-4.5.2-build/build/build-x86_64-macosx/install/include/opencv2/core.hpp:3102:18: note: hidden overloaded virtual function 'cv::Algorithm::write' declared here: different number of parameters (1 vs 0) warning: virtual void write(FileStorage& fs) const { CV_UNUSED(fs); } warning: ^ warning: 1 warning generated. warning: 2 warnings generated. Running CARGO=/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_CRATE_NAME=opencv CARGO_MANIFEST_DIR=/Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0 CARGO_PKG_AUTHORS='Pro <twisted.fall@gmail.com>:Mathieu Poumeyrol <kali@zoy.org>' CARGO_PKG_DESCRIPTION='Rust bindings for OpenCV' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=opencv CARGO_PKG_REPOSITORY='https://github.com/twistedfall/opencv-rust' CARGO_PKG_VERSION=0.53.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=53 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DYLD_FALLBACK_LIBRARY_PATH='/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps:/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain//usr/lib/' OUT_DIR=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out rustc --crate-name opencv --edition=2018 /Users/donny/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/opencv-0.53.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=ac1713889203ca8a -C extra-filename=-ac1713889203ca8a --out-dir /Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps -L dependency=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps --extern libc=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/liblibc-1b3669667057fa67.rmeta --extern num_traits=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libnum_traits-4ddd35f08df8b4f4.rmeta --extern once_cell=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libonce_cell-6bb1ece9b7a630d7.rmeta --cap-lints warn -L native=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out -L /Users/donny/build/opencv/opencv-4.5.2-build -L framework=/Users/donny/build/opencv/opencv-4.5.2-build -L /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin -L framework=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin --cfg ocvrs_opencv_branch_4 --cfg ocvrs_has_module_sys --cfg ocvrs_has_module_types --cfg ocvrs_has_module_alphamat --cfg ocvrs_has_module_aruco --cfg ocvrs_has_module_bgsegm --cfg ocvrs_has_module_bioinspired --cfg ocvrs_has_module_calib3d --cfg ocvrs_has_module_ccalib --cfg ocvrs_has_module_core --cfg ocvrs_has_module_dnn --cfg ocvrs_has_module_dnn_superres --cfg ocvrs_has_module_dpm --cfg ocvrs_has_module_face --cfg ocvrs_has_module_features2d --cfg ocvrs_has_module_flann --cfg ocvrs_has_module_fuzzy --cfg ocvrs_has_module_hfs --cfg ocvrs_has_module_highgui --cfg ocvrs_has_module_img_hash --cfg ocvrs_has_module_imgcodecs --cfg ocvrs_has_module_imgproc --cfg ocvrs_has_module_intensity_transform --cfg ocvrs_has_module_line_descriptor --cfg ocvrs_has_module_mcc --cfg ocvrs_has_module_ml --cfg ocvrs_has_module_objdetect --cfg ocvrs_has_module_optflow --cfg ocvrs_has_module_phase_unwrapping --cfg ocvrs_has_module_photo --cfg ocvrs_has_module_plot --cfg ocvrs_has_module_quality --cfg ocvrs_has_module_rapid --cfg ocvrs_has_module_rgbd --cfg ocvrs_has_module_saliency --cfg ocvrs_has_module_sfm --cfg ocvrs_has_module_shape --cfg ocvrs_has_module_stereo --cfg ocvrs_has_module_stitching --cfg ocvrs_has_module_structured_light --cfg ocvrs_has_module_superres --cfg ocvrs_has_module_surface_matching --cfg ocvrs_has_module_text --cfg ocvrs_has_module_tracking --cfg ocvrs_has_module_video --cfg ocvrs_has_module_videoio --cfg ocvrs_has_module_videostab --cfg ocvrs_has_module_wechat_qrcode --cfg ocvrs_has_module_world --cfg ocvrs_has_module_xfeatures2d --cfg ocvrs_has_module_ximgproc --cfg ocvrs_has_module_xobjdetect --cfg ocvrs_has_module_xphoto -l static=ocvrs -l c++ -l framework=opencv2 -l framework=OpenCL -l framework=Cocoa -l framework=Accelerate -l framework=AVFoundation -l framework=CoreGraphics -l framework=CoreMedia -l framework=CoreVideo -l framework=QuartzCore -l clang_rt.osx Compiling rust-pytorch v0.1.0 (/Library/Stacks/development/rust/workspace/rust-pytorch) Running CARGO=/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_BIN_NAME=rust-pytorch CARGO_CRATE_NAME=rust_pytorch CARGO_MANIFEST_DIR=/Library/Stacks/development/rust/workspace/rust-pytorch CARGO_PKG_AUTHORS='杨栋栋 <yangdongdong@mail.open.com.cn>' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='' CARGO_PKG_LICENSELE='' CARGO_PKG_NAME=rust-pytorch CARGO_PKG_REPOSITORY='' CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 DYLD_FALLBACK_LIBRARY_PATH='/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps:/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain//usr/lib/' rustc --crate-name rust_pytorch --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=c7e5dfee0790658a --out-dir /Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps -C incremental=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/incremental -L dependency=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps --extern anyhow=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libanyhow-1bf95afa5641a84d.rlib --extern opencv=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libopencv-ac1713889203ca8a.rlib --extern tch=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libtch-1028c3cca1e1c2df.rlib -L native=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out -L /Users/donny/build/opencv/opencv-4.5.2-build -L framework=/Users/donny/build/opencv/opencv-4.5.2-build -L /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin -L framework=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin -L native=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/torch-sys-5bbeab3339f84cd9/out/libtorch/libtorch/lib -L native=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/torch-sys-5bbeab3339f84cd9/out -L native=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/bzip2-sys-4dcafaa9a9dc71ba/out/lib warning: unused import: Tensor --> src/main.rs:4:29 4 use tch::{TrainableCModule, Tensor, Kind}; ^^^^^^

= note: #[warn(unused_imports)] on by default

warning: unused import: tch::kind::Kind::Float --> src/main.rs:8:5 | 8 | use tch::kind::Kind::Float; | ^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: opencv::prelude::Mat --> src/main.rs:9:5 | 9 | use opencv::prelude::Mat; | ^^^^^^^^^^^^^^^^^^^^

warning: unused variable: template --> src/main.rs:84:9 84 let mut template = imgcodecs::imread("/Users/donny/Downloads/photo_cut.jpg", imgcodecs::IMREAD_COLOR)?; ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: _template

= note: #[warn(unused_variables)] on by default

warning: unused variable: image2 --> src/main.rs:99:9 | 99 | let image2 = image2.data(); | ^^^^^^ help: if this is intentional, prefix it with an underscore: _image2

warning: unused variable: output1 --> src/main.rs:101:9 | 101 | let output1 = module.forward(&image1); | ^^^^^^^ help: if this is intentional, prefix it with an underscore: _output1

warning: variable does not need to be mutable --> src/main.rs:84:9 84 let mut template = imgcodecs::imread("/Users/donny/Downloads/photo_cut.jpg", imgcodecs::IMREAD_COLOR)?; ----^^^^^^^^
help: remove this mut

= note: #[warn(unused_mut)] on by default

warning: function is never used: train_and_save_model --> src/main.rs:13:4 13 fn train_and_save_model(dataset: &Dataset, device: Device) -> Result<()> { ^^^^^^^^^^^^^^^^^^^^

= note: #[warn(dead_code)] on by default

warning: function is never used: load_trained_and_test_acc --> src/main.rs:50:4 | 50 | fn load_trained_and_test_acc(dataset: &Dataset, device: Device) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^

error: linking with cc failed: exit code: 1 | = note: "cc" "-m64" "-arch" "x86_64" "-L" "/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.101ijwpihlc0egw0.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.12bzgw0zr9dkl1xb.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.16jasmjyh8jp58qy.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.1msm6br2v164lwb4.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.1npt7gelb8rbeivr.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.1uvpxl82mfpf2qkc.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.1zfw9g8tl8yi9oru.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.2388yz0v6j70gtiv.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.2dbvftwpcp2p7ovb.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.2gkhugomytts3rfe.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.2nctinwptuhs9hjs.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.2u2rj3r9r7e560jr.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.2yn2jeusqyc6ohyc.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.3cda9bcy4fpgfrux.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.3iett2p3q7bhk16j.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.3ufo4w93jk4yv7es.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.3w9vlg7bj1like6g.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.40945xiieg7kppp8.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.41zqccdzl1kz9de2.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.43h19iult5dpqklb.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.4eby5cpc3niyrwjf.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.4ha589zzhhwan8lj.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.4n5huv44mmf30yif.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.4sod4g9sfwo4exer.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.4tq55c5a6utzszfj.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.4uh1xldbeeqy6jbd.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.4ulnjb7rkviy5ux5.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.4y12inuba7842bsz.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.519iotw91tsp2wni.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.54enzeumf39ervvj.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.589j8d2d23l7ldwp.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.58pi6mwfdgqimnp8.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.5cwd27b66zznccpa.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.aycide3nkcz1lxz.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.c8v7si28ib366fj.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.oqvd6fvj5gblc1j.rcgu.o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.pyjrezwjpyp0q4x.rcgu.o" "-o" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/rust_pytorch.44cvfszq2lgdpmbk.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps" "-L" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out" "-L" "/Users/donny/build/opencv/opencv-4.5.2-build" "-F" "/Users/donny/build/opencv/opencv-4.5.2-build" "-L" "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin" "-F" "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin" "-L" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/torch-sys-5bbeab3339f84cd9/out/libtorch/libtorch/lib" "-L" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/torch-sys-5bbeab3339f84cd9/out" "-L" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/bzip2-sys-4dcafaa9a9dc71ba/out/lib" "-L" "/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libopencv-ac1713889203ca8a.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libtch-1028c3cca1e1c2df.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libndarray-49a0433f920fb366.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libmatrixmultiply-eb8094ac3bc2ca2c.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libnum_complex-36cc111130e3558e.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libnum_integer-8a08247a7ef6e99a.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libnum_traits-4ddd35f08df8b4f4.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/librawpointer-5a16db748d5008dd.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/librand-cc9e4c9fecbeb07e.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/librand_chacha-20d19a536eba1ff3.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libppv_lite86-ec3863be1acbdfaa.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/librand_core-14bfc0275984bbc7.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libgetrandom-63234f3260431729.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libhalf-c474c757b3ee8146.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libtorch_sys-d9b0f0604149b97b.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libzip-33412531f1f518a2.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libtime-7e170033ee08bf0e.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libbzip2-415f020fea09e7c3.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libbzip2_sys-84223cdd2d14c9d9.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libflate2-b0fbd9e26c5f488b.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libminiz_oxide-1ef089fb9e6b70dd.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libadler-11f8dee30512cd63.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libbyteorder-d1cec0e37b7a073d.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libcrc32fast-1ea1d1388f3a1c1f.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libcfg_if-33d5df19792096bf.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libthiserror-e5afbb4a73402c70.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/liblibc-1b3669667057fa67.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/liblazy_static-637263dce3ffa177.rlib" "/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libanyhow-1bf95afa5641a84d.rlib" "/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-abe443acf5b6ec18.rlib" "/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-76bce8edb1686aec.rlib" "/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libobject-f530a0cc97ba92da.rlib" "/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libaddr2line-2b293b221f38f6d4.rlib" "/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libgimli-3ac8376ce3231384.rlib" "/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-a4dde5aa1a7a7058.rlib" "/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-bfc8b512879aca30.rlib" "/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-0e463f50e285c3b5.rlib" "/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-e247ea89e02b4e0e.rlib" "/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcfg_if-591a27c9256973fe.rlib" "/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-3bbb6d478aa8f0bc.rlib" "/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-3b92582b4d29b2e5.rlib" "/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-4300eea4f16191a8.rlib" "/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-8892173c51407c3f.rlib" "/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-57851e98e05f8123.rlib" "-lc++" "-framework" "opencv2" "-framework" "OpenCL" "-framework" "Cocoa" "-framework" "Accelerate" "-framework" "AVFoundation" "-framework" "CoreGraphics" "-framework" "CoreMedia" "-framework" "CoreVideo" "-framework" "QuartzCore" "-lclang_rt.osx" "-lc++" "-ltorch" "-ltorch_cpu" "-lc10" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" = note: Undefined symbols for architecture x86_64: "_av_guess_format", referenced from: CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_avformat_get_riff_video_tags", referenced from: CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_avformat_get_mov_video_tags", referenced from: CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_av_codec_get_id", referenced from: CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_av_codec_get_tag", referenced from: CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_av_malloc", referenced from: CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_avcodec_find_encoder", referenced from: CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_av_buffer_ref", referenced from: CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_avio_open", referenced from: CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_avcodec_descriptor_get_by_name", referenced from: CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_avformat_write_header", referenced from: CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_av_write_trailer", referenced from: CvVideoWriter_FFMPEG::close() in opencv2(cap_ffmpeg.o) "_avcodec_get_hw_frames_parameters", referenced from: hw_create_frames(AVCodecContext, AVBufferRef, int, int, AVPixelFormat) in opencv2(cap_ffmpeg.o) "_av_free", referenced from: CvVideoWriter_FFMPEG::close() in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_av_write_frame", referenced from: icv_av_write_frame_FFMPEG(AVFormatContext, AVStream, unsigned char, unsigned int, AVFrame, int) in opencv2(cap_ffmpeg.o) "_av_freep", referenced from: CvVideoWriter_FFMPEG::writeFrame(unsigned char const, int, int, int, int, int) in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::close() in opencv2(cap_ffmpeg.o) "_av_image_fill_arrays", referenced from: CvVideoWriter_FFMPEG::writeFrame(unsigned char const, int, int, int, int, int) in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_sws_getContext", referenced from: CvVideoWriter_FFMPEG::writeFrame(unsigned char const, int, int, int, int, int) in opencv2(cap_ffmpeg.o) "_av_hwframe_get_buffer", referenced from: CvVideoWriter_FFMPEG::writeFrame(unsigned char const, int, int, int, int, int) in opencv2(cap_ffmpeg.o) "_avcodec_get_name", referenced from: CvCapture_FFMPEG::getProperty(int) const in opencv2(cap_ffmpeg.o) "_avformat_free_context", referenced from: CvVideoWriter_FFMPEG::close() in opencv2(cap_ffmpeg.o) "_avcodec_pix_fmt_to_codec_tag", referenced from: CvCapture_FFMPEG::getProperty(int) const in opencv2(cap_ffmpeg.o) "_avcodec_send_frame", referenced from: icv_av_write_frame_FFMPEG(AVFormatContext, AVStream, unsigned char, unsigned int, AVFrame*, int) in opencv2(cap_ffmpeg.o) "_av_hwframe_transfer_data", referenced from: CvCapture_FFMPEG::retrieveFrame(int, unsigned char, int, int, int, int) in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::writeFrame(unsigned char const, int, int, int, int, int) in opencv2(cap_ffmpeg.o) "_av_hwframe_ctx_init", referenced from: hw_create_frames(AVCodecContext, AVBufferRef*, int, int, AVPixelFormat) in opencv2(cap_ffmpeg.o) "_av_read_frame", referenced from: CvCapture_FFMPEG::grabFrame() in opencv2(cap_ffmpeg.o) "_sws_scale", referenced from: CvCapture_FFMPEG::retrieveFrame(int, unsigned char*, int, int, int, int) in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::writeFrame(unsigned char const, int, int, int, int, int) in opencv2(cap_ffmpeg.o) "_avformat_open_input", referenced from: CvCapture_FFMPEG::open(char const, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) "_av_bsf_receive_packet", referenced from: CvCapture_FFMPEG::processRawPacket() in opencv2(cap_ffmpeg.o) "_av_bsf_send_packet", referenced from: CvCapture_FFMPEG::processRawPacket() in opencv2(cap_ffmpeg.o) "_av_log_set_callback", referenced from: InternalFFMpegRegister::init() in opencv2(cap_ffmpeg.o) InternalFFMpegRegister::~InternalFFMpegRegister() in opencv2(cap_ffmpeg.o) "_av_bsf_alloc", referenced from: CvCapture_FFMPEG::processRawPacket() in opencv2(cap_ffmpeg.o) "_avcodec_parameters_copy", referenced from: CvCapture_FFMPEG::processRawPacket() in opencv2(cap_ffmpeg.o) "_av_packet_unref", referenced from: CvCapture_FFMPEG::close() in opencv2(cap_ffmpeg.o) CvCapture_FFMPEG::processRawPacket() in opencv2(cap_ffmpeg.o) CvCapture_FFMPEG::grabFrame() in opencv2(cap_ffmpeg.o) "_av_codec_iterate", referenced from: CvCapture_FFMPEG::open(char const, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_av_bsf_init", referenced from: CvCapture_FFMPEG::processRawPacket() in opencv2(cap_ffmpeg.o) "_av_packet_free", referenced from: icv_av_write_frame_FFMPEG(AVFormatContext, AVStream, unsigned char, unsigned int, AVFrame, int) in opencv2(cap_ffmpeg.o) "_av_hwdevice_get_type_name", referenced from: hw_create_device(AVHWDeviceType, int, std::1::basic_string<char, std::__1::char_traits, std::1::allocator > const&) in opencv2(cap_ffmpeg.o) hw_check_codec(AVCodec, AVHWDeviceType, char const) in opencv2(cap_ffmpeg.o) "_avcodec_receive_packet", referenced from: icv_av_write_frame_FFMPEG(AVFormatContext, AVStream, unsigned char, unsigned int, AVFrame, int) in opencv2(cap_ffmpeg.o) "_av_seek_frame", referenced from: CvCapture_FFMPEG::seek(long long) in opencv2(cap_ffmpeg.o) "_av_frame_free", referenced from: CvCapture_FFMPEG::close() in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::writeFrame(unsigned char const, int, int, int, int, int) in opencv2(cap_ffmpeg.o) "_av_hwdevice_ctx_create_derived", referenced from: hw_create_device(AVHWDeviceType, int, std::1::basic_string<char, std::__1::char_traits, std::1::allocator > const&) in opencv2(cap_ffmpeg.o) "_avcodec_get_hw_config", referenced from: CvCapture_FFMPEG::open(char const, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) hw_get_format_callback(AVCodecContext, AVPixelFormat const) in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_av_hwdevice_find_type_by_name", referenced from: HWAccelIterator::parse_next() in opencv2(cap_ffmpeg.o) "_av_log_set_level", referenced from: InternalFFMpegRegister::init() in opencv2(cap_ffmpeg.o) "_av_dict_get", referenced from: CvCapture_FFMPEG::open(char const, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) HWAccelIterator::HWAccelIterator(cv::VideoAccelerationType, bool, AVDictionary) in opencv2(capffmpeg.o) HWAccelIterator::updateAccelList(std::1::basic_string<char, std::__1::char_traits, std::1::allocator >&, cv::VideoAccelerationType, bool, AVDictionary) in opencv2(cap_ffmpeg.o) "_avformat_network_init", referenced from: InternalFFMpegRegister::init() in opencv2(cap_ffmpeg.o) "_av_dict_free", referenced from: CvCapture_FFMPEG::close() in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_av_register_all", referenced from: InternalFFMpegRegister::init() in opencv2(cap_ffmpeg.o) "_avcodec_receive_frame", referenced from: CvCapture_FFMPEG::grabFrame() in opencv2(cap_ffmpeg.o) "_av_lockmgr_register", referenced from: InternalFFMpegRegister::init() in opencv2(cap_ffmpeg.o) InternalFFMpegRegister::~InternalFFMpegRegister() in opencv2(cap_ffmpeg.o) "_av_frame_get_buffer", referenced from: CvCapture_FFMPEG::retrieveFrame(int, unsigned char, int, int, int, int) in opencv2(cap_ffmpeg.o) "_av_image_get_buffer_size", referenced from: CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_avcodec_close", referenced from: CvCapture_FFMPEG::close() in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::close() in opencv2(cap_ffmpeg.o) "_av_buffer_unref", referenced from: CvCapture_FFMPEG::open(char const, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) hw_create_device(AVHWDeviceType, int, std::1::basic_string<char, std::__1::char_traits, std::1::allocator > const&) in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) hw_create_frames(AVCodecContext, AVBufferRef, int, int, AVPixelFormat) in opencv2(cap_ffmpeg.o) "_avformat_alloc_context", referenced from: CvCapture_FFMPEG::open(char const, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_av_hwframe_ctx_alloc", referenced from: hw_create_frames(AVCodecContext, AVBufferRef, int, int, AVPixelFormat) in opencv2(cap_ffmpeg.o) "_av_dict_parse_string", referenced from: CvCapture_FFMPEG::open(char const, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_avcodec_find_decoder", referenced from: CvCapture_FFMPEG::open(char const, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) "_av_dict_set", referenced from: CvCapture_FFMPEG::open(char const*, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) "_av_guess_sample_aspect_ratio", referenced from: CvCapture_FFMPEG::getProperty(int) const in opencv2(cap_ffmpeg.o) "_sws_getCachedContext", referenced from: CvCapture_FFMPEG::retrieveFrame(int, unsigned char, int, int, int, int) in opencv2(cap_ffmpeg.o) "_av_opt_set", referenced from: CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_av_bsf_get_by_name", referenced from: CvCapture_FFMPEG::processRawPacket() in opencv2(cap_ffmpeg.o) "_av_sub_q", referenced from: CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_avformat_find_stream_info", referenced from: CvCapture_FFMPEG::open(char const, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) "_avcodec_flush_buffers", referenced from: CvCapture_FFMPEG::seek(long long) in opencv2(cap_ffmpeg.o) "_avcodec_default_get_format", referenced from: CvCapture_FFMPEG::open(char const, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) "_av_codec_is_decoder", referenced from: CvCapture_FFMPEG::open(char const, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) "_av_bsf_free", referenced from: CvCapture_FFMPEG::close() in opencv2(cap_ffmpeg.o) "_av_packet_rescale_ts", referenced from: icv_av_write_frame_FFMPEG(AVFormatContext, AVStream, unsigned char, unsigned int, AVFrame, int) in opencv2(cap_ffmpeg.o) "_av_frame_alloc", referenced from: CvCapture_FFMPEG::open(char const, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) CvCapture_FFMPEG::retrieveFrame(int, unsigned char, int, int, int, int) in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::writeFrame(unsigned char const, int, int, int, int, int) in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_avio_close", referenced from: CvVideoWriter_FFMPEG::close() in opencv2(cap_ffmpeg.o) "_av_find_input_format", referenced from: CvCapture_FFMPEG::open(char const, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) "_av_guess_codec", referenced from: CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_avcodec_open2", referenced from: CvCapture_FFMPEG::open(char const, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_av_codec_is_encoder", referenced from: CvCapture_FFMPEG::open(char const, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_avcodec_find_decoder_by_name", referenced from: CvCapture_FFMPEG::open(char const, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) "_avformat_new_stream", referenced from: CvVideoWriter_FFMPEG::open(char const, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_sws_freeContext", referenced from: CvCapture_FFMPEG::close() in opencv2(cap_ffmpeg.o) CvVideoWriter_FFMPEG::close() in opencv2(cap_ffmpeg.o) "_avcodec_get_context_defaults3", referenced from: CvVideoWriter_FFMPEG::open(char const*, int, double, int, int, cv::VideoWriterParameters const&) in opencv2(cap_ffmpeg.o) "_avformat_close_input", referenced from: CvCapture_FFMPEG::close() in opencv2(cap_ffmpeg.o) "_avcodec_send_packet", referenced from: CvCapture_FFMPEG::grabFrame() in opencv2(cap_ffmpeg.o) "_av_frame_unref", referenced from: CvCapture_FFMPEG::close() in opencv2(cap_ffmpeg.o) CvCapture_FFMPEG::retrieveFrame(int, unsigned char*, int, int, int, int) in opencv2(cap_ffmpeg.o) "_av_mallocz", referenced from: CvVideoWriter_FFMPEG::writeFrame(unsigned char const, int, int, int, int, int) in opencv2(cap_ffmpeg.o) "_av_hwdevice_ctx_create", referenced from: hw_create_device(AVHWDeviceType, int, std::1::basic_string<char, std::__1::char_traits, std::1::allocator > const&) in opencv2(cap_ffmpeg.o) "_av_packet_alloc", referenced from: icv_av_write_frame_FFMPEG(AVFormatContext, AVStream, unsigned char, unsigned int, AVFrame, int) in opencv2(cap_ffmpeg.o) "_av_init_packet", referenced from: CvCapture_FFMPEG::close() in opencv2(cap_ffmpeg.o) cv::cvCreateFileCapture_FFMPEG_proxy(std::1::basic_string<char, std::__1::char_traits, std::1::allocator > const&, cv::VideoCaptureParameters const&) in opencv2(cap_ffmpeg.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

error: aborting due to previous error; 9 warnings emitted

error: could not compile rust-pytorch

Caused by: process didn't exit successfully: CARGO=/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo CARGO_BIN_NAME=rust-pytorch CARGO_CRATE_NAME=rust_pytorch CARGO_MANIFEST_DIR=/Library/Stacks/development/rust/workspace/rust-pytorch CARGO_PKG_AUTHORS='杨栋栋 <yangdongdong@mail.open.com.cn>' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICEN'' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=rust-pytorch CARGO_PKG_REPOSITORY='' CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 DYLD_FALLBACK_LIBRARY_PATH='/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps:/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Users/donny/.rustup/toolchains/stable-x86_64-apple-darwin/lib:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain//usr/lib/' rustc --crate-name rust_pytorch --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=c7e5dfee0790658a --out-dir /Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps -C incremental=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/incremental -L dependency=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps --extern anyhow=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libanyhow-1bf95afa5641a84d.rlib --extern opencv=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libopencv-ac1713889203ca8a.rlib --extern tch=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/deps/libtch-1028c3cca1e1c2df.rlib -L native=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/opencv-1b3ebdb7beaebcd3/out -L /Users/donny/build/opencv/opencv-4.5.2-build -L framework=/Users/donny/build/opencv/opencv-4.5.2-build -L /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin -L framework=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin -L native=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/torch-sys-5bbeab3339f84cd9/out/libtorch/libtorch/lib -L native=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/torch-sys-5bbeab3339f84cd9/out -L native=/Library/Stacks/development/rust/workspace/rust-pytorch/target/debug/build/bzip2-sys-4dcafaa9a9dc71ba/out/lib (exit code: 1)

twistedfall commented 3 years ago

From the looks of it, it seems like you built the OpenCV as macOS framework with ffmpeg support, but you are not linking the ffmpeg library. I’m not sure whether on macOS it’s also a framework or a conventional lib (like .o or .dylib), but you need to specify it in OPENCV_LINK_LIBS too.