OpenCV is not able to find/configure CUDA SDK Windows 10 Cmake 3.9.1

asked 2018-08-24 02:01:21 -0500

pouya.1991 gravatar image

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 .

edit retag flag offensive close merge delete