You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Computing installation plan...
The following packages are already installed:
opencv4[core,win32ui,webp,tiff,thread,quirc,png,nonfree,jpeg,intrinsics,highgui,gapi,fs,dshow,dnn,default-features,contrib,calib3d]:[email protected]#2
opencv4:x64-windows-static is already installed
Total install time: 157 us
opencv4 is compatible with built-in CMake variables. In case of multiple OpenCV version installed, set OpenCV_ROOT *before* the find_package call:
set(OpenCV_ROOT "${VCPKG_INSTALLED_DIR}/x64-windows-static/share/opencv4")
find_package(OpenCV REQUIRED)
logger
=== Crate version: 0.93.5
=== Environment configuration:
=== OPENCV_PACKAGE_NAME = None
=== OPENCV_PKGCONFIG_NAME = None
=== OPENCV_CMAKE_NAME = None
=== OPENCV_CMAKE_BIN = None
=== OPENCV_VCPKG_NAME = None
=== OPENCV_LINK_LIBS = None
=== OPENCV_LINK_PATHS = None
=== OPENCV_INCLUDE_PATHS = None
=== OPENCV_DISABLE_PROBES = None
=== OPENCV_MSVC_CRT = None
=== CMAKE_PREFIX_PATH = None
=== OpenCV_DIR = None
=== PKG_CONFIG_PATH = None
=== VCPKG_ROOT = Some("F:\\vcpkg")
=== VCPKGRS_DYNAMIC = None
=== VCPKGRS_TRIPLET = None
=== OCVRS_DOCS_GENERATE_DIR = None
=== DOCS_RS = None
=== PATH = Some("D:\\WorkSpace\\CrossPlatform\\ninja3\\src-tauri\\target\\debug\\deps;D:\\WorkSpace\\CrossPlatform\\ninja3\\src-tauri\\target\\debug;D:\\Programs\\Rust\\Rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib;D:\\Programs\\VMware\\bin\\;C:\\Program Files\\Common Files\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;D:\\Windows Kits\\10\\Windows Performance Toolkit\\;D:\\Android\\SDK\\ndk\\26.1.10909125;D:\\Android\\SDK\\platform-tools;D:\\Programs\\Redis\\;D:\\Programs\\nodejs\\;D:\\Programs\\Bandizip\\Bandizip;D:\\Programs\\Bandizip;D:\\Programs\\NetSarang\\Xftp 7\\;D:\\Programs\\NetSarang\\Xshell 7\\;D:\\Programs\\AnaConda;D:\\Programs\\AnaConda\\Scripts;D:\\Programs\\AnaConda\\Library\\bin;D:\\Programs\\AnaConda\\Library\\mingw-w64\\bin;D:\\Programs\\AnaConda\\Library\\usr\\bin;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;D:\\Programs\\Rust\\Cargo\\bin;D:\\Programs\\Git\\cmd;D:\\WorkSpace\\bin;F:\\vcpkg;C:\\Program Files\\LLVM\\bin;D:\\Programs\\ZeroC_ICE\\bin;D:\\Programs\\mongodb\\bin;C:\\Program Files (x86)\\dotnet\\;C:\\Program Files\\PowerShell\\7\\;D:\\Programs\\Cmake\\bin;C:\\Users\\23073\\scoop\\shims;D:\\Programs\\Rust\\Cargo\\bin;C:\\Users\\23073\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\23073\\AppData\\Local\\JetBrains\\Toolbox\\scripts;;D:\\Programs\\Microsoft VS Code\\bin;C:\\Users\\23073\\AppData\\Roaming\\npm")
=== Enabled features:
=== ALPHAMAT
=== ARUCO
=== ARUCO_DETECTOR
=== BARCODE
=== BGSEGM
=== BIOINSPIRED
=== CALIB3D
=== CCALIB
=== CUDAARITHM
=== CUDABGSEGM
=== CUDACODEC
=== CUDAFEATURES2D
=== CUDAFILTERS
=== CUDAIMGPROC
=== CUDAOBJDETECT
=== CUDAOPTFLOW
=== CUDASTEREO
=== CUDAWARPING
=== CVV
=== DEFAULT
=== DNN
=== DNN_SUPERRES
=== DPM
=== FACE
=== FEATURES2D
=== FLANN
=== FREETYPE
=== FUZZY
=== GAPI
=== HDF
=== HFS
=== HIGHGUI
=== IMGCODECS
=== IMGPROC
=== IMG_HASH
=== INTENSITY_TRANSFORM
=== LINE_DESCRIPTOR
=== MCC
=== ML
=== OBJDETECT
=== OPTFLOW
=== OVIS
=== PHASE_UNWRAPPING
=== PHOTO
=== PLOT
=== QUALITY
=== RAPID
=== RGBD
=== SALIENCY
=== SFM
=== SHAPE
=== STEREO
=== STITCHING
=== STRUCTURED_LIGHT
=== SUPERRES
=== SURFACE_MATCHING
=== TEXT
=== TRACKING
=== VIDEO
=== VIDEOIO
=== VIDEOSTAB
=== VIZ
=== WECHAT_QRCODE
=== XFEATURES2D
=== XIMGPROC
=== XOBJDETECT
=== XPHOTO
=== Detected probe priority boost based on environment vars: pkg_config: false, cmake: false, vcpkg: true
=== Probing the OpenCV library in the following order: environment, vcpkg_cmake, vcpkg, pkg_config, cmake
=== Can't probe using: environment, continuing with other methods because: Some environment variables are missing
=== Probing OpenCV library using vcpkg_cmake
=== Discovered vcpkg root: F:\vcpkg
=== Probing OpenCV library using cmake with toolchain: F:\vcpkg\scripts/buildsystems/vcpkg.cmake
=== cmake ninja probe command: "cmake" "-S" "D:\\Programs\\Rust\\Cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\opencv-0.93.5\\cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_TOOLCHAIN_FILE=F:\\vcpkg\\scripts/buildsystems/vcpkg.cmake" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Ninja"
=== Probing with cmake ninja generator failed, will try Makefile generator, error: cmake returned an error
stdout: "-- Configuring incomplete, errors occurred!\n"
stderr: "CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):\n Compatibility with CMake < 3.10 will be removed from a future version of\n CMake.\n\n Update the VERSION argument <min> value. Or, use the <min>...<max> syntax\n to tell CMake that the project requires at least <min> but has been updated\n to work with policies introduced by <max> or earlier.\n\n\nCMake Error: CMake was unable to find a build program corresponding to \"Ninja\". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.\nCMake Error: CMAKE_C_COMPILER not set, after EnableLanguage\nCMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage\n"
=== cmake makefiles probe command: "cmake" "-S" "D:\\Programs\\Rust\\Cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\opencv-0.93.5\\cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_TOOLCHAIN_FILE=F:\\vcpkg\\scripts/buildsystems/vcpkg.cmake" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Unix Makefiles"
=== Probing with cmake Makefile generator failed, will try deprecated find_package, error: cmake returned an error
stdout: "-- Configuring incomplete, errors occurred!\n"
stderr: "CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):\n Compatibility with CMake < 3.10 will be removed from a future version of\n CMake.\n\n Update the VERSION argument <min> value. Or, use the <min>...<max> syntax\n to tell CMake that the project requires at least <min> but has been updated\n to work with policies introduced by <max> or earlier.\n\n\nCMake Error: CMake was unable to find a build program corresponding to \"Unix Makefiles\". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.\nCMake Error: CMAKE_C_COMPILER not set, after EnableLanguage\nCMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage\n"
=== cmake find-package compile probe command: "cmake" "-S" "D:\\Programs\\Rust\\Cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\opencv-0.93.5\\cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_TOOLCHAIN_FILE=F:\\vcpkg\\scripts/buildsystems/vcpkg.cmake" "-DCMAKE_BUILD_TYPE=Debug" "--find-package" "-DCOMPILER_ID=GNU" "-DLANGUAGE=CXX" "-DMODE=COMPILE" "-DNAME=OpenCV"
=== Can't probe using: vcpkg_cmake, continuing with other methods because: cmake returned an error
stdout: "OpenCV not found.\r\n"
stderr: "CMake Error: Run 'cmake --help' for all supported options.\n"
=== Probing OpenCV library using vcpkg
=== Can't probe using: vcpkg, continuing with other methods because: Could not find library in Vcpkg tree package opencv4 is not installed for vcpkg triplet x64-windows-static-md, Could not find library in Vcpkg tree package opencv3 is not installed for vcpkg triplet x64-windows-static-md
=== Probing OpenCV library using pkg_config
=== Can't probe using: pkg_config, continuing with other methods because: Could not run `PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags opencv4`
The pkg-config command could not be found.
Most likely, you need to install a pkg-config package for your OS.
If you've already installed it, ensure the pkg-config command is one of the
directories in the PATH environment variable.
If you did not expect this build to link to a pre-installed system library,
then check documentation of the opencv crate for an option to
build the library from source, or disable features or dependencies
that require pkg-config., Could not run `PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags opencv`
The pkg-config command could not be found.
Most likely, you need to install a pkg-config package for your OS.
If you've already installed it, ensure the pkg-config command is one of the
directories in the PATH environment variable.
If you did not expect this build to link to a pre-installed system library,
then check documentation of the opencv crate for an option to
build the library from source, or disable features or dependencies
that require pkg-config.
=== Probing OpenCV library using cmake
=== cmake ninja probe command: "cmake" "-S" "D:\\Programs\\Rust\\Cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\opencv-0.93.5\\cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Ninja"
=== Probing with cmake ninja generator failed, will try Makefile generator, error: cmake returned an error
stdout: "-- Configuring incomplete, errors occurred!\n"
stderr: "CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):\n Compatibility with CMake < 3.10 will be removed from a future version of\n CMake.\n\n Update the VERSION argument <min> value. Or, use the <min>...<max> syntax\n to tell CMake that the project requires at least <min> but has been updated\n to work with policies introduced by <max> or earlier.\n\n\nCMake Error: CMake was unable to find a build program corresponding to \"Ninja\". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.\nCMake Error: CMAKE_C_COMPILER not set, after EnableLanguage\nCMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage\n"
=== cmake makefiles probe command: "cmake" "-S" "D:\\Programs\\Rust\\Cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\opencv-0.93.5\\cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_BUILD_TYPE=Debug" "-G" "Unix Makefiles"
=== Probing with cmake Makefile generator failed, will try deprecated find_package, error: cmake returned an error
stdout: "-- Configuring incomplete, errors occurred!\n"
stderr: "CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):\n Compatibility with CMake < 3.10 will be removed from a future version of\n CMake.\n\n Update the VERSION argument <min> value. Or, use the <min>...<max> syntax\n to tell CMake that the project requires at least <min> but has been updated\n to work with policies introduced by <max> or earlier.\n\n\nCMake Error: CMake was unable to find a build program corresponding to \"Unix Makefiles\". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.\nCMake Error: CMAKE_C_COMPILER not set, after EnableLanguage\nCMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage\n"
=== cmake find-package compile probe command: "cmake" "-S" "D:\\Programs\\Rust\\Cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\opencv-0.93.5\\cmake" "-DOCVRS_PACKAGE_NAME=OpenCV" "-DCMAKE_BUILD_TYPE=Debug" "--find-package" "-DCOMPILER_ID=GNU" "-DLANGUAGE=CXX" "-DMODE=COMPILE" "-DNAME=OpenCV"
=== Can't probe using: cmake, continuing with other methods because: cmake returned an error
stdout: "OpenCV not found.\r\n"
stderr: "CMake Error: Run 'cmake --help' for all supported options.\n"
Error: "Failed to find installed OpenCV package using probes: environment, vcpkg_cmake, vcpkg, pkg_config, cmake, refer to https://github.com/twistedfall/opencv-rust#getting-opencv for help"
The text was updated successfully, but these errors were encountered:
WinGet install LLVM.LLVM
vcpkg install opencv4[contrib,nonfree]:x64-windows-static
The text was updated successfully, but these errors were encountered: