CMake: CUDA libraries not found when compiling OpenCV

后端 未结 3 1048
逝去的感伤
逝去的感伤 2021-02-08 14:17

I am compiling OpenCV 3.0.0 with CUDA support on Windows, using CMAKE. When I click \"configure\", errors occur as following:

CMake Error: The following variable         


        
3条回答
  •  离开以前
    2021-02-08 14:42

    For the Linux, I solved by these step:

    (1) Check .so file in the lib folder,such as cuda7-cudnn3/lib64

    (2) Make symlink like sudo ln -s libcublas.so.7.5.18 libcublas.so

    For my case, I put correctly link in CMakeLists.txt and Makefile.config, but there wasn't a .so file.

提交回复
热议问题