OpenCV is not able to find/configure CUDA SDK Windows 10 Cmake 3.9.1
Hi I'm trying to make opencv with cuda support by mingw32 5.3.0 but I got this warning :
CMake Warning at cmake/OpenCVFindLibsPerf.cmake:46 (message):
OpenCV is not able to find/configure CUDA SDK (required by WITH_CUDA).
CUDA support will be disabled in OpenCV build.
To eliminate this warning remove WITH_CUDA=ON CMake configuration option.
Call Stack (most recent call first):
CMakeLists.txt:634 (include)
I've already set CUDA_PATH and CUDA_TOOLKIT_ROOT_DIR in environment variables and I'm using cuda 9.2.148 .