Giter Club home page Giter Club logo

Comments (8)

cudawarped avatar cudawarped commented on July 19, 2024

Which version of CMake are you using?

Can you use the CMake command line instead of the GUI and post the arguments you are passing to CMake otherwise there is no way to know exactly what you have changed from the default config apart from adding WITH_CUDA?

from opencv.

sck-star avatar sck-star commented on July 19, 2024

image
this is the version of CMake.
image
And command line is like this.
image
image
image
I have got those wrong messages.

from opencv.

cudawarped avatar cudawarped commented on July 19, 2024

Can you paste not screen shot the output from the configuration stage as well please, everything under

-- General configuration for OpenCV 4.10.0

from opencv.

sck-star avatar sck-star commented on July 19, 2024

-- General configuration for OpenCV 4.10.0-dev =====================================
-- Version control: 4.9.0-550-g337c183b9d

-- Extra modules:
-- Location (extra): D:/workspace/opencv_contrib/opencv_contrib/modules
-- Version control (extra): unknown

-- Platform:
-- Timestamp: 2024-06-04T03:56:10Z
-- Host: Windows 10.0.19045 AMD64
-- CMake: 3.29.4
-- CMake generator: Visual Studio 17 2022
-- CMake build tool: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/MSBuild/Current/Bin/amd64/MSBuild.exe
-- MSVC: 1940
-- Configuration: Debug Release

-- CPU/HW features:
-- Baseline: SSE SSE2 SSE3
-- requested: SSE3
-- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
-- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
-- SSE4_1 (18 files): + SSSE3 SSE4_1
-- SSE4_2 (2 files): + SSSE3 SSE4_1 POPCNT SSE4_2
-- FP16 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
-- AVX (9 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
-- AVX2 (38 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
-- AVX512_SKX (8 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX

-- C/C++:
-- Built as dynamic libs?: YES
-- C++ standard: 11
-- C++ Compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe (ver 19.40.33811.0)
-- C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /wd4819 /MP /O2 /Ob2 /DNDEBUG
-- C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /wd4819 /MP /Zi /Ob0 /Od /RTC1
-- C Compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe
-- C flags (Release): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /MP /O2 /Ob2 /DNDEBUG
-- C flags (Debug): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /MP /Zi /Ob0 /Od /RTC1
-- Linker flags (Release): /machine:x64 /INCREMENTAL:NO
-- Linker flags (Debug): /machine:x64 /debug /INCREMENTAL
-- ccache: NO
-- Precompiled headers: YES
-- Extra dependencies: 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 cufft.lib -LIBPATH:C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.3/lib/x64
-- 3rdparty dependencies:

-- OpenCV modules:
-- To be built: aruco bgsegm bioinspired calib3d ccalib core cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev datasets dnn dnn_objdetect dnn_superres dpm face features2d flann fuzzy gapi hfs highgui img_hash imgcodecs imgproc intensity_transform java line_descriptor mcc ml objdetect optflow phase_unwrapping photo plot quality rapid reg rgbd saliency shape signal stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab viz wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto
-- Disabled: world
-- Disabled by dependency: -
-- Unavailable: alphamat cannops cvv freetype hdf julia matlab ovis python2 python3 sfm
-- Applications: tests perf_tests examples apps
-- Documentation: NO
-- Non-free algorithms: NO

-- Windows RT support: NO

-- GUI: WIN32UI
-- Win32 UI: YES
-- VTK support: YES (ver 9.3.0)

-- Media I/O:
-- ZLib: build (ver 1.3.1)
-- JPEG: build-libjpeg-turbo (ver 3.0.3-70)
-- SIMD Support Request: YES
-- SIMD Support: NO
-- WEBP: build (ver encoder: 0x020f)
-- PNG: build (ver 1.6.43)
-- SIMD Support Request: YES
-- SIMD Support: YES (Intel SSE)
-- TIFF: build (ver 42 - 4.6.0)
-- JPEG 2000: build (ver 2.5.0)
-- OpenEXR: build (ver 2.3.0)
-- HDR: YES
-- SUNRASTER: YES
-- PXM: YES
-- PFM: YES

-- Video I/O:
-- DC1394: NO
-- FFMPEG: YES (prebuilt binaries)
-- avcodec: YES (58.134.100)
-- avformat: YES (58.76.100)
-- avutil: YES (56.70.100)
-- swscale: YES (5.9.100)
-- avresample: YES (4.0.0)
-- GStreamer: NO
-- v4l/v4l2: NO
-- DirectShow: YES
-- Media Foundation: YES
-- DXVA: YES

-- Parallel framework: Concurrency

-- Trace: YES (with Intel ITT)

-- Other third-party libraries:
-- Intel IPP: 2021.11.0 [2021.11.0]
-- at: D:/workspace/opencv/build/3rdparty/ippicv/ippicv_win/icv
-- Intel IPP IW: sources (2021.11.0)
-- at: D:/workspace/opencv/build/3rdparty/ippicv/ippicv_win/iw
-- Lapack: NO
-- Eigen: NO
-- Custom HAL: NO
-- Protobuf: build (3.19.1)
-- Flatbuffers: builtin/3rdparty (23.5.9)

-- NVIDIA CUDA: YES (ver 11.3, CUFFT CUBLAS FAST_MATH)
-- NVIDIA GPU arch:
-- NVIDIA PTX archs:

-- cuDNN: NO

-- OpenCL: YES (NVD3D11)
-- Include path: D:/workspace/opencv/3rdparty/include/opencl/1.2
-- Link libraries: Dynamic load

-- Python (for build): D:/Python/Python310/python.exe

-- Java:
-- ant: NO
-- Java: YES (ver 11.0.15)
-- JNI: C:/java/jdk11/include C:/java/jdk11/include/win32 C:/java/jdk11/include
-- Java wrappers: YES (JAVA)
-- Java tests: NO

-- Install to: D:/workspace/opencv/build/install


--
-- Configuring incomplete, errors occurred!

from opencv.

sck-star avatar sck-star commented on July 19, 2024

-- General configuration for OpenCV 4.10.0-dev =====================================

-- Version control: 4.9.0-550-g337c183b9d

-- Extra modules:

-- Location (extra): D:/workspace/opencv_contrib/opencv_contrib/modules
-- Version control (extra): unknown

-- Platform:

-- Timestamp: 2024-06-04T03:56:10Z
-- Host: Windows 10.0.19045 AMD64
-- CMake: 3.29.4
-- CMake generator: Visual Studio 17 2022
-- CMake build tool: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/MSBuild/Current/Bin/amd64/MSBuild.exe
-- MSVC: 1940
-- Configuration: Debug Release

-- CPU/HW features:

-- Baseline: SSE SSE2 SSE3
-- requested: SSE3
-- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
-- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
-- SSE4_1 (18 files): + SSSE3 SSE4_1
-- SSE4_2 (2 files): + SSSE3 SSE4_1 POPCNT SSE4_2
-- FP16 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
-- AVX (9 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
-- AVX2 (38 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
-- AVX512_SKX (8 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX

-- C/C++:

-- Built as dynamic libs?: YES
-- C++ standard: 11
-- C++ Compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe (ver 19.40.33811.0)
-- C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /wd4819 /MP /O2 /Ob2 /DNDEBUG
-- C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /wd4819 /MP /Zi /Ob0 /Od /RTC1
-- C Compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe
-- C flags (Release): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /MP /O2 /Ob2 /DNDEBUG
-- C flags (Debug): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:fast /MP /Zi /Ob0 /Od /RTC1
-- Linker flags (Release): /machine:x64 /INCREMENTAL:NO
-- Linker flags (Debug): /machine:x64 /debug /INCREMENTAL
-- ccache: NO
-- Precompiled headers: YES
-- Extra dependencies: 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 cufft.lib -LIBPATH:C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.3/lib/x64
-- 3rdparty dependencies:

-- OpenCV modules:

-- To be built: aruco bgsegm bioinspired calib3d ccalib core cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev datasets dnn dnn_objdetect dnn_superres dpm face features2d flann fuzzy gapi hfs highgui img_hash imgcodecs imgproc intensity_transform java line_descriptor mcc ml objdetect optflow phase_unwrapping photo plot quality rapid reg rgbd saliency shape signal stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab viz wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto
-- Disabled: world
-- Disabled by dependency: -
-- Unavailable: alphamat cannops cvv freetype hdf julia matlab ovis python2 python3 sfm
-- Applications: tests perf_tests examples apps
-- Documentation: NO
-- Non-free algorithms: NO

-- Windows RT support: NO

-- GUI: WIN32UI

-- Win32 UI: YES
-- VTK support: YES (ver 9.3.0)

-- Media I/O:

-- ZLib: build (ver 1.3.1)
-- JPEG: build-libjpeg-turbo (ver 3.0.3-70)
-- SIMD Support Request: YES
-- SIMD Support: NO
-- WEBP: build (ver encoder: 0x020f)
-- PNG: build (ver 1.6.43)
-- SIMD Support Request: YES
-- SIMD Support: YES (Intel SSE)
-- TIFF: build (ver 42 - 4.6.0)
-- JPEG 2000: build (ver 2.5.0)
-- OpenEXR: build (ver 2.3.0)
-- HDR: YES
-- SUNRASTER: YES
-- PXM: YES
-- PFM: YES

-- Video I/O:

-- DC1394: NO
-- FFMPEG: YES (prebuilt binaries)
-- avcodec: YES (58.134.100)
-- avformat: YES (58.76.100)
-- avutil: YES (56.70.100)
-- swscale: YES (5.9.100)
-- avresample: YES (4.0.0)
-- GStreamer: NO
-- v4l/v4l2: NO
-- DirectShow: YES
-- Media Foundation: YES
-- DXVA: YES

-- Parallel framework: Concurrency

-- Trace: YES (with Intel ITT)

-- Other third-party libraries:

-- Intel IPP: 2021.11.0 [2021.11.0]
-- at: D:/workspace/opencv/build/3rdparty/ippicv/ippicv_win/icv
-- Intel IPP IW: sources (2021.11.0)
-- at: D:/workspace/opencv/build/3rdparty/ippicv/ippicv_win/iw
-- Lapack: NO
-- Eigen: NO
-- Custom HAL: NO
-- Protobuf: build (3.19.1)
-- Flatbuffers: builtin/3rdparty (23.5.9)

-- NVIDIA CUDA: YES (ver 11.3, CUFFT CUBLAS FAST_MATH)

-- NVIDIA GPU arch:
-- NVIDIA PTX archs:

-- cuDNN: NO

-- OpenCL: YES (NVD3D11)

-- Include path: D:/workspace/opencv/3rdparty/include/opencl/1.2
-- Link libraries: Dynamic load

-- Python (for build): D:/Python/Python310/python.exe

-- Java:

-- ant: NO
-- Java: YES (ver 11.0.15)
-- JNI: C:/java/jdk11/include C:/java/jdk11/include/win32 C:/java/jdk11/include
-- Java wrappers: YES (JAVA)
-- Java tests: NO
-- Install to: D:/workspace/opencv/build/install

-- -- Configuring incomplete, errors occurred!

cmake -G "Visual Studio 17 2022" -A x64 ^
-D CMAKE_BUILD_TYPE=Release ^
-D CMAKE_INSTALL_PREFIX=D:\workspace\opencv\build\install ^
-D OPENCV_EXTRA_MODULES_PATH=D:\workspace\opencv_contrib\opencv_contrib\modules ^
-D WITH_CUDA=ON ^
-D ENABLE_FAST_MATH=1 ^
-D CUDA_FAST_MATH=1 ^
-D WITH_CUBLAS=1 ^
-D OPENCV_DNN_CUDA=OFF ^
-D WITH_GSTREAMER=ON ^
-D WITH_NVCUVID=OFF ^
-D WITH_V4L=ON ..

from opencv.

cudawarped avatar cudawarped commented on July 19, 2024

CUDA 11.3 does not support Visual Studio 2022.

I suggest you upgrade to the latest version of the CUDA toolkit.

from opencv.

sck-star avatar sck-star commented on July 19, 2024

CUDA 11.3 does not support Visual Studio 2022.

I suggest you upgrade to the latest version of the CUDA toolkit.

Which is version of Visual Studio support CUDA11.3 ?

from opencv.

cudawarped avatar cudawarped commented on July 19, 2024

The list of supported compilers can be found by following the link I posted.

from opencv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.