Content-Length: 281756 | pFad | http://github.com/opencv/opencv/issues/27521

B8 Compilation failure with CUDA 12.9 · Issue #27521 · opencv/opencv · GitHub
Skip to content

Compilation failure with CUDA 12.9 #27521

Open
@chacha21

Description

@chacha21

System Information

OpenCV 4.12.0
Windows 10 or 11
CMakeGUI 4.0.3
Latest Visual Studio 2019 (16.11.48) or 2022 (17.14.7)
CUDA SDK 12.9 or CUDA SDK 12.9 Update 1

Detailed description

When trying to compile OpenCV 4.12.0 with CUDA module (from opencv_contrib, WITH_CUDA), a lot of compilation errors appear when compiling .cu files

Steps to reproduce

It has been reported in #3965
The problem occurs with MSVC, and it has been identified that ENABLE_CUDA_FIRST_CLASS_LANGUAGE must not be enabled

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/opencv/opencv/issues/27521

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy