Cuda_compile_1_generated_polar_cart.cu.o not building correctly

So I’m trying to install OpenCV with CUDA and cudnn in my laptop with a GeForce MX450 and while I make the cmake run correctly here’s a capture:

When I run make -j8 it just get into a point where this error pops:

12 errors detected in the compilation of "/home/rob/opencv_contrib-4.x/modules/cudaarithm/src/cuda/polar_cart.cu".
CMake Error at cuda_compile_1_generated_polar_cart.cu.o.Release.cmake:280 (message):
  Error generating file
  /home/rob/build/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_polar_cart.cu.o


I’ve already tried the NVIDIA samples to verify if CUDA and CUDNN are correctly installed and they work perfect.

Since this is still actual for latest CUDA 12.8 I post reply:
Just update OpenCV, it is fixed in September 2024.