You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After extensive testing, opencv-python cannot be built with CUDA 13.0:
Root cause: opencv_contrib cudev module uses deprecated CUDA texture APIs
that were removed in CUDA 12.0+:
- texture<T, ...> template → removed
- cudaUnbindTexture() → removed
- textureReference type → removed
These were replaced with cudaTextureObject_t API in CUDA 12.0+.
Impact:
- All three opencv workflows (py314t-cpu, py314t-cu130, py314-cu130) cannot build
- py314t builds also blocked by ADE library C++ issue
- py314-cu130 blocked only by CUDA API incompatibility
Solutions:
- Use CUDA 11.x (has legacy texture API)
- Wait for opencv_contrib to be updated for CUDA 12.0+
- Build CPU-only (but py314t has ADE issue)
Testing summary:
1. CMAKE_CXX_STANDARD=17 → Failed (C++17 error)
2. + CMAKE_CUDA_STANDARD=17 → Failed (C++17 error)
3. + CUDA_NVCC_FLAGS=--std=c++17 → Failed (texture API error) ✓ C++17 fixed
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
0 commit comments