Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Compile Opencv 3.4.3 ( windows )with CUDA Toolkit 10.0...can't found CUDA_SDK_ROOT_DIR

Hello, I tried different solution without any success... I have:

  • Windows 10 Platform
  • Visual Studio 2017 v.15.3.5
  • Opencv 3.4.3 source
  • Cmake GUI v.3.10
  • CUDA Toolkit 10.0 cuda hardware (laptop - Nvidia GTX960M 2GB)

When I tried to compile 'WITH CUDA' (using Visual Studio 15 Generator), I retrive the same error:

"CMake Warning at cmake/OpenCVFindLibsPerf.cmake:42 (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:629 (include)"

I test with the Nvida Toolkit DeviceQuery.exe and all seems fine on the hardware side... P.S.: Without Cuda it compiles without errors.

any suggestions?

Thanks in advance

Adriano

Compile Opencv 3.4.3 ( windows )with CUDA Toolkit 10.0...can't found CUDA_SDK_ROOT_DIR

Hello, I tried different solution without any success... I have:

  • Windows 10 Platform
  • Visual Studio 2017 v.15.3.5
  • Opencv 3.4.3 source
  • Cmake GUI v.3.10
  • CUDA Toolkit 10.0 cuda hardware (laptop - Nvidia GTX960M 2GB)

When I tried to compile configure 'WITH CUDA' (using Visual Studio 15 Generator), I retrive the same error:

"CMake Warning at cmake/OpenCVFindLibsPerf.cmake:42 (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:629 (include)"

I test with the Nvida Toolkit DeviceQuery.exe and all seems fine on the hardware side... P.S.: Without Cuda it compiles without errors.

any suggestions?

Thanks in advance

Adriano