twistedfall / opencv-rust

Rust bindings for OpenCV 3 & 4
MIT License
1.86k stars 144 forks source link

Build Failing on MacOS when using vcpkg #549

Closed CeNiEi closed 3 months ago

CeNiEi commented 4 months ago

When building OpenCV using vcpkg, the linker complains about some missing OpenCL symbols.

See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies] opencv = { version = "0.88.8", default-features = false, features = [ "imgcodecs", "imgproc", "clang-runtime", ] }

[package.metadata.vcpkg] git = "https://github.com/microsoft/vcpkg" rev = "fba75d0" dependencies = ["opencv4[core,jpeg,tiff]"]


Here is the error-

Undefined symbols for architecture arm64: "_clBuildProgram", referenced from: _clBuildProgram_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clBuildProgram_pfn) "_clCreateBuffer", referenced from: _clCreateBuffer_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clCreateBuffer_pfn) "_clCreateCommandQueue", referenced from: _clCreateCommandQueue_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clCreateCommandQueue_pfn) "_clCreateContext", referenced from: _clCreateContext_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clCreateContextFromType_pfn, _clCreateContext_pfn ) "_clCreateImage", referenced from: _clCreateImage_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clCreateImage_pfn, _clCreateImage2D_pfn , _clCreateImage3D_pfn ) "_clCreateImage2D", referenced from: _clCreateImage2D_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clCreateImage2D_pfn) "_clCreateKernel", referenced from: _clCreateKernel_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clCreateKernel_pfn, _clCreateKernelsInProgram_pfn ) "_clCreateProgramWithBinary", referenced from: _clCreateProgramWithBinary_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clCreateProgramWithBinary_pfn) "_clCreateProgramWithSource", referenced from: _clCreateProgramWithSource_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clCreateProgramWithSource_pfn) "_clEnqueueCopyBuffer", referenced from: _clEnqueueCopyBuffer_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clEnqueueCopyBufferToImage_pfn, _clEnqueueCopyBuffer_pfn , _clEnqueueCopyBufferRect_pfn ) "_clEnqueueCopyBufferRect", referenced from: _clEnqueueCopyBufferRect_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clEnqueueCopyBufferRect_pfn) "_clEnqueueCopyBufferToImage", referenced from: _clEnqueueCopyBufferToImage_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clEnqueueCopyBufferToImage_pfn) "_clEnqueueMapBuffer", referenced from: _clEnqueueMapBuffer_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clEnqueueMapBuffer_pfn) "_clEnqueueNDRangeKernel", referenced from: _clEnqueueNDRangeKernel_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clEnqueueNDRangeKernel_pfn) "_clEnqueueReadBuffer", referenced from: _clEnqueueReadBuffer_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clEnqueueReadBuffer_pfn, _clEnqueueReadBufferRect_pfn ) "_clEnqueueReadBufferRect", referenced from: _clEnqueueReadBufferRect_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clEnqueueReadBufferRect_pfn) "_clEnqueueUnmapMemObject", referenced from: _clEnqueueUnmapMemObject_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clEnqueueUnmapMemObject_pfn) "_clEnqueueWriteBuffer", referenced from: _clEnqueueWriteBuffer_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clEnqueueWriteBuffer_pfn, _clEnqueueWriteBufferRect_pfn ) "_clEnqueueWriteBufferRect", referenced from: _clEnqueueWriteBufferRect_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clEnqueueWriteBufferRect_pfn) "_clFinish", referenced from: _clFinish_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clFinish_pfn) "_clFlush", referenced from: _clFlush_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clFlush_pfn) "_clGetDeviceIDs", referenced from: _clGetDeviceIDs_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clGetDeviceIDs_pfn) "_clGetDeviceInfo", referenced from: _clGetDeviceInfo_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clGetDeviceInfo_pfn) "_clGetEventProfilingInfo", referenced from: _clGetEventProfilingInfo_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clGetEventProfilingInfo_pfn) "_clGetPlatformIDs", referenced from: _clGetPlatformIDs_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clGetPlatformIDs_pfn) "_clGetPlatformInfo", referenced from: _clGetPlatformInfo_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clGetPlatformInfo_pfn) "_clGetProgramBuildInfo", referenced from: _clGetProgramBuildInfo_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clGetProgramBuildInfo_pfn) "_clGetProgramInfo", referenced from: _clGetProgramInfo_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clGetProgramInfo_pfn) "_clGetSupportedImageFormats", referenced from: _clGetSupportedImageFormats_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clGetSupportedImageFormats_pfn) "_clReleaseCommandQueue", referenced from: _clReleaseCommandQueue_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clReleaseCommandQueue_pfn) "_clReleaseContext", referenced from: _clReleaseContext_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clReleaseContext_pfn) "_clReleaseDevice", referenced from: _clReleaseDevice_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clReleaseDevice_pfn) "_clReleaseEvent", referenced from: _clReleaseEvent_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clReleaseEvent_pfn) "_clReleaseKernel", referenced from: _clReleaseKernel_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clReleaseKernel_pfn) "_clReleaseMemObject", referenced from: _clReleaseMemObject_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clReleaseMemObject_pfn) "_clReleaseProgram", referenced from: _clReleaseProgram_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clReleaseProgram_pfn) "_clRetainDevice", referenced from: _clRetainDevice_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clRetainDevice_pfn) "_clSetEventCallback", referenced from: _clSetEventCallback_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clSetEventCallback_pfn) "_clSetKernelArg", referenced from: _clSetKernelArg_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clSetKernelArg_pfn) "_clWaitForEvents", referenced from: _clWaitForEvents_pfn in libopencv_core4.a(opencl_core.cpp.o) (maybe you meant: _clWaitForEvents_pfn) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

CeNiEi commented 4 months ago

Here are the build logs:

 Running `CARGO=/Users/tushar/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ARCH=aarch64 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV='' CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_FEATURE=aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh CARGO_CFG_TARGET_HAS_ATOMIC=128,16,32,64,8,ptr CARGO_CFG_TARGET_OS=macos CARGO_CFG_TARGET_POINTER_WIDTH=64 CARGO_CFG_TARGET_VENDOR=apple CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='' CARGO_FEATURE_CLANG_RUNTIME=1 CARGO_FEATURE_IMGCODECS=1 CARGO_FEATURE_IMGPROC=1 CARGO_MANIFEST_DIR=/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8 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_README=README.md CARGO_PKG_REPOSITORY='https://github.com/twistedfall/opencv-rust' CARGO_PKG_RUST_VERSION=1.66 CARGO_PKG_VERSION=0.88.8 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=88 CARGO_PKG_VERSION_PATCH=8 CARGO_PKG_VERSION_PRE='' DEBUG=true DYLD_FALLBACK_LIBRARY_PATH='/Users/tushar/Meditations/temp/target/debug/deps:/Users/tushar/Meditations/temp/target/debug:/Users/tushar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib:/Users/tushar/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/tushar/lib:/usr/local/lib:/usr/lib' HOST=aarch64-apple-darwin NUM_JOBS=8 OPT_LEVEL=0 OUT_DIR=/Users/tushar/Meditations/temp/target/debug/build/opencv-2ae313fed019bdf2/out PROFILE=debug RUSTC=/Users/tushar/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc RUSTDOC=/Users/tushar/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustdoc TARGET=aarch64-apple-darwin /Users/tushar/Meditations/temp/target/debug/build/opencv-252c3fa877816e07/build-script-build`
[opencv 0.88.8] === Crate version: Some("0.88.8")
[opencv 0.88.8] === Environment configuration:
[opencv 0.88.8] ===   OPENCV_PACKAGE_NAME = None
[opencv 0.88.8] ===   OPENCV_PKGCONFIG_NAME = None
[opencv 0.88.8] ===   OPENCV_CMAKE_NAME = None
[opencv 0.88.8] ===   OPENCV_CMAKE_BIN = None
[opencv 0.88.8] ===   OPENCV_VCPKG_NAME = None
[opencv 0.88.8] ===   OPENCV_LINK_LIBS = None
[opencv 0.88.8] ===   OPENCV_LINK_PATHS = None
[opencv 0.88.8] ===   OPENCV_INCLUDE_PATHS = None
[opencv 0.88.8] ===   OPENCV_DISABLE_PROBES = None
[opencv 0.88.8] ===   OPENCV_MSVC_CRT = None
[opencv 0.88.8] ===   CMAKE_PREFIX_PATH = None
[opencv 0.88.8] ===   OpenCV_DIR = None
[opencv 0.88.8] ===   PKG_CONFIG_PATH = None
[opencv 0.88.8] ===   VCPKG_ROOT = None
[opencv 0.88.8] ===   VCPKGRS_DYNAMIC = None
[opencv 0.88.8] ===   VCPKGRS_TRIPLET = None
[opencv 0.88.8] ===   OCVRS_DOCS_GENERATE_DIR = None
[opencv 0.88.8] ===   DOCS_RS = None
[opencv 0.88.8] ===   PATH = Some("/Users/tushar/Downloads/google-cloud-sdk/bin:/Users/tushar/miniconda3/bin:/Users/tushar/miniconda3/condabin:/Users/tushar/.cabal/bin:/Users/tushar/.ghcup/bin:/Users/tushar/.local/share/nvm/v18.17.1/bin:/Users/tushar/roc/roc_nightly-macos_apple_silicon-2023-12-04-a187d141bd8:/Users/tushar/zig/zig-macos-aarch64-0.11.0:/Users/tushar/roc/roc_nightly-macos_apple_silicon-2023-11-21-2afd9ca0a9:/Users/tushar/.cargo/bin:/opt/homebrew/bin:/opt/homebrew/opt/fzf/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin")
[opencv 0.88.8] === Enabled features:
[opencv 0.88.8] ===   CLANG_RUNTIME
[opencv 0.88.8] ===   IMGCODECS
[opencv 0.88.8] ===   IMGPROC
[opencv 0.88.8] === Detected probe priority based on environment vars: pkg_config: false, cmake: false, vcpkg: false
[opencv 0.88.8] === Probing the OpenCV library in the following order: environment, pkg_config, cmake, vcpkg_cmake, vcpkg
[opencv 0.88.8] === Can't probe using: environment, continuing with other methods because: Some environment variables are missing
[opencv 0.88.8] === Probing OpenCV library using pkg_config
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV4_NO_PKG_CONFIG
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-apple-darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_apple_darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_PKG_CONFIG
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV4_STATIC
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-apple-darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_apple_darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-apple-darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_apple_darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-apple-darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_apple_darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_NO_PKG_CONFIG
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-apple-darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_apple_darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_PKG_CONFIG
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_STATIC
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_DYNAMIC
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-apple-darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_apple_darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-apple-darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_apple_darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-apple-darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_apple_darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[opencv 0.88.8] === Can't probe using: pkg_config, continuing with other methods because:
[opencv 0.88.8] pkg-config exited with status code 1
[opencv 0.88.8] > PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags opencv4
[opencv 0.88.8]
[opencv 0.88.8] The system library `opencv4` required by crate `opencv` was not found.
[opencv 0.88.8] The file `opencv4.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
[opencv 0.88.8] The PKG_CONFIG_PATH environment variable is not set.
[opencv 0.88.8]
[opencv 0.88.8] HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `opencv4.pc`.
[opencv 0.88.8] ,
[opencv 0.88.8] pkg-config exited with status code 1
[opencv 0.88.8] > PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags opencv
[opencv 0.88.8]
[opencv 0.88.8] The system library `opencv` required by crate `opencv` was not found.
[opencv 0.88.8] The file `opencv.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
[opencv 0.88.8] The PKG_CONFIG_PATH environment variable is not set.
[opencv 0.88.8]
[opencv 0.88.8] HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `opencv.pc`.
[opencv 0.88.8]
[opencv 0.88.8] === Probing OpenCV library using cmake
[opencv 0.88.8] === cmake ninja probe command: cd "/Users/tushar/Meditations/temp/target/debug/build/opencv-2ae313fed019bdf2/out/cmake_probe_build" && "cmake" "-S" "/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Ninja"
[opencv 0.88.8] === Probing with cmake ninja generator failed, will try Makefile generator, error: cmake returned an error
[opencv 0.88.8]     stdout: "-- Configuring incomplete, errors occurred!\nSee also \"/Users/tushar/Meditations/temp/target/debug/build/opencv-2ae313fed019bdf2/out/cmake_probe_build/CMakeFiles/CMakeOutput.log\".\n"
[opencv 0.88.8]     stderr: "CMake Error: CMake was unable to find a build program corresponding to \"Ninja\".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.\nCMake Error: CMAKE_C_COMPILER not set, after EnableLanguage\nCMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage\n"
[opencv 0.88.8] === cmake makefiles probe command: cd "/Users/tushar/Meditations/temp/target/debug/build/opencv-2ae313fed019bdf2/out/cmake_probe_build" && "cmake" "-S" "/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Unix Makefiles"
[opencv 0.88.8] === Probing with cmake Makefile generator failed, will try deprecated find_package, error: cmake returned an error
[opencv 0.88.8]     stdout: "-- The C compiler identification is AppleClang 14.0.3.14030022\n-- The CXX compiler identification is AppleClang 14.0.3.14030022\n-- Detecting C compiler ABI info\n-- Detecting C compiler ABI info - done\n-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped\n-- Detecting C compile features\n-- Detecting C compile features - done\n-- Detecting CXX compiler ABI info\n-- Detecting CXX compiler ABI info - done\n-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped\n-- Detecting CXX compile features\n-- Detecting CXX compile features - done\n-- Configuring incomplete, errors occurred!\nSee also \"/Users/tushar/Meditations/temp/target/debug/build/opencv-2ae313fed019bdf2/out/cmake_probe_build/CMakeFiles/CMakeOutput.log\".\nSee also \"/Users/tushar/Meditations/temp/target/debug/build/opencv-2ae313fed019bdf2/out/cmake_probe_build/CMakeFiles/CMakeError.log\".\n"
[opencv 0.88.8]     stderr: "CMake Error at /usr/local/lib/cmake/opencv4/OpenCVModules.cmake:155 (message):\n  The imported target \"libprotobuf\" references the file\n\n     \"/usr/local/lib/opencv4/3rdparty/liblibprotobuf.a\"\n\n  but this file does not exist.  Possible reasons include:\n\n  * The file was deleted, renamed, or moved to another location.\n\n  * An install or uninstall procedure did not complete successfully.\n\n  * The installation package was faulty and contained\n\n     \"/usr/local/lib/cmake/opencv4/OpenCVModules.cmake\"\n\n  but not all the files it references.\n\nCall Stack (most recent call first):\n  /usr/local/lib/cmake/opencv4/OpenCVConfig.cmake:126 (include)\n  CMakeLists.txt:5 (find_package)\n\n\n"
[opencv 0.88.8] === cmake find-package compile probe command: cd "/Users/tushar/Meditations/temp/target/debug/build/opencv-2ae313fed019bdf2/out/cmake_probe_build" && "cmake" "-S" "/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_BUILD_TYPE=Debug" "--find-package" "-DCOMPILER_ID=GNU" "-DLANGUAGE=CXX" "-DMODE=COMPILE" "-DNAME=OpenCV"
[opencv 0.88.8] === Can't probe using: cmake, continuing with other methods because: cmake returned an error
[opencv 0.88.8]     stdout: "OpenCV not found.\n"
[opencv 0.88.8]     stderr: "CMake Error at /usr/local/lib/cmake/opencv4/OpenCVModules.cmake:155 (message):\n  The imported target \"libprotobuf\" references the file\n\n     \"/usr/local/lib/opencv4/3rdparty/liblibprotobuf.a\"\n\n  but this file does not exist.  Possible reasons include:\n\n  * The file was deleted, renamed, or moved to another location.\n\n  * An install or uninstall procedure did not complete successfully.\n\n  * The installation package was faulty and contained\n\n     \"/usr/local/lib/cmake/opencv4/OpenCVModules.cmake\"\n\n  but not all the files it references.\n\nCall Stack (most recent call first):\n  /usr/local/lib/cmake/opencv4/OpenCVConfig.cmake:126 (include)\n  /opt/homebrew/Cellar/cmake/3.24.2/share/cmake/Modules/CMakeFindPackageMode.cmake:183 (find_package)\n\n\nCMake Error: Run 'cmake --help' for all supported options.\n"
[opencv 0.88.8] === Probing OpenCV library using vcpkg_cmake
[opencv 0.88.8] === Discovered vcpkg root: /Users/tushar/Meditations/temp/target/vcpkg
[opencv 0.88.8] === Probing OpenCV library using cmake with toolchain: /Users/tushar/Meditations/temp/target/vcpkg/scripts/buildsystems/vcpkg.cmake
[opencv 0.88.8] === cmake ninja probe command: cd "/Users/tushar/Meditations/temp/target/debug/build/opencv-2ae313fed019bdf2/out/cmake_probe_build" && "cmake" "-S" "/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_TOOLCHAIN_FILE=/Users/tushar/Meditations/temp/target/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Ninja"
[opencv 0.88.8] === Probing with cmake ninja generator failed, will try Makefile generator, error: cmake returned an error
[opencv 0.88.8]     stdout: "-- Configuring incomplete, errors occurred!\nSee also \"/Users/tushar/Meditations/temp/target/debug/build/opencv-2ae313fed019bdf2/out/cmake_probe_build/CMakeFiles/CMakeOutput.log\".\n"
[opencv 0.88.8]     stderr: "CMake Error: CMake was unable to find a build program corresponding to \"Ninja\".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.\nCMake Error: CMAKE_C_COMPILER not set, after EnableLanguage\nCMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage\n"
[opencv 0.88.8] === cmake makefiles probe command: cd "/Users/tushar/Meditations/temp/target/debug/build/opencv-2ae313fed019bdf2/out/cmake_probe_build" && "cmake" "-S" "/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_TOOLCHAIN_FILE=/Users/tushar/Meditations/temp/target/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Unix Makefiles"
[opencv 0.88.8] === Unexpected cmake compiler argument found: -g
[opencv 0.88.8] === Unexpected cmake compiler argument found: -arch
[opencv 0.88.8] === Unexpected cmake compiler argument found: -isysroot
[opencv 0.88.8] === Unexpected cmake compiler argument found: -Wl,-search_paths_first
[opencv 0.88.8] === Unexpected cmake compiler argument found: -Wl,-headerpad_max_install_names
[opencv 0.88.8] === Unexpected cmake compiler argument found: -o
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Successfully probed using: vcpkg_cmake
[opencv 0.88.8] === OpenCV library configuration: Library {
[opencv 0.88.8]     include_paths: [
[opencv 0.88.8]         "/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include",
[opencv 0.88.8]     ],
[opencv 0.88.8]     version: Version {
[opencv 0.88.8]         major: 4,
[opencv 0.88.8]         minor: 8,
[opencv 0.88.8]         patch: 0,
[opencv 0.88.8]     },
[opencv 0.88.8]     cargo_metadata: [
[opencv 0.88.8]         "cargo:rustc-link-search=/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib",
[opencv 0.88.8]         "cargo:rustc-link-search=framework=/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib",
[opencv 0.88.8]         "cargo:rustc-link-search=/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/manual-link/opencv4_thirdparty",
[opencv 0.88.8]         "cargo:rustc-link-search=framework=/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/manual-link/opencv4_thirdparty",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_calib3d4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_core4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_features2d4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_flann4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_highgui4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_imgcodecs4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_imgproc4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_ml4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_objdetect4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_photo4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_stitching4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_video4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_videoio4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_imgcodecs4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=jpeg",
[opencv 0.88.8]         "cargo:rustc-link-lib=tiffd",
[opencv 0.88.8]         "cargo:rustc-link-lib=lzma",
[opencv 0.88.8]         "cargo:rustc-link-lib=jpeg",
[opencv 0.88.8]         "cargo:rustc-link-lib=tiffd",
[opencv 0.88.8]         "cargo:rustc-link-lib=lzma",
[opencv 0.88.8]         "cargo:rustc-link-lib=m",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_calib3d4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_features2d4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_flann4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_imgproc4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_core4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=z",
[opencv 0.88.8]         "cargo:rustc-link-lib=tegra_hald",
[opencv 0.88.8]     ],
[opencv 0.88.8] }
[opencv 0.88.8] cargo:rustc-cfg=ocvrs_opencv_branch_4
[opencv 0.88.8] === Detected OpenCV module header dir at: /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include/opencv2
[opencv 0.88.8] === Found OpenCV version: 4.8.0 in headers located at: /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_PACKAGE_NAME
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_PKGCONFIG_NAME
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_CMAKE_NAME
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_CMAKE_BIN
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_VCPKG_NAME
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_LINK_LIBS
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_LINK_PATHS
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_INCLUDE_PATHS
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_DISABLE_PROBES
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_MSVC_CRT
[opencv 0.88.8] cargo:rerun-if-env-changed=CMAKE_PREFIX_PATH
[opencv 0.88.8] cargo:rerun-if-env-changed=OpenCV_DIR
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[opencv 0.88.8] cargo:rerun-if-env-changed=VCPKG_ROOT
[opencv 0.88.8] cargo:rerun-if-env-changed=VCPKGRS_DYNAMIC
[opencv 0.88.8] cargo:rerun-if-env-changed=VCPKGRS_TRIPLET
[opencv 0.88.8] cargo:rerun-if-env-changed=OCVRS_DOCS_GENERATE_DIR
[opencv 0.88.8] cargo:rerun-if-env-changed=DOCS_RS
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp/bioinspired.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp/gapi.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp/face.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp/sfm.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp/hdf.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp/xfeatures2d.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp/photo.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp/alphamat.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp/ccalib.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp/dnn.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp/videoio.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp/manual-core.cpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp/core.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp/ocvrs_common.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp/aruco.hpp
[opencv 0.88.8] cargo:rerun-if-changed=Cargo.toml
[opencv 0.88.8] === Generating code in: /Users/tushar/Meditations/temp/target/debug/build/opencv-2ae313fed019bdf2/out
[opencv 0.88.8] === Placing generated bindings into: /Users/tushar/Meditations/temp/target/debug/build/opencv-2ae313fed019bdf2/out/opencv
[opencv 0.88.8] === Using OpenCV headers from: /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include
[opencv 0.88.8] === Clang: Apple clang version 14.0.3 (clang-1403.0.22.14.1)
[opencv 0.88.8] === Clang command line args: [
[opencv 0.88.8]     "-isystem/usr/local/include",
[opencv 0.88.8]     "-isystem/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1",
[opencv 0.88.8]     "-isystem/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include",
[opencv 0.88.8]     "-isystem/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include",
[opencv 0.88.8]     "-isystem/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include",
[opencv 0.88.8]     "-isystem/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks",
[opencv 0.88.8]     "-I/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include",
[opencv 0.88.8]     "-F/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include",
[opencv 0.88.8]     "-I/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp",
[opencv 0.88.8]     "-F/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp",
[opencv 0.88.8]     "-DOCVRS_PARSING_HEADERS",
[opencv 0.88.8]     "-includeocvrs_common.hpp",
[opencv 0.88.8]     "-std=c++14",
[opencv 0.88.8] ]
[opencv 0.88.8] === Using environment job server with the the amount of available jobs: 8
[opencv 0.88.8] === Generating 3 modules
[opencv 0.88.8] === Running: "/Users/tushar/Meditations/temp/target/debug/build/opencv-252c3fa877816e07/build-script-build" "/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include" "/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp" "/Users/tushar/Meditations/temp/target/debug/build/opencv-2ae313fed019bdf2/out" "core" ""
[opencv 0.88.8] === Running: "/Users/tushar/Meditations/temp/target/debug/build/opencv-252c3fa877816e07/build-script-build" "/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include" "/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp" "/Users/tushar/Meditations/temp/target/debug/build/opencv-2ae313fed019bdf2/out" "imgcodecs" ""
[opencv 0.88.8] === Running: "/Users/tushar/Meditations/temp/target/debug/build/opencv-252c3fa877816e07/build-script-build" "/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include" "/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp" "/Users/tushar/Meditations/temp/target/debug/build/opencv-2ae313fed019bdf2/out" "imgproc" ""
[opencv 0.88.8] === Generated: imgcodecs in 1.554884709s
[opencv 0.88.8] === Generated: imgproc in 3.113210334s
[opencv 0.88.8] === Generated: core in 6.19385425s
[opencv 0.88.8] === Total binding generation time: 6.193992875s
[opencv 0.88.8] === Total binding collection time: 33.793834ms
[opencv 0.88.8] OPT_LEVEL = Some("0")
[opencv 0.88.8] TARGET = Some("aarch64-apple-darwin")
[opencv 0.88.8] HOST = Some("aarch64-apple-darwin")
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] DEBUG = Some("true")
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] === Compiler information: Tool {
[opencv 0.88.8]     path: "c++",
[opencv 0.88.8]     cc_wrapper_path: None,
[opencv 0.88.8]     cc_wrapper_args: [],
[opencv 0.88.8]     args: [
[opencv 0.88.8]         "-O0",
[opencv 0.88.8]         "-ffunction-sections",
[opencv 0.88.8]         "-fdata-sections",
[opencv 0.88.8]         "-fPIC",
[opencv 0.88.8]         "-gdwarf-2",
[opencv 0.88.8]         "-fno-omit-frame-pointer",
[opencv 0.88.8]         "--target=arm64-apple-darwin",
[opencv 0.88.8]         "-mmacosx-version-min=13.3",
[opencv 0.88.8]         "-std=c++14",
[opencv 0.88.8]         "-I",
[opencv 0.88.8]         "/Users/tushar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.88.8/src_cpp",
[opencv 0.88.8]         "-I",
[opencv 0.88.8]         "/Users/tushar/Meditations/temp/target/debug/build/opencv-2ae313fed019bdf2/out",
[opencv 0.88.8]         "-I",
[opencv 0.88.8]         ".",
[opencv 0.88.8]         "-I",
[opencv 0.88.8]         "/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include",
[opencv 0.88.8]         "-Wall",
[opencv 0.88.8]         "-Wextra",
[opencv 0.88.8]         "-Wno-deprecated-declarations",
[opencv 0.88.8]         "-Wno-deprecated-copy",
[opencv 0.88.8]         "-Wno-unused-parameter",
[opencv 0.88.8]         "-Wno-sign-compare",
[opencv 0.88.8]         "-Wno-comment",
[opencv 0.88.8]         "-Wunused-but-set-variable",
[opencv 0.88.8]         "-Wno-unused-variable",
[opencv 0.88.8]         "-Wno-ignored-qualifiers",
[opencv 0.88.8]         "-Wno-return-type-c-linkage",
[opencv 0.88.8]         "-Wno-overloaded-virtual",
[opencv 0.88.8]         "-F/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include",
[opencv 0.88.8]     ],
[opencv 0.88.8]     env: [],
[opencv 0.88.8]     family: Clang,
[opencv 0.88.8]     cuda: false,
[opencv 0.88.8]     removed_args: [],
[opencv 0.88.8]     has_internal_target_arg: false,
[opencv 0.88.8] }
[opencv 0.88.8] cargo:rustc-cfg=ocvrs_has_module_core
[opencv 0.88.8] cargo:rustc-cfg=ocvrs_has_module_imgcodecs
[opencv 0.88.8] cargo:rustc-cfg=ocvrs_has_module_imgproc
[opencv 0.88.8] exit status: 0
[opencv 0.88.8] exit status: 0
[opencv 0.88.8] exit status: 0
[opencv 0.88.8] exit status: 0
[opencv 0.88.8] cargo:rerun-if-env-changed=AR_aarch64-apple-darwin
[opencv 0.88.8] AR_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=AR_aarch64_apple_darwin
[opencv 0.88.8] AR_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_AR
[opencv 0.88.8] HOST_AR = None
[opencv 0.88.8] cargo:rerun-if-env-changed=AR
[opencv 0.88.8] AR = None
[opencv 0.88.8] cargo:rerun-if-env-changed=ARFLAGS_aarch64-apple-darwin
[opencv 0.88.8] ARFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=ARFLAGS_aarch64_apple_darwin
[opencv 0.88.8] ARFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_ARFLAGS
[opencv 0.88.8] HOST_ARFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=ARFLAGS
[opencv 0.88.8] ARFLAGS = None
[opencv 0.88.8] cargo:rustc-link-lib=static=ocvrs
[opencv 0.88.8] cargo:rustc-link-search=native=/Users/tushar/Meditations/temp/target/debug/build/opencv-2ae313fed019bdf2/out
[opencv 0.88.8] === Total cpp build time: 4.317051792s
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXSTDLIB_aarch64-apple-darwin
[opencv 0.88.8] CXXSTDLIB_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXSTDLIB_aarch64_apple_darwin
[opencv 0.88.8] CXXSTDLIB_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXSTDLIB
[opencv 0.88.8] HOST_CXXSTDLIB = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXSTDLIB
[opencv 0.88.8] CXXSTDLIB = None
[opencv 0.88.8] cargo:rustc-link-lib=c++
[opencv 0.88.8] cargo:rustc-link-search=/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib
[opencv 0.88.8] cargo:rustc-link-search=framework=/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib
[opencv 0.88.8] cargo:rustc-link-search=/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/manual-link/opencv4_thirdparty
[opencv 0.88.8] cargo:rustc-link-search=framework=/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/manual-link/opencv4_thirdparty
[opencv 0.88.8] cargo:rustc-link-lib=opencv_calib3d4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_core4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_features2d4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_flann4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_highgui4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_imgcodecs4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_imgproc4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_ml4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_objdetect4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_photo4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_stitching4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_video4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_videoio4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_imgcodecs4d
[opencv 0.88.8] cargo:rustc-link-lib=jpeg
[opencv 0.88.8] cargo:rustc-link-lib=tiffd
[opencv 0.88.8] cargo:rustc-link-lib=lzma
[opencv 0.88.8] cargo:rustc-link-lib=jpeg
[opencv 0.88.8] cargo:rustc-link-lib=tiffd
[opencv 0.88.8] cargo:rustc-link-lib=lzma
[opencv 0.88.8] cargo:rustc-link-lib=m
[opencv 0.88.8] cargo:rustc-link-lib=opencv_calib3d4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_features2d4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_flann4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_imgproc4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_core4d
[opencv 0.88.8] cargo:rustc-link-lib=z
[opencv 0.88.8] cargo:rustc-link-lib=tegra_hald
twistedfall commented 3 months ago

Can you please try cmdline-test branch and post the cargo build -vv output from it? I suspect that some frameworks are not linked in and this branch should help in identifying that.

CeNiEi commented 3 months ago

To me it seems that it is linking a lot more frameworks and libs than i requested. 😅

 Running `CARGO=/Users/tushar/.rustup/toolchains/stable-aarch64-apple-darwin/bin/cargo CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ARCH=aarch64 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV='' CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_FEATURE=aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh CARGO_CFG_TARGET_HAS_ATOMIC=128,16,32,64,8,ptr CARGO_CFG_TARGET_OS=macos CARGO_CFG_TARGET_POINTER_WIDTH=64 CARGO_CFG_TARGET_VENDOR=apple CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='' CARGO_FEATURE_CLANG_RUNTIME=1 CARGO_FEATURE_IMGCODECS=1 CARGO_FEATURE_IMGPROC=1 CARGO_MANIFEST_DIR=/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8 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_README=README.md CARGO_PKG_REPOSITORY='https://github.com/twistedfall/opencv-rust' CARGO_PKG_RUST_VERSION=1.66 CARGO_PKG_VERSION=0.88.8 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=88 CARGO_PKG_VERSION_PATCH=8 CARGO_PKG_VERSION_PRE='' DEBUG=true DYLD_FALLBACK_LIBRARY_PATH='/Users/tushar/Meditations/temp/target/debug/deps:/Users/tushar/Meditations/temp/target/debug:/Users/tushar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib:/Users/tushar/.rustup/toolchains/stable-aarch64-apple-darwin/lib:/Users/tushar/lib:/usr/local/lib:/usr/lib' HOST=aarch64-apple-darwin NUM_JOBS=8 OPT_LEVEL=0 OUT_DIR=/Users/tushar/Meditations/temp/target/debug/build/opencv-354dc31cea2e9937/out PROFILE=debug RUSTC=/Users/tushar/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc RUSTDOC=/Users/tushar/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustdoc TARGET=aarch64-apple-darwin /Users/tushar/Meditations/temp/target/debug/build/opencv-4c5717becafb841c/build-script-build`
[opencv 0.88.8] === Crate version: Some("0.88.8")
[opencv 0.88.8] === Environment configuration:
[opencv 0.88.8] ===   OPENCV_PACKAGE_NAME = None
[opencv 0.88.8] ===   OPENCV_PKGCONFIG_NAME = None
[opencv 0.88.8] ===   OPENCV_CMAKE_NAME = None
[opencv 0.88.8] ===   OPENCV_CMAKE_BIN = None
[opencv 0.88.8] ===   OPENCV_VCPKG_NAME = None
[opencv 0.88.8] ===   OPENCV_LINK_LIBS = None
[opencv 0.88.8] ===   OPENCV_LINK_PATHS = None
[opencv 0.88.8] ===   OPENCV_INCLUDE_PATHS = None
[opencv 0.88.8] ===   OPENCV_DISABLE_PROBES = None
[opencv 0.88.8] ===   OPENCV_MSVC_CRT = None
[opencv 0.88.8] ===   CMAKE_PREFIX_PATH = None
[opencv 0.88.8] ===   OpenCV_DIR = None
[opencv 0.88.8] ===   PKG_CONFIG_PATH = None
[opencv 0.88.8] ===   VCPKG_ROOT = None
[opencv 0.88.8] ===   VCPKGRS_DYNAMIC = None
[opencv 0.88.8] ===   VCPKGRS_TRIPLET = None
[opencv 0.88.8] ===   OCVRS_DOCS_GENERATE_DIR = None
[opencv 0.88.8] ===   DOCS_RS = None
[opencv 0.88.8] ===   PATH = Some("/Users/tushar/Downloads/google-cloud-sdk/bin:/Users/tushar/miniconda3/bin:/Users/tushar/.cabal/bin:/Users/tushar/.ghcup/bin:/Users/tushar/.local/share/nvm/v18.17.1/bin:/Users/tushar/roc/roc_nightly-macos_apple_silicon-2023-12-04-a187d141bd8:/Users/tushar/zig/zig-macos-aarch64-0.11.0:/Users/tushar/roc/roc_nightly-macos_apple_silicon-2023-11-21-2afd9ca0a9:/Users/tushar/.cargo/bin:/opt/homebrew/bin:/opt/homebrew/opt/fzf/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin")
[opencv 0.88.8] === Enabled features:
[opencv 0.88.8] ===   CLANG_RUNTIME
[opencv 0.88.8] ===   IMGCODECS
[opencv 0.88.8] ===   IMGPROC
[opencv 0.88.8] === Detected probe priority based on environment vars: pkg_config: false, cmake: false, vcpkg: false
[opencv 0.88.8] === Probing the OpenCV library in the following order: environment, pkg_config, cmake, vcpkg_cmake, vcpkg
[opencv 0.88.8] === Can't probe using: environment, continuing with other methods because: Some environment variables are missing
[opencv 0.88.8] === Probing OpenCV library using pkg_config
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV4_NO_PKG_CONFIG
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-apple-darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_apple_darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_PKG_CONFIG
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV4_STATIC
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV4_DYNAMIC
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-apple-darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_apple_darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-apple-darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_apple_darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-apple-darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_apple_darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_NO_PKG_CONFIG
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-apple-darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_apple_darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_PKG_CONFIG
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_STATIC
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_DYNAMIC
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-apple-darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_apple_darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-apple-darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_apple_darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-apple-darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_apple_darwin
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[opencv 0.88.8] === Can't probe using: pkg_config, continuing with other methods because:
[opencv 0.88.8] pkg-config exited with status code 1
[opencv 0.88.8] > PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags opencv4
[opencv 0.88.8]
[opencv 0.88.8] The system library `opencv4` required by crate `opencv` was not found.
[opencv 0.88.8] The file `opencv4.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
[opencv 0.88.8] The PKG_CONFIG_PATH environment variable is not set.
[opencv 0.88.8]
[opencv 0.88.8] HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `opencv4.pc`.
[opencv 0.88.8] ,
[opencv 0.88.8] pkg-config exited with status code 1
[opencv 0.88.8] > PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags opencv
[opencv 0.88.8]
[opencv 0.88.8] The system library `opencv` required by crate `opencv` was not found.
[opencv 0.88.8] The file `opencv.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
[opencv 0.88.8] The PKG_CONFIG_PATH environment variable is not set.
[opencv 0.88.8]
[opencv 0.88.8] HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `opencv.pc`.
[opencv 0.88.8]
[opencv 0.88.8] === Probing OpenCV library using cmake
[opencv 0.88.8] === cmake ninja probe command: cd "/Users/tushar/Meditations/temp/target/debug/build/opencv-354dc31cea2e9937/out/cmake_probe_build" && "cmake" "-S" "/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Ninja"
[opencv 0.88.8] === Probing with cmake ninja generator failed, will try Makefile generator, error: cmake returned an error
[opencv 0.88.8]     stdout: "-- Configuring incomplete, errors occurred!\nSee also \"/Users/tushar/Meditations/temp/target/debug/build/opencv-354dc31cea2e9937/out/cmake_probe_build/CMakeFiles/CMakeOutput.log\".\n"
[opencv 0.88.8]     stderr: "CMake Error: CMake was unable to find a build program corresponding to \"Ninja\".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.\nCMake Error: CMAKE_C_COMPILER not set, after EnableLanguage\nCMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage\n"
[opencv 0.88.8] === cmake makefiles probe command: cd "/Users/tushar/Meditations/temp/target/debug/build/opencv-354dc31cea2e9937/out/cmake_probe_build" && "cmake" "-S" "/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Unix Makefiles"
[opencv 0.88.8] === Probing with cmake Makefile generator failed, will try deprecated find_package, error: cmake returned an error
[opencv 0.88.8]     stdout: "-- The C compiler identification is AppleClang 14.0.3.14030022\n-- The CXX compiler identification is AppleClang 14.0.3.14030022\n-- Detecting C compiler ABI info\n-- Detecting C compiler ABI info - done\n-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped\n-- Detecting C compile features\n-- Detecting C compile features - done\n-- Detecting CXX compiler ABI info\n-- Detecting CXX compiler ABI info - done\n-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped\n-- Detecting CXX compile features\n-- Detecting CXX compile features - done\n-- Configuring incomplete, errors occurred!\nSee also \"/Users/tushar/Meditations/temp/target/debug/build/opencv-354dc31cea2e9937/out/cmake_probe_build/CMakeFiles/CMakeOutput.log\".\nSee also \"/Users/tushar/Meditations/temp/target/debug/build/opencv-354dc31cea2e9937/out/cmake_probe_build/CMakeFiles/CMakeError.log\".\n"
[opencv 0.88.8]     stderr: "CMake Error at /usr/local/lib/cmake/opencv4/OpenCVModules.cmake:155 (message):\n  The imported target \"libprotobuf\" references the file\n\n     \"/usr/local/lib/opencv4/3rdparty/liblibprotobuf.a\"\n\n  but this file does not exist.  Possible reasons include:\n\n  * The file was deleted, renamed, or moved to another location.\n\n  * An install or uninstall procedure did not complete successfully.\n\n  * The installation package was faulty and contained\n\n     \"/usr/local/lib/cmake/opencv4/OpenCVModules.cmake\"\n\n  but not all the files it references.\n\nCall Stack (most recent call first):\n  /usr/local/lib/cmake/opencv4/OpenCVConfig.cmake:126 (include)\n  CMakeLists.txt:5 (find_package)\n\n\n"
[opencv 0.88.8] === cmake find-package compile probe command: cd "/Users/tushar/Meditations/temp/target/debug/build/opencv-354dc31cea2e9937/out/cmake_probe_build" && "cmake" "-S" "/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_BUILD_TYPE=Debug" "--find-package" "-DCOMPILER_ID=GNU" "-DLANGUAGE=CXX" "-DMODE=COMPILE" "-DNAME=OpenCV"
[opencv 0.88.8] === Can't probe using: cmake, continuing with other methods because: cmake returned an error
[opencv 0.88.8]     stdout: "OpenCV not found.\n"
[opencv 0.88.8]     stderr: "CMake Error at /usr/local/lib/cmake/opencv4/OpenCVModules.cmake:155 (message):\n  The imported target \"libprotobuf\" references the file\n\n     \"/usr/local/lib/opencv4/3rdparty/liblibprotobuf.a\"\n\n  but this file does not exist.  Possible reasons include:\n\n  * The file was deleted, renamed, or moved to another location.\n\n  * An install or uninstall procedure did not complete successfully.\n\n  * The installation package was faulty and contained\n\n     \"/usr/local/lib/cmake/opencv4/OpenCVModules.cmake\"\n\n  but not all the files it references.\n\nCall Stack (most recent call first):\n  /usr/local/lib/cmake/opencv4/OpenCVConfig.cmake:126 (include)\n  /opt/homebrew/Cellar/cmake/3.24.2/share/cmake/Modules/CMakeFindPackageMode.cmake:183 (find_package)\n\n\nCMake Error: Run 'cmake --help' for all supported options.\n"
[opencv 0.88.8] === Probing OpenCV library using vcpkg_cmake
[opencv 0.88.8] === Discovered vcpkg root: /Users/tushar/Meditations/temp/target/vcpkg
[opencv 0.88.8] === Probing OpenCV library using cmake with toolchain: /Users/tushar/Meditations/temp/target/vcpkg/scripts/buildsystems/vcpkg.cmake
[opencv 0.88.8] === cmake ninja probe command: cd "/Users/tushar/Meditations/temp/target/debug/build/opencv-354dc31cea2e9937/out/cmake_probe_build" && "cmake" "-S" "/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_TOOLCHAIN_FILE=/Users/tushar/Meditations/temp/target/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Ninja"
[opencv 0.88.8] === Probing with cmake ninja generator failed, will try Makefile generator, error: cmake returned an error
[opencv 0.88.8]     stdout: "-- Configuring incomplete, errors occurred!\nSee also \"/Users/tushar/Meditations/temp/target/debug/build/opencv-354dc31cea2e9937/out/cmake_probe_build/CMakeFiles/CMakeOutput.log\".\n"
[opencv 0.88.8]     stderr: "CMake Error: CMake was unable to find a build program corresponding to \"Ninja\".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.\nCMake Error: CMAKE_C_COMPILER not set, after EnableLanguage\nCMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage\n"
[opencv 0.88.8] === cmake makefiles probe command: cd "/Users/tushar/Meditations/temp/target/debug/build/opencv-354dc31cea2e9937/out/cmake_probe_build" && "cmake" "-S" "/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_TOOLCHAIN_FILE=/Users/tushar/Meditations/temp/target/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Unix Makefiles"
[opencv 0.88.8] === Extracting build arguments from: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/ocvrs_probe.dir/ocvrs_probe.cpp.o -o ocvrs_probe  /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_calib3d4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_core4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_features2d4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_flann4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_highgui4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_imgcodecs4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_imgproc4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_ml4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_objdetect4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_photo4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_stitching4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_video4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_videoio4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_imgcodecs4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libjpeg.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libtiffd.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/liblzma.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libjpeg.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libtiffd.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/liblzma.a -lm -framework AppKit -framework Accelerate -framework AVFoundation -framework CoreGraphics -framework CoreMedia -framework CoreVideo -framework QuartzCore -framework Cocoa /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_calib3d4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_features2d4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_flann4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_imgproc4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libopencv_core4d.a /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/libz.a -framework OpenCL /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/manual-link/opencv4_thirdparty/libtegra_hald.a
[opencv 0.88.8]
[opencv 0.88.8] === Unexpected cmake compiler argument found: -g
[opencv 0.88.8] === Unexpected cmake compiler argument found: -arch
[opencv 0.88.8] === Unexpected cmake compiler argument found: -isysroot
[opencv 0.88.8] === Unexpected cmake compiler argument found: -Wl,-search_paths_first
[opencv 0.88.8] === Unexpected cmake compiler argument found: -Wl,-headerpad_max_install_names
[opencv 0.88.8] === Unexpected cmake compiler argument found: -o
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Unexpected cmake compiler argument found: -framework
[opencv 0.88.8] === Successfully probed using: vcpkg_cmake
[opencv 0.88.8] === OpenCV library configuration: Library {
[opencv 0.88.8]     include_paths: [
[opencv 0.88.8]         "/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include",
[opencv 0.88.8]     ],
[opencv 0.88.8]     version: Version {
[opencv 0.88.8]         major: 4,
[opencv 0.88.8]         minor: 8,
[opencv 0.88.8]         patch: 0,
[opencv 0.88.8]     },
[opencv 0.88.8]     cargo_metadata: [
[opencv 0.88.8]         "cargo:rustc-link-search=/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib",
[opencv 0.88.8]         "cargo:rustc-link-search=framework=/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib",
[opencv 0.88.8]         "cargo:rustc-link-search=/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/manual-link/opencv4_thirdparty",
[opencv 0.88.8]         "cargo:rustc-link-search=framework=/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/manual-link/opencv4_thirdparty",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_calib3d4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_core4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_features2d4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_flann4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_highgui4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_imgcodecs4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_imgproc4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_ml4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_objdetect4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_photo4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_stitching4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_video4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_videoio4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_imgcodecs4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=jpeg",
[opencv 0.88.8]         "cargo:rustc-link-lib=tiffd",
[opencv 0.88.8]         "cargo:rustc-link-lib=lzma",
[opencv 0.88.8]         "cargo:rustc-link-lib=jpeg",
[opencv 0.88.8]         "cargo:rustc-link-lib=tiffd",
[opencv 0.88.8]         "cargo:rustc-link-lib=lzma",
[opencv 0.88.8]         "cargo:rustc-link-lib=m",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_calib3d4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_features2d4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_flann4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_imgproc4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=opencv_core4d",
[opencv 0.88.8]         "cargo:rustc-link-lib=z",
[opencv 0.88.8]         "cargo:rustc-link-lib=tegra_hald",
[opencv 0.88.8]     ],
[opencv 0.88.8] }
[opencv 0.88.8] cargo:rustc-cfg=ocvrs_opencv_branch_4
[opencv 0.88.8] === Detected OpenCV module header dir at: /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include/opencv2
[opencv 0.88.8] === Found OpenCV version: 4.8.0 in headers located at: /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_PACKAGE_NAME
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_PKGCONFIG_NAME
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_CMAKE_NAME
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_CMAKE_BIN
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_VCPKG_NAME
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_LINK_LIBS
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_LINK_PATHS
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_INCLUDE_PATHS
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_DISABLE_PROBES
[opencv 0.88.8] cargo:rerun-if-env-changed=OPENCV_MSVC_CRT
[opencv 0.88.8] cargo:rerun-if-env-changed=CMAKE_PREFIX_PATH
[opencv 0.88.8] cargo:rerun-if-env-changed=OpenCV_DIR
[opencv 0.88.8] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
[opencv 0.88.8] cargo:rerun-if-env-changed=VCPKG_ROOT
[opencv 0.88.8] cargo:rerun-if-env-changed=VCPKGRS_DYNAMIC
[opencv 0.88.8] cargo:rerun-if-env-changed=VCPKGRS_TRIPLET
[opencv 0.88.8] cargo:rerun-if-env-changed=OCVRS_DOCS_GENERATE_DIR
[opencv 0.88.8] cargo:rerun-if-env-changed=DOCS_RS
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp/bioinspired.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp/gapi.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp/face.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp/sfm.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp/hdf.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp/xfeatures2d.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp/photo.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp/alphamat.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp/ccalib.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp/dnn.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp/videoio.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp/manual-core.cpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp/core.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp/ocvrs_common.hpp
[opencv 0.88.8] cargo:rerun-if-changed=/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp/aruco.hpp
[opencv 0.88.8] cargo:rerun-if-changed=Cargo.toml
[opencv 0.88.8] === Generating code in: /Users/tushar/Meditations/temp/target/debug/build/opencv-354dc31cea2e9937/out
[opencv 0.88.8] === Placing generated bindings into: /Users/tushar/Meditations/temp/target/debug/build/opencv-354dc31cea2e9937/out/opencv
[opencv 0.88.8] === Using OpenCV headers from: /Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include
[opencv 0.88.8] === Clang: Apple clang version 14.0.3 (clang-1403.0.22.14.1)
[opencv 0.88.8] === Clang command line args: [
[opencv 0.88.8]     "-isystem/usr/local/include",
[opencv 0.88.8]     "-isystem/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1",
[opencv 0.88.8]     "-isystem/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include",
[opencv 0.88.8]     "-isystem/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include",
[opencv 0.88.8]     "-isystem/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include",
[opencv 0.88.8]     "-isystem/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks",
[opencv 0.88.8]     "-I/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include",
[opencv 0.88.8]     "-F/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include",
[opencv 0.88.8]     "-I/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp",
[opencv 0.88.8]     "-F/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp",
[opencv 0.88.8]     "-DOCVRS_PARSING_HEADERS",
[opencv 0.88.8]     "-includeocvrs_common.hpp",
[opencv 0.88.8]     "-std=c++14",
[opencv 0.88.8] ]
[opencv 0.88.8] === Using environment job server with the the amount of available jobs: 8
[opencv 0.88.8] === Generating 3 modules
[opencv 0.88.8] === Running: "/Users/tushar/Meditations/temp/target/debug/build/opencv-4c5717becafb841c/build-script-build" "/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include" "/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp" "/Users/tushar/Meditations/temp/target/debug/build/opencv-354dc31cea2e9937/out" "core" ""
[opencv 0.88.8] === Running: "/Users/tushar/Meditations/temp/target/debug/build/opencv-4c5717becafb841c/build-script-build" "/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include" "/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp" "/Users/tushar/Meditations/temp/target/debug/build/opencv-354dc31cea2e9937/out" "imgcodecs" ""
[opencv 0.88.8] === Running: "/Users/tushar/Meditations/temp/target/debug/build/opencv-4c5717becafb841c/build-script-build" "/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include" "/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp" "/Users/tushar/Meditations/temp/target/debug/build/opencv-354dc31cea2e9937/out" "imgproc" ""
[opencv 0.88.8] === Generated: imgcodecs in 1.812564208s
[opencv 0.88.8] === Generated: imgproc in 3.611941s
[opencv 0.88.8] === Generated: core in 6.623380166s
[opencv 0.88.8] === Total binding generation time: 6.623508666s
[opencv 0.88.8] === Total binding collection time: 31.305667ms
[opencv 0.88.8] OPT_LEVEL = Some("0")
[opencv 0.88.8] TARGET = Some("aarch64-apple-darwin")
[opencv 0.88.8] HOST = Some("aarch64-apple-darwin")
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] DEBUG = Some("true")
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
[opencv 0.88.8] CXX_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
[opencv 0.88.8] CXX_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXX
[opencv 0.88.8] HOST_CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXX
[opencv 0.88.8] CXX = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[opencv 0.88.8] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[opencv 0.88.8] CRATE_CC_NO_DEFAULTS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
[opencv 0.88.8] CXXFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
[opencv 0.88.8] CXXFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXFLAGS
[opencv 0.88.8] HOST_CXXFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXFLAGS
[opencv 0.88.8] CXXFLAGS = None
[opencv 0.88.8] === Compiler information: Tool {
[opencv 0.88.8]     path: "c++",
[opencv 0.88.8]     cc_wrapper_path: None,
[opencv 0.88.8]     cc_wrapper_args: [],
[opencv 0.88.8]     args: [
[opencv 0.88.8]         "-O0",
[opencv 0.88.8]         "-ffunction-sections",
[opencv 0.88.8]         "-fdata-sections",
[opencv 0.88.8]         "-fPIC",
[opencv 0.88.8]         "-gdwarf-2",
[opencv 0.88.8]         "-fno-omit-frame-pointer",
[opencv 0.88.8]         "--target=arm64-apple-darwin",
[opencv 0.88.8]         "-mmacosx-version-min=13.3",
[opencv 0.88.8]         "-std=c++14",
[opencv 0.88.8]         "-I",
[opencv 0.88.8]         "/Users/tushar/.cargo/git/checkouts/opencv-rust-004dd8e4aa014536/c88d6f8/src_cpp",
[opencv 0.88.8]         "-I",
[opencv 0.88.8]         "/Users/tushar/Meditations/temp/target/debug/build/opencv-354dc31cea2e9937/out",
[opencv 0.88.8]         "-I",
[opencv 0.88.8]         ".",
[opencv 0.88.8]         "-I",
[opencv 0.88.8]         "/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include",
[opencv 0.88.8]         "-Wall",
[opencv 0.88.8]         "-Wextra",
[opencv 0.88.8]         "-Wno-deprecated-declarations",
[opencv 0.88.8]         "-Wno-deprecated-copy",
[opencv 0.88.8]         "-Wno-unused-parameter",
[opencv 0.88.8]         "-Wno-sign-compare",
[opencv 0.88.8]         "-Wno-comment",
[opencv 0.88.8]         "-Wunused-but-set-variable",
[opencv 0.88.8]         "-Wno-unused-variable",
[opencv 0.88.8]         "-Wno-ignored-qualifiers",
[opencv 0.88.8]         "-Wno-return-type-c-linkage",
[opencv 0.88.8]         "-Wno-overloaded-virtual",
[opencv 0.88.8]         "-F/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/include",
[opencv 0.88.8]     ],
[opencv 0.88.8]     env: [],
[opencv 0.88.8]     family: Clang,
[opencv 0.88.8]     cuda: false,
[opencv 0.88.8]     removed_args: [],
[opencv 0.88.8]     has_internal_target_arg: false,
[opencv 0.88.8] }
[opencv 0.88.8] cargo:rustc-cfg=ocvrs_has_module_core
[opencv 0.88.8] cargo:rustc-cfg=ocvrs_has_module_imgcodecs
[opencv 0.88.8] cargo:rustc-cfg=ocvrs_has_module_imgproc
[opencv 0.88.8] exit status: 0
[opencv 0.88.8] exit status: 0
[opencv 0.88.8] exit status: 0
[opencv 0.88.8] exit status: 0
[opencv 0.88.8] cargo:rerun-if-env-changed=AR_aarch64-apple-darwin
[opencv 0.88.8] AR_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=AR_aarch64_apple_darwin
[opencv 0.88.8] AR_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_AR
[opencv 0.88.8] HOST_AR = None
[opencv 0.88.8] cargo:rerun-if-env-changed=AR
[opencv 0.88.8] AR = None
[opencv 0.88.8] cargo:rerun-if-env-changed=ARFLAGS_aarch64-apple-darwin
[opencv 0.88.8] ARFLAGS_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=ARFLAGS_aarch64_apple_darwin
[opencv 0.88.8] ARFLAGS_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_ARFLAGS
[opencv 0.88.8] HOST_ARFLAGS = None
[opencv 0.88.8] cargo:rerun-if-env-changed=ARFLAGS
[opencv 0.88.8] ARFLAGS = None
[opencv 0.88.8] cargo:rustc-link-lib=static=ocvrs
[opencv 0.88.8] cargo:rustc-link-search=native=/Users/tushar/Meditations/temp/target/debug/build/opencv-354dc31cea2e9937/out
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXSTDLIB_aarch64-apple-darwin
[opencv 0.88.8] CXXSTDLIB_aarch64-apple-darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXSTDLIB_aarch64_apple_darwin
[opencv 0.88.8] CXXSTDLIB_aarch64_apple_darwin = None
[opencv 0.88.8] cargo:rerun-if-env-changed=HOST_CXXSTDLIB
[opencv 0.88.8] HOST_CXXSTDLIB = None
[opencv 0.88.8] cargo:rerun-if-env-changed=CXXSTDLIB
[opencv 0.88.8] CXXSTDLIB = None
[opencv 0.88.8] cargo:rustc-link-lib=c++
[opencv 0.88.8] === Total cpp build time: 4.571107166s
[opencv 0.88.8] cargo:rustc-link-search=/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib
[opencv 0.88.8] cargo:rustc-link-search=framework=/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib
[opencv 0.88.8] cargo:rustc-link-search=/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/manual-link/opencv4_thirdparty
[opencv 0.88.8] cargo:rustc-link-search=framework=/Users/tushar/Meditations/temp/target/vcpkg/installed/arm64-osx/debug/lib/manual-link/opencv4_thirdparty
[opencv 0.88.8] cargo:rustc-link-lib=opencv_calib3d4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_core4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_features2d4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_flann4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_highgui4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_imgcodecs4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_imgproc4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_ml4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_objdetect4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_photo4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_stitching4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_video4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_videoio4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_imgcodecs4d
[opencv 0.88.8] cargo:rustc-link-lib=jpeg
[opencv 0.88.8] cargo:rustc-link-lib=tiffd
[opencv 0.88.8] cargo:rustc-link-lib=lzma
[opencv 0.88.8] cargo:rustc-link-lib=jpeg
[opencv 0.88.8] cargo:rustc-link-lib=tiffd
[opencv 0.88.8] cargo:rustc-link-lib=lzma
[opencv 0.88.8] cargo:rustc-link-lib=m
[opencv 0.88.8] cargo:rustc-link-lib=opencv_calib3d4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_features2d4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_flann4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_imgproc4d
[opencv 0.88.8] cargo:rustc-link-lib=opencv_core4d
[opencv 0.88.8] cargo:rustc-link-lib=z
[opencv 0.88.8] cargo:rustc-link-lib=tegra_hald
twistedfall commented 3 months ago

I've pushed some more commits to the cmdline-test branch, can you check if it fixes the issue for you?

CeNiEi commented 3 months ago

Just checked this on Mac, this works correctly... Will get back to you after a sanity check on windows. BTW, was the issue linking more frameworks than necessary ?

twistedfall commented 3 months ago

Nope, less than necessary :) The missing OpenCL framework should've been the cause of your initial problem. The problem was the missing logic to parse the -framework command line arguments emitted by cmake when it builds the compiler invocation for building the binaries.

twistedfall commented 3 months ago

This is now fixed in 0.88.9 (and 0.89.0 too)