Closed SamedAli closed 5 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)
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)
.\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
Try lowering the versions of GCC and G++ and see if it helps.
This issue is about x64-windows...
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.
Operating system
Window 11
Compiler
MSVC
Steps to reproduce the behavior
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 logsD:\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::tupleAdditional context
I did pull and execute bat file.