microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.17k stars 6.39k forks source link

[opencv4] build failure #37899

Closed SamedAli closed 5 months ago

SamedAli commented 7 months ago

Operating system

Window 11

Compiler

MSVC

Steps to reproduce the behavior

.\vcpkg.exe install opencv4[contrib,cuda,cudnn]

Failure logs

Package: opencv4[contrib,core,cuda,cudnn,default-features,dnn,jpeg,png,quirc,tiff,webp]:x64-windows@4.8.0#15

Host Environment

To Reproduce

vcpkg install opencv4[contrib,cuda,cudnn] Failure logs

-- Using cached opencv4-e5e1a3bfdea96bebda2ad963bc8f6cf17930aef7.patch.
-- Using cached opencv-opencv-4.8.0.tar.gz.
-- Cleaning sources at D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/src/4.8.0-2bf495557d.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/DEVEL/Development_Software/vcpkg/downloads/opencv-opencv-4.8.0.tar.gz
-- Applying patch 0001-disable-downloading.patch
-- Applying patch 0002-install-options.patch
-- Applying patch 0003-force-package-requirements.patch
-- Applying patch 0004-fix-eigen.patch
-- Applying patch 0005-fix-policy-CMP0057.patch
-- Applying patch 0006-fix-uwp.patch
-- Applying patch 0008-devendor-quirc.patch
-- Applying patch 0009-fix-protobuf.patch
-- Applying patch 0010-fix-uwp-tiff-imgcodecs.patch
-- Applying patch 0011-remove-python2.patch
-- Applying patch 0012-fix-zlib.patch
-- Applying patch 0015-fix-freetype.patch
-- Applying patch 0017-fix-flatbuffers.patch
-- Applying patch 0019-missing-include.patch
-- Applying patch 0020-fix-compat-cuda12.2.patch
-- Applying patch 0021-static-openvino.patch
-- Applying patch D:/DEVEL/Development_Software/vcpkg/downloads/opencv4-e5e1a3bfdea96bebda2ad963bc8f6cf17930aef7.patch
-- Applying patch 0022-fix-supportqnx.patch
-- Using source at D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/src/4.8.0-2bf495557d.clean
-- Using cached opencv-cache/tiny_dnn/adb1c512e09ca2c7a6faef36f9c53e59-v1.0.0a3.tar.gz.
-- Using cached opencv-cache/nvidia_optical_flow/a73cd48b18dcc0cc8933b30796074191-edb50da3cf849840d680249aa6dbef248ebce2ca.zip.
-- Using cached opencv-opencv_contrib-4.8.0.tar.gz.
-- Cleaning sources at D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/src/4.8.0-8d756cdf2d.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/DEVEL/Development_Software/vcpkg/downloads/opencv-opencv_contrib-4.8.0.tar.gz
-- Applying patch 0007-fix-hdf5.patch
-- Applying patch 0016-fix-freetype-contrib.patch
-- Applying patch 0018-fix-depend-tesseract.patch
-- Applying patch 0019-fix-ogre-dependency.patch
-- Using source at D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/src/4.8.0-8d756cdf2d.clean
-- Using cached opencv-cache/wechat_qrcode/238e2b2d6f3c18d6c3a30de0c31e23cf-detect.caffemodel.
-- Using cached opencv-cache/wechat_qrcode/cbfcd60361a73beb8c583eea7e8e6664-sr.caffemodel.
-- Using cached opencv-cache/wechat_qrcode/6fb4976b32695f9f5c6305c19f12537d-detect.prototxt.
-- Using cached opencv-cache/wechat_qrcode/69db99927a70df953b471daaba03fbef-sr.prototxt.
-- Using cached opencv-cache/xfeatures2d/boostdesc/0ea90e7a8f3f7876d450e4149c97c74f-boostdesc_bgm.i.
-- Using cached opencv-cache/xfeatures2d/boostdesc/232c966b13651bd0e46a1497b0852191-boostdesc_bgm_bi.i.
-- Using cached opencv-cache/xfeatures2d/boostdesc/324426a24fa56ad9c5b8e3e0b3e5303e-boostdesc_bgm_hd.i.
-- Using cached opencv-cache/xfeatures2d/boostdesc/202e1b3e9fec871b04da31f7f016679f-boostdesc_binboost_064.i.
-- Using cached opencv-cache/xfeatures2d/boostdesc/98ea99d399965c03d555cef3ea502a0b-boostdesc_binboost_128.i.
-- Using cached opencv-cache/xfeatures2d/boostdesc/e6dcfa9f647779eb1ce446a8d759b6ea-boostdesc_binboost_256.i.
-- Using cached opencv-cache/xfeatures2d/boostdesc/0ae0675534aa318d9668f2a179c2a052-boostdesc_lbgm.i.
-- Using cached opencv-cache/xfeatures2d/vgg/e8d0dcd54d1bcfdc29203d011a797179-vgg_generated_48.i.
-- Using cached opencv-cache/xfeatures2d/vgg/7126a5d9a8884ebca5aea5d63d677225-vgg_generated_64.i.
-- Using cached opencv-cache/xfeatures2d/vgg/7cd47228edec52b6d82f46511af325c5-vgg_generated_80.i.
-- Using cached opencv-cache/xfeatures2d/vgg/151805e03568c9f490a5e3a872777b75-vgg_generated_120.i.
-- Using cached opencv-cache/data/7505c44ca4eb54b4ab1e4777cb96ac05-face_landmark_model.dat.
-- Found external ninja('1.11.0').
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: D:/DEVEL/Development_Software/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j17
    Working Directory: D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg
    See logs for more information:
      D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/opencv4/portfile.cmake:479 (vcpkg_cmake_install)
  scripts/ports.cmake:175 (include)
D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\install-x64-windows-dbg-out.log ``` Change Dir: 'D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg' Run Build Command(s): "D:/DEVEL/Development_Software/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v -v -j17 install [1/1344] D:/DEVEL/Development_Software/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmcldeps.exe RC D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\cudev\vs_version.rc modules\cudev\CMakeFiles\opencv_cudev.dir\vs_version.rc.res.d modules\cudev\CMakeFiles\opencv_cudev.dir\vs_version.rc.res "Note: including file: " "D:/DEVEL/Development_Software/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe" C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe -DCVAPI_EXPORTS -D_USE_MATH_DEFINES -D_VARIADIC_MAX=10 -D_WIN32_WINNT=0x0601 -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\src -I D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include -I D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\cudev -I D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\include -I D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg -c65001 /DWIN32 -D_DEBUG /fo modules\cudev\CMakeFiles\opencv_cudev.dir\vs_version.rc.res D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\cudev\vs_version.rc [2/1344] "D:\DEVEL\Development_Software\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\Hostx64\x64\cl.exe" /TP -DCVAPI_EXPORTS -D_USE_MATH_DEFINES -D_VARIADIC_MAX=10 -D_WIN32_WINNT=0x0601 -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\src -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\cudev -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\include -external:ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg -external:W0 /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /MP /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /FS /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /wd4819 /wd4189 /wd4505 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /Fomodules\cudev\CMakeFiles\opencv_cudev.dir\src\stub.cpp.obj /Fdlib\opencv_cudev4d.pdb /FS -c D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\src\stub.cpp [3/1344] C:\WINDOWS\system32\cmd.exe /C "cd . && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -E vs_link_dll --intdir=modules\cudev\CMakeFiles\opencv_cudev.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests -- "D:\DEVEL\Development_Software\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\Hostx64\x64\link.exe" modules\cudev\CMakeFiles\opencv_cudev.dir\src\stub.cpp.obj modules\cudev\CMakeFiles\opencv_cudev.dir\vs_version.rc.res /out:bin\opencv_cudev4d.dll /implib:lib\opencv_cudev4d.lib /pdb:bin\opencv_cudev4d.pdb /dll /version:4.8 /machine:x64 /nologo /debug /INCREMENTAL /NODEFAULTLIB:libc /DEBUG -LIBPATH:D:\DEVEL\Development_Libraries\CUDA\lib\x64 cudart_static.lib nppc.lib nppial.lib nppicc.lib nppidei.lib nppif.lib nppig.lib nppim.lib nppist.lib nppisu.lib nppitc.lib npps.lib cublas.lib cudnn.lib cufft.lib -LIBPATH:"D:/DEVEL/Development_Libraries/CUDA/lib/x64" cudart_static.lib nppc.lib nppial.lib nppicc.lib nppidei.lib nppif.lib nppig.lib nppim.lib nppist.lib nppisu.lib nppitc.lib npps.lib cublas.lib cudnn.lib cufft.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." [4/1344] C:\WINDOWS\system32\cmd.exe /C "cd /D D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\core && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -DMODULE_NAME=core -DCL_DIR=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/src/4.8.0-2bf495557d.clean/modules/core/src/opencl -DOUTPUT=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/core/opencl_kernels_core.cpp -P D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/src/4.8.0-2bf495557d.clean/cmake/cl2cpp.cmake" [5/1344] C:\WINDOWS\system32\cmd.exe /C "cd /D D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\core\CMakeFiles\cuda_compile_1.dir\src\cuda && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -E make_directory D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/. && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -D verbose:BOOL=OFF -D build_configuration:STRING=Debug -D generated_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_gpu_mat_nd.cu.obj -D generated_cubin_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_gpu_mat_nd.cu.obj.cubin.txt -P D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_gpu_mat_nd.cu.obj.Debug.cmake" gpu_mat_nd.cu gpu_mat_nd.cu tmpxft_00004990_00000000-10_gpu_mat_nd.compute_90.cudafe1.cpp D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\src\cuda\gpu_mat_nd.cu(67): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(86): warning C4505: 'cv::cudev::affineMap': unreferenced function with internal linkage has been removed D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(134): warning C4505: 'cv::cudev::perspectiveMap': unreferenced function with internal linkage has been removed [6/1344] C:\WINDOWS\system32\cmd.exe /C "cd /D D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\core\CMakeFiles\cuda_compile_1.dir\src\cuda && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -E make_directory D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/. && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -D verbose:BOOL=OFF -D build_configuration:STRING=Debug -D generated_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_gpu_mat.cu.obj -D generated_cubin_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_gpu_mat.cu.obj.cubin.txt -P D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/core/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_gpu_mat.cu.obj.Debug.cmake" gpu_mat.cu gpu_mat.cu tmpxft_000059d8_00000000-10_gpu_mat.compute_90.cudafe1.cpp D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(86): warning C4505: 'cv::cudev::affineMap': unreferenced function with internal linkage has been removed D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(134): warning C4505: 'cv::cudev::perspectiveMap': unreferenced function with internal linkage has been removed [7/1344] "D:\DEVEL\Development_Software\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\Hostx64\x64\cl.exe" /TP -DCVAPI_EXPORTS -DOPENCV_ALLOCATOR_STATS_COUNTER_TYPE="long long" -D_USE_MATH_DEFINES -D_VARIADIC_MAX=10 -D_WIN32_WINNT=0x0601 -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\src -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\include -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\core -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include -ID:\DEVEL\Development_Software\vcpkg\installed\x64-windows\include -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\3rdparty\include\opencl\1.2 -external:ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg -external:ID:\DEVEL\Development_Libraries\CUDA\include -external:W0 /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /MP /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /FS /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /wd4819 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /Fomodules\core\CMakeFiles\opencv_core.dir\src\buffer_area.cpp.obj /Fdlib\opencv_core4d.pdb /FS -c D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\src\buffer_area.cpp [8/1344] "D:\DEVEL\Development_Software\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\Hostx64\x64\cl.exe" /TP -DCVAPI_EXPORTS -DOPENCV_ALLOCATOR_STATS_COUNTER_TYPE="long long" -D_USE_MATH_DEFINES -D_VARIADIC_MAX=10 -D_WIN32_WINNT=0x0601 -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\src -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\include -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\core -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include -ID:\DEVEL\Development_Software\vcpkg\installed\x64-windows\include -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\3rdparty\include\opencl\1.2 -external:ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg -external:ID:\DEVEL\Development_Libraries\CUDA\include -external:W0 /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /MP /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /FS /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /wd4819 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /Fomodules\core\CMakeFiles\opencv_core.dir\src\convert_c.cpp.obj /Fdlib\opencv_core4d.pdb /FS -c D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\src\convert_c.cpp [9/1344] "D:\DEVEL\Development_Software\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\Hostx64\x64\cl.exe" /TP -DCVAPI_EXPORTS -DOPENCV_ALLOCATOR_STATS_COUNTER_TYPE="long long" -D_USE_MATH_DEFINES -D_VARIADIC_MAX=10 -D_WIN32_WINNT=0x0601 -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\src -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\include -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\core -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include -ID:\DEVEL\Development_Software\vcpkg\installed\x64-windows\include -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\3rdparty\include\opencl\1.2 -external:ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg -external:ID:\DEVEL\Development_Libraries\CUDA\include -external:W0 /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /MP /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /FS /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /wd4819 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /Fomodules\core\CMakeFiles\opencv_core.dir\src\algorithm.cpp.obj /Fdlib\opencv_core4d.pdb /FS -c D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\src\algorithm.cpp [10/1344] "D:\DEVEL\Development_Software\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\Hostx64\x64\cl.exe" /TP -DCVAPI_EXPORTS -DOPENCV_ALLOCATOR_STATS_COUNTER_TYPE="long long" -D_USE_MATH_DEFINES -D_VARIADIC_MAX=10 -D_WIN32_WINNT=0x0601 -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\src -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\include -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\core -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include -ID:\DEVEL\Development_Software\vcpkg\installed\x64-windows\include -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\3rdparty\include\opencl\1.2 -external:ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg -external:ID:\DEVEL\Development_Libraries\CUDA\include -external:W0 /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /MP /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /FS /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /wd4819 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /Fomodules\core\CMakeFiles\opencv_core.dir\src\batch_distance.cpp.obj /Fdlib\opencv_core4d.pdb /FS -c D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\src\batch_distance.cpp [11/1344] "D:\DEVEL\Development_Software\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\Hostx64\x64\cl.exe" /TP -DCVAPI_EXPORTS -DOPENCV_ALLOCATOR_STATS_COUNTER_TYPE="long long" -D_USE_MATH_DEFINES -D_VARIADIC_MAX=10 -D_WIN32_WINNT=0x0601 -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_MALLOC_H=1 -DHAVE_WIN32_ALIGNED_MALLOC=1 -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\src -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\include -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\core -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include -ID:\DEVEL\Development_Software\vcpkg\installed\x64-windows\include -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\3rdparty\include\opencl\1.2 -external:ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg -external:ID:\DEVEL\Development_Libraries\CUDA\include -external:W0 /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /MP /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /FS /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /wd4819 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /Fomodules\core\CMakeFiles\opencv_core.dir\src\alloc.cpp.obj /Fdlib\opencv_core4d.pdb /FS -c D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\src\alloc.cpp [12/1344] "D:\DEVEL\Development_Software\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\Hostx64\x64\cl.exe" /TP -DCVAPI_EXPORTS -DOPENCV_ALLOCATOR_STATS_COUNTER_TYPE="long long" -D_USE_MATH_DEFINES -D_VARIADIC_MAX=10 -D_WIN32_WINNT=0x0601 -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\src -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\include -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\core -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include -ID:\DEVEL\Development_Software\vcpkg\installed\x64-windows\include -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\3rdparty\include\opencl\1.2 -external:ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg -external:ID:\DEVEL\Development_Libraries\CUDA\include -external:W0 /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /MP /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /FS /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /wd4819 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /Fomodules\core\CMakeFiles\opencv_core.dir\src\conjugate_gradient.cpp.obj /Fdlib\opencv_core4d.pdb /FS -c D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\src\conjugate_gradient.cpp [13/1344] "D:\DEVEL\Development_Software\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\Hostx64\x64\cl.exe" /TP -DCVAPI_EXPORTS -DOPENCV_ALLOCATOR_STATS_COUNTER_TYPE="long long" -D_USE_MATH_DEFINES -D_VARIADIC_MAX=10 -D_WIN32_WINNT=0x0601 -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\src -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\include -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\core -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include -ID:\DEVEL\Development_Software\vcpkg\installed\x64-windows\include -ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\3rdparty\include\opencl\1.2 -external:ID:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg -external:ID:\DEVEL\Development_Libraries\CUDA\include -external:W0 /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /MP /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /FS /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /wd4819 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /Fomodules\core\CMakeFiles\opencv_core.dir\src\async.cpp.obj /Fdlib\opencv_core4d.pdb /FS -c D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-2bf495557d.clean\modules\core\src\async.cpp ... Skipped 1695 lines ... D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev\grid\detail/reduce_to_column.hpp(82): error: no instance of overloaded function "cv::cudev::blockReduce" matches the argument list argument types are: (cuda::std::__4::tuple, cuda::std::__4::tuple, const unsigned int, cuda::std::__4::tuple, cv::cudev::Max, cv::cudev::Max>) blockReduce(smem_tuple(smem[0], smem[1], smem[2]), tie(myVal.x, myVal.y, myVal.z), threadIdx.x, make_tuple(op, op, op)); ^ D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/block/reduce.hpp(72): note #3327-D: candidate function template "cv::cudev::blockReduce(const thrust::THRUST_200301_500_520_600_610_700_750_800_860_890_900_NS::tuple &, const thrust::THRUST_200301_500_520_600_610_700_750_800_860_890_900_NS::tuple &, uint, const thrust::THRUST_200301_500_520_600_610_700_750_800_860_890_900_NS::tuple &)" failed deduction __declspec(__device__) __forceinline void blockReduce(const tuple& smem, ^ D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/block/reduce.hpp(63): note #3327-D: candidate function template "cv::cudev::blockReduce(volatile T *, T &, uint, const Op &)" failed deduction __declspec(__device__) __forceinline void blockReduce(volatile T* smem, T& val, uint tid, const Op& op) ^ detected during: instantiation of "void cv::cudev::grid_reduce_to_vec_detail::Reduce::call(work_elem_type (*)[BLOCK_SIZE], work_type &) [with BLOCK_SIZE=256, work_type=double3, work_elem_type=double, Reductor=cv::cudev::Max]" at line 118 instantiation of "void cv::cudev::grid_reduce_to_vec_detail::reduceToColumn(SrcPtr, ResType *, MaskPtr, int) [with Reductor=cv::cudev::Max, BLOCK_SIZE=256, SrcPtr=cv::cudev::GlobPtr, ResType=double3, MaskPtr=cv::cudev::WithOutMask]" at line 135 instantiation of "void cv::cudev::grid_reduce_to_vec_detail::reduceToColumn(const SrcPtr &, ResType *, const MaskPtr &, int, int, cudaStream_t) [with Reductor=cv::cudev::Max, Policy=cv::cudev::DefaultReduceToVecPolicy, SrcPtr=cv::cudev::GlobPtr, ResType=double3, MaskPtr=cv::cudev::WithOutMask]" at line 206 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/grid/reduce_to_vec.hpp instantiation of "void cv::cudev::gridReduceToColumn_(const SrcPtr &, cv::cudev::GpuMat_ &, cv::cuda::Stream &) [with Reductor=cv::cudev::Max, Policy=cv::cudev::DefaultReduceToVecPolicy, SrcPtr=cv::cudev::GpuMat_, ResType=double3]" at line 228 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/grid/reduce_to_vec.hpp instantiation of "void cv::cudev::gridReduceToColumn(const SrcPtr &, cv::cudev::GpuMat_ &, cv::cuda::Stream &) [with Reductor=cv::cudev::Max, SrcPtr=cv::cudev::GpuMat_, ResType=double3]" at line 108 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudaarithm\src\cuda\reduce.cu instantiation of "void ::reduceToColumnImpl_(const cv::cuda::GpuMat &, cv::cuda::GpuMat &, int, cv::cuda::Stream &) [with T=uchar3, S=double3, D=double3]" at line 123 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudaarithm\src\cuda\reduce.cu instantiation of "void ::reduceToColumnImpl(const cv::cuda::GpuMat &, cv::cuda::GpuMat &, int, cv::cuda::Stream &) [with T=uchar, S=double, D=double]" at line 232 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudaarithm\src\cuda\reduce.cu D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev\grid\detail/reduce_to_column.hpp(91): error: no instance of overloaded function "cv::cudev::blockReduce" matches the argument list argument types are: (cuda::std::__4::tuple, cuda::std::__4::tuple, const unsigned int, cuda::std::__4::tuple, cv::cudev::Sum, cv::cudev::Sum, cv::cudev::Sum>) blockReduce(smem_tuple(smem[0], smem[1], smem[2], smem[3]), tie(myVal.x, myVal.y, myVal.z, myVal.w), threadIdx.x, make_tuple(op, op, op, op)); ^ D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/block/reduce.hpp(72): note #3327-D: candidate function template "cv::cudev::blockReduce(const thrust::THRUST_200301_500_520_600_610_700_750_800_860_890_900_NS::tuple &, const thrust::THRUST_200301_500_520_600_610_700_750_800_860_890_900_NS::tuple &, uint, const thrust::THRUST_200301_500_520_600_610_700_750_800_860_890_900_NS::tuple &)" failed deduction __declspec(__device__) __forceinline void blockReduce(const tuple& smem, ^ D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/block/reduce.hpp(63): note #3327-D: candidate function template "cv::cudev::blockReduce(volatile T *, T &, uint, const Op &)" failed deduction __declspec(__device__) __forceinline void blockReduce(volatile T* smem, T& val, uint tid, const Op& op) ^ detected during: instantiation of "void cv::cudev::grid_reduce_to_vec_detail::Reduce::call(work_elem_type (*)[BLOCK_SIZE], work_type &) [with BLOCK_SIZE=256, work_type=double4, work_elem_type=double, Reductor=cv::cudev::Sum]" at line 118 instantiation of "void cv::cudev::grid_reduce_to_vec_detail::reduceToColumn(SrcPtr, ResType *, MaskPtr, int) [with Reductor=cv::cudev::Sum, BLOCK_SIZE=256, SrcPtr=cv::cudev::GlobPtr, ResType=double4, MaskPtr=cv::cudev::WithOutMask]" at line 135 instantiation of "void cv::cudev::grid_reduce_to_vec_detail::reduceToColumn(const SrcPtr &, ResType *, const MaskPtr &, int, int, cudaStream_t) [with Reductor=cv::cudev::Sum, Policy=cv::cudev::DefaultReduceToVecPolicy, SrcPtr=cv::cudev::GlobPtr, ResType=double4, MaskPtr=cv::cudev::WithOutMask]" at line 206 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/grid/reduce_to_vec.hpp instantiation of "void cv::cudev::gridReduceToColumn_(const SrcPtr &, cv::cudev::GpuMat_ &, cv::cuda::Stream &) [with Reductor=cv::cudev::Sum, Policy=cv::cudev::DefaultReduceToVecPolicy, SrcPtr=cv::cudev::GpuMat_, ResType=double4]" at line 228 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/grid/reduce_to_vec.hpp instantiation of "void cv::cudev::gridReduceToColumn(const SrcPtr &, cv::cudev::GpuMat_ &, cv::cuda::Stream &) [with Reductor=cv::cudev::Sum, SrcPtr=cv::cudev::GpuMat_, ResType=double4]" at line 96 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudaarithm\src\cuda\reduce.cu instantiation of "void ::reduceToColumnImpl_(const cv::cuda::GpuMat &, cv::cuda::GpuMat &, int, cv::cuda::Stream &) [with T=uchar4, S=double4, D=double4]" at line 123 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudaarithm\src\cuda\reduce.cu instantiation of "void ::reduceToColumnImpl(const cv::cuda::GpuMat &, cv::cuda::GpuMat &, int, cv::cuda::Stream &) [with T=uchar, S=double, D=double]" at line 232 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudaarithm\src\cuda\reduce.cu D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev\grid\detail/reduce_to_column.hpp(91): error: no instance of overloaded function "cv::cudev::blockReduce" matches the argument list argument types are: (cuda::std::__4::tuple, cuda::std::__4::tuple, const unsigned int, cuda::std::__4::tuple, cv::cudev::Avg, cv::cudev::Avg, cv::cudev::Avg>) blockReduce(smem_tuple(smem[0], smem[1], smem[2], smem[3]), tie(myVal.x, myVal.y, myVal.z, myVal.w), threadIdx.x, make_tuple(op, op, op, op)); ^ D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/block/reduce.hpp(72): note #3327-D: candidate function template "cv::cudev::blockReduce(const thrust::THRUST_200301_500_520_600_610_700_750_800_860_890_900_NS::tuple &, const thrust::THRUST_200301_500_520_600_610_700_750_800_860_890_900_NS::tuple &, uint, const thrust::THRUST_200301_500_520_600_610_700_750_800_860_890_900_NS::tuple &)" failed deduction __declspec(__device__) __forceinline void blockReduce(const tuple& smem, ^ D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/block/reduce.hpp(63): note #3327-D: candidate function template "cv::cudev::blockReduce(volatile T *, T &, uint, const Op &)" failed deduction __declspec(__device__) __forceinline void blockReduce(volatile T* smem, T& val, uint tid, const Op& op) ^ detected during: instantiation of "void cv::cudev::grid_reduce_to_vec_detail::Reduce::call(work_elem_type (*)[BLOCK_SIZE], work_type &) [with BLOCK_SIZE=256, work_type=double4, work_elem_type=double, Reductor=cv::cudev::Avg]" at line 118 instantiation of "void cv::cudev::grid_reduce_to_vec_detail::reduceToColumn(SrcPtr, ResType *, MaskPtr, int) [with Reductor=cv::cudev::Avg, BLOCK_SIZE=256, SrcPtr=cv::cudev::GlobPtr, ResType=double4, MaskPtr=cv::cudev::WithOutMask]" at line 135 instantiation of "void cv::cudev::grid_reduce_to_vec_detail::reduceToColumn(const SrcPtr &, ResType *, const MaskPtr &, int, int, cudaStream_t) [with Reductor=cv::cudev::Avg, Policy=cv::cudev::DefaultReduceToVecPolicy, SrcPtr=cv::cudev::GlobPtr, ResType=double4, MaskPtr=cv::cudev::WithOutMask]" at line 206 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/grid/reduce_to_vec.hpp instantiation of "void cv::cudev::gridReduceToColumn_(const SrcPtr &, cv::cudev::GpuMat_ &, cv::cuda::Stream &) [with Reductor=cv::cudev::Avg, Policy=cv::cudev::DefaultReduceToVecPolicy, SrcPtr=cv::cudev::GpuMat_, ResType=double4]" at line 228 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/grid/reduce_to_vec.hpp instantiation of "void cv::cudev::gridReduceToColumn(const SrcPtr &, cv::cudev::GpuMat_ &, cv::cuda::Stream &) [with Reductor=cv::cudev::Avg, SrcPtr=cv::cudev::GpuMat_, ResType=double4]" at line 100 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudaarithm\src\cuda\reduce.cu instantiation of "void ::reduceToColumnImpl_(const cv::cuda::GpuMat &, cv::cuda::GpuMat &, int, cv::cuda::Stream &) [with T=uchar4, S=double4, D=double4]" at line 123 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudaarithm\src\cuda\reduce.cu instantiation of "void ::reduceToColumnImpl(const cv::cuda::GpuMat &, cv::cuda::GpuMat &, int, cv::cuda::Stream &) [with T=uchar, S=double, D=double]" at line 232 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudaarithm\src\cuda\reduce.cu D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev\grid\detail/reduce_to_column.hpp(91): error: no instance of overloaded function "cv::cudev::blockReduce" matches the argument list argument types are: (cuda::std::__4::tuple, cuda::std::__4::tuple, const unsigned int, cuda::std::__4::tuple, cv::cudev::Min, cv::cudev::Min, cv::cudev::Min>) blockReduce(smem_tuple(smem[0], smem[1], smem[2], smem[3]), tie(myVal.x, myVal.y, myVal.z, myVal.w), threadIdx.x, make_tuple(op, op, op, op)); ^ D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/block/reduce.hpp(72): note #3327-D: candidate function template "cv::cudev::blockReduce(const thrust::THRUST_200301_500_520_600_610_700_750_800_860_890_900_NS::tuple &, const thrust::THRUST_200301_500_520_600_610_700_750_800_860_890_900_NS::tuple &, uint, const thrust::THRUST_200301_500_520_600_610_700_750_800_860_890_900_NS::tuple &)" failed deduction __declspec(__device__) __forceinline void blockReduce(const tuple& smem, ^ D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/block/reduce.hpp(63): note #3327-D: candidate function template "cv::cudev::blockReduce(volatile T *, T &, uint, const Op &)" failed deduction __declspec(__device__) __forceinline void blockReduce(volatile T* smem, T& val, uint tid, const Op& op) ^ detected during: instantiation of "void cv::cudev::grid_reduce_to_vec_detail::Reduce::call(work_elem_type (*)[BLOCK_SIZE], work_type &) [with BLOCK_SIZE=256, work_type=double4, work_elem_type=double, Reductor=cv::cudev::Min]" at line 118 instantiation of "void cv::cudev::grid_reduce_to_vec_detail::reduceToColumn(SrcPtr, ResType *, MaskPtr, int) [with Reductor=cv::cudev::Min, BLOCK_SIZE=256, SrcPtr=cv::cudev::GlobPtr, ResType=double4, MaskPtr=cv::cudev::WithOutMask]" at line 135 instantiation of "void cv::cudev::grid_reduce_to_vec_detail::reduceToColumn(const SrcPtr &, ResType *, const MaskPtr &, int, int, cudaStream_t) [with Reductor=cv::cudev::Min, Policy=cv::cudev::DefaultReduceToVecPolicy, SrcPtr=cv::cudev::GlobPtr, ResType=double4, MaskPtr=cv::cudev::WithOutMask]" at line 206 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/grid/reduce_to_vec.hpp instantiation of "void cv::cudev::gridReduceToColumn_(const SrcPtr &, cv::cudev::GpuMat_ &, cv::cuda::Stream &) [with Reductor=cv::cudev::Min, Policy=cv::cudev::DefaultReduceToVecPolicy, SrcPtr=cv::cudev::GpuMat_, ResType=double4]" at line 228 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/grid/reduce_to_vec.hpp instantiation of "void cv::cudev::gridReduceToColumn(const SrcPtr &, cv::cudev::GpuMat_ &, cv::cuda::Stream &) [with Reductor=cv::cudev::Min, SrcPtr=cv::cudev::GpuMat_, ResType=double4]" at line 104 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudaarithm\src\cuda\reduce.cu instantiation of "void ::reduceToColumnImpl_(const cv::cuda::GpuMat &, cv::cuda::GpuMat &, int, cv::cuda::Stream &) [with T=uchar4, S=double4, D=double4]" at line 123 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudaarithm\src\cuda\reduce.cu instantiation of "void ::reduceToColumnImpl(const cv::cuda::GpuMat &, cv::cuda::GpuMat &, int, cv::cuda::Stream &) [with T=uchar, S=double, D=double]" at line 232 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudaarithm\src\cuda\reduce.cu D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev\grid\detail/reduce_to_column.hpp(91): error: no instance of overloaded function "cv::cudev::blockReduce" matches the argument list argument types are: (cuda::std::__4::tuple, cuda::std::__4::tuple, const unsigned int, cuda::std::__4::tuple, cv::cudev::Max, cv::cudev::Max, cv::cudev::Max>) blockReduce(smem_tuple(smem[0], smem[1], smem[2], smem[3]), tie(myVal.x, myVal.y, myVal.z, myVal.w), threadIdx.x, make_tuple(op, op, op, op)); ^ D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/block/reduce.hpp(72): note #3327-D: candidate function template "cv::cudev::blockReduce(const thrust::THRUST_200301_500_520_600_610_700_750_800_860_890_900_NS::tuple &, const thrust::THRUST_200301_500_520_600_610_700_750_800_860_890_900_NS::tuple &, uint, const thrust::THRUST_200301_500_520_600_610_700_750_800_860_890_900_NS::tuple &)" failed deduction __declspec(__device__) __forceinline void blockReduce(const tuple& smem, ^ D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/block/reduce.hpp(63): note #3327-D: candidate function template "cv::cudev::blockReduce(volatile T *, T &, uint, const Op &)" failed deduction __declspec(__device__) __forceinline void blockReduce(volatile T* smem, T& val, uint tid, const Op& op) ^ detected during: instantiation of "void cv::cudev::grid_reduce_to_vec_detail::Reduce::call(work_elem_type (*)[BLOCK_SIZE], work_type &) [with BLOCK_SIZE=256, work_type=double4, work_elem_type=double, Reductor=cv::cudev::Max]" at line 118 instantiation of "void cv::cudev::grid_reduce_to_vec_detail::reduceToColumn(SrcPtr, ResType *, MaskPtr, int) [with Reductor=cv::cudev::Max, BLOCK_SIZE=256, SrcPtr=cv::cudev::GlobPtr, ResType=double4, MaskPtr=cv::cudev::WithOutMask]" at line 135 instantiation of "void cv::cudev::grid_reduce_to_vec_detail::reduceToColumn(const SrcPtr &, ResType *, const MaskPtr &, int, int, cudaStream_t) [with Reductor=cv::cudev::Max, Policy=cv::cudev::DefaultReduceToVecPolicy, SrcPtr=cv::cudev::GlobPtr, ResType=double4, MaskPtr=cv::cudev::WithOutMask]" at line 206 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/grid/reduce_to_vec.hpp instantiation of "void cv::cudev::gridReduceToColumn_(const SrcPtr &, cv::cudev::GpuMat_ &, cv::cuda::Stream &) [with Reductor=cv::cudev::Max, Policy=cv::cudev::DefaultReduceToVecPolicy, SrcPtr=cv::cudev::GpuMat_, ResType=double4]" at line 228 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/grid/reduce_to_vec.hpp instantiation of "void cv::cudev::gridReduceToColumn(const SrcPtr &, cv::cudev::GpuMat_ &, cv::cuda::Stream &) [with Reductor=cv::cudev::Max, SrcPtr=cv::cudev::GpuMat_, ResType=double4]" at line 108 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudaarithm\src\cuda\reduce.cu instantiation of "void ::reduceToColumnImpl_(const cv::cuda::GpuMat &, cv::cuda::GpuMat &, int, cv::cuda::Stream &) [with T=uchar4, S=double4, D=double4]" at line 123 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudaarithm\src\cuda\reduce.cu instantiation of "void ::reduceToColumnImpl(const cv::cuda::GpuMat &, cv::cuda::GpuMat &, int, cv::cuda::Stream &) [with T=uchar, S=double, D=double]" at line 232 of D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudaarithm\src\cuda\reduce.cu 36 errors detected in the compilation of "D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/src/4.8.0-8d756cdf2d.clean/modules/cudaarithm/src/cuda/reduce.cu". reduce.cu CMake Error at cuda_compile_1_generated_reduce.cu.obj.Debug.cmake:280 (message): Error generating file D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_reduce.cu.obj [169/1344] C:\WINDOWS\system32\cmd.exe /C "cd /D D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\cudaarithm\CMakeFiles\cuda_compile_1.dir\src\cuda && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -E make_directory D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/. && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -D verbose:BOOL=OFF -D build_configuration:STRING=Debug -D generated_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_mul_spectrums.cu.obj -D generated_cubin_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_mul_spectrums.cu.obj.cubin.txt -P D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_mul_spectrums.cu.obj.Debug.cmake" mul_spectrums.cu mul_spectrums.cu tmpxft_00004aac_00000000-10_mul_spectrums.compute_90.cudafe1.cpp D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(86): warning C4505: 'cv::cudev::affineMap': unreferenced function with internal linkage has been removed D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(134): warning C4505: 'cv::cudev::perspectiveMap': unreferenced function with internal linkage has been removed [170/1344] C:\WINDOWS\system32\cmd.exe /C "cd /D D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\cudaarithm\CMakeFiles\cuda_compile_1.dir\src\cuda && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -E make_directory D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/. && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -D verbose:BOOL=OFF -D build_configuration:STRING=Debug -D generated_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_minmax_mat.cu.obj -D generated_cubin_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_minmax_mat.cu.obj.cubin.txt -P D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_minmax_mat.cu.obj.Debug.cmake" minmax_mat.cu minmax_mat.cu tmpxft_00004524_00000000-10_minmax_mat.compute_90.cudafe1.cpp D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(86): warning C4505: 'cv::cudev::affineMap': unreferenced function with internal linkage has been removed D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(134): warning C4505: 'cv::cudev::perspectiveMap': unreferenced function with internal linkage has been removed [171/1344] C:\WINDOWS\system32\cmd.exe /C "cd /D D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\cudaarithm\CMakeFiles\cuda_compile_1.dir\src\cuda && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -E make_directory D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/. && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -D verbose:BOOL=OFF -D build_configuration:STRING=Debug -D generated_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_div_scalar.cu.obj -D generated_cubin_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_div_scalar.cu.obj.cubin.txt -P D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_div_scalar.cu.obj.Debug.cmake" div_scalar.cu div_scalar.cu tmpxft_00004884_00000000-10_div_scalar.compute_90.cudafe1.cpp D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(86): warning C4505: 'cv::cudev::affineMap': unreferenced function with internal linkage has been removed D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(134): warning C4505: 'cv::cudev::perspectiveMap': unreferenced function with internal linkage has been removed [172/1344] C:\WINDOWS\system32\cmd.exe /C "cd /D D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\cudaarithm\CMakeFiles\cuda_compile_1.dir\src\cuda && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -E make_directory D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/. && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -D verbose:BOOL=OFF -D build_configuration:STRING=Debug -D generated_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_add_weighted.cu.obj -D generated_cubin_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_add_weighted.cu.obj.cubin.txt -P D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_add_weighted.cu.obj.Debug.cmake" add_weighted.cu add_weighted.cu tmpxft_00005344_00000000-10_add_weighted.compute_90.cudafe1.cpp D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(86): warning C4505: 'cv::cudev::affineMap': unreferenced function with internal linkage has been removed D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(134): warning C4505: 'cv::cudev::perspectiveMap': unreferenced function with internal linkage has been removed [173/1344] C:\WINDOWS\system32\cmd.exe /C "cd /D D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\cudaarithm\CMakeFiles\cuda_compile_1.dir\src\cuda && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -E make_directory D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/. && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -D verbose:BOOL=OFF -D build_configuration:STRING=Debug -D generated_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_norm.cu.obj -D generated_cubin_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_norm.cu.obj.cubin.txt -P D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_norm.cu.obj.Debug.cmake" norm.cu norm.cu tmpxft_00004734_00000000-10_norm.compute_90.cudafe1.cpp D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(86): warning C4505: 'cv::cudev::affineMap': unreferenced function with internal linkage has been removed D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(134): warning C4505: 'cv::cudev::perspectiveMap': unreferenced function with internal linkage has been removed [174/1344] C:\WINDOWS\system32\cmd.exe /C "cd /D D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\cudaarithm\CMakeFiles\cuda_compile_1.dir\src\cuda && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -E make_directory D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/. && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -D verbose:BOOL=OFF -D build_configuration:STRING=Debug -D generated_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_mul_mat.cu.obj -D generated_cubin_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_mul_mat.cu.obj.cubin.txt -P D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_mul_mat.cu.obj.Debug.cmake" mul_mat.cu mul_mat.cu tmpxft_00005990_00000000-10_mul_mat.compute_90.cudafe1.cpp D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(86): warning C4505: 'cv::cudev::affineMap': unreferenced function with internal linkage has been removed D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(134): warning C4505: 'cv::cudev::perspectiveMap': unreferenced function with internal linkage has been removed [175/1344] C:\WINDOWS\system32\cmd.exe /C "cd /D D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\cudaarithm\CMakeFiles\cuda_compile_1.dir\src\cuda && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -E make_directory D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/. && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -D verbose:BOOL=OFF -D build_configuration:STRING=Debug -D generated_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_mul_scalar.cu.obj -D generated_cubin_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_mul_scalar.cu.obj.cubin.txt -P D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_mul_scalar.cu.obj.Debug.cmake" mul_scalar.cu mul_scalar.cu tmpxft_00005aa4_00000000-10_mul_scalar.compute_90.cudafe1.cpp D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(86): warning C4505: 'cv::cudev::affineMap': unreferenced function with internal linkage has been removed D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(134): warning C4505: 'cv::cudev::perspectiveMap': unreferenced function with internal linkage has been removed [176/1344] C:\WINDOWS\system32\cmd.exe /C "cd /D D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\cudaarithm\CMakeFiles\cuda_compile_1.dir\src\cuda && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -E make_directory D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/. && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -D verbose:BOOL=OFF -D build_configuration:STRING=Debug -D generated_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_sub_mat.cu.obj -D generated_cubin_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_sub_mat.cu.obj.cubin.txt -P D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_sub_mat.cu.obj.Debug.cmake" sub_mat.cu sub_mat.cu tmpxft_00004bd0_00000000-10_sub_mat.compute_90.cudafe1.cpp D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(86): warning C4505: 'cv::cudev::affineMap': unreferenced function with internal linkage has been removed D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(134): warning C4505: 'cv::cudev::perspectiveMap': unreferenced function with internal linkage has been removed [177/1344] C:\WINDOWS\system32\cmd.exe /C "cd /D D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\x64-windows-dbg\modules\cudaarithm\CMakeFiles\cuda_compile_1.dir\src\cuda && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -E make_directory D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/. && D:\DEVEL\Development_Software\vcpkg\downloads\tools\cmake-3.29.0-windows\cmake-3.29.0-windows-i386\bin\cmake.exe -D verbose:BOOL=OFF -D build_configuration:STRING=Debug -D generated_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_sub_scalar.cu.obj -D generated_cubin_file:STRING=D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_sub_scalar.cu.obj.cubin.txt -P D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_sub_scalar.cu.obj.Debug.cmake" sub_scalar.cu sub_scalar.cu tmpxft_00002a0c_00000000-10_sub_scalar.compute_90.cudafe1.cpp D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(86): warning C4505: 'cv::cudev::affineMap': unreferenced function with internal linkage has been removed D:\DEVEL\Development_Software\vcpkg\buildtrees\opencv4\src\4.8.0-8d756cdf2d.clean\modules\cudev\include\opencv2\cudev/ptr2d/warping.hpp(134): warning C4505: 'cv::cudev::perspectiveMap': unreferenced function with internal linkage has been removed ninja: build stopped: subcommand failed. ```

Additional context

I did pull and execute bat file.

JonLiu1993 commented 7 months ago

@SamedAli, I can't reproduce your error locally:

-- Found external ninja('1.11.0').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.4.10-4-x86_64.pkg.tar.zst.
-- Using msys root at F:/test/vcpkg/downloads/tools/msys2/d33df895d441a36d
-- Installing: F:/test/vcpkg/packages/opencv4_x64-windows/share/opencv4/copyright
-- Performing post-build validation
Elapsed time to handle opencv4:x64-windows: 2.7 h
Total install time: 2.9 h
If you do not install the meta-port *opencv*, the package opencv4 is compatible with CMake
if you set the OpenCV_DIR *before* the find_package call

    set(OpenCV_DIR "${VCPKG_INSTALLED_DIR}/x64-windows/share/opencv4")
    find_package(OpenCV REQUIRED)
SamedAli commented 7 months ago

Well, if that’s the case, it’s probably my development environment that is causing this issue. What’s kind of weird is that running .\vcpkg.exe install opencv4[contrib,cuda,cudnn] fails, but .\vcpkg.exe install opencv4 executes successfully. I’ll go through the log files when I have some time (the CUDA part isn’t that urgent at the moment) and investigate the underlying cause.

(Can be closed if this is a local problem)

JonLiu1993 commented 7 months ago

.\vcpkg.exe install opencv4[contrib,cuda,cudnn] enables contrib,cuda,cudnn feature, .\vcpkg.exe install opencv4 only installs the port itself,

CMake Error at cuda_compile_1_generated_reduce.cu.obj.Debug.cmake:280 (message):
  Error generating file
  D:/DEVEL/Development_Software/vcpkg/buildtrees/opencv4/x64-windows-dbg/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_reduce.cu.obj
dg0yt commented 7 months ago

Try lowering the versions of GCC and G++ and see if it helps.

This issue is about x64-windows...

github-actions[bot] commented 6 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.