CMake Error: Variables are set to NOTFOUND

后端 未结 10 1653
隐瞒了意图╮
隐瞒了意图╮ 2020-11-28 05:22

I installed cuda first using cuda-repo-ubuntu1604-9-0-local_9.0.176-1_amd64.deb. Now I\'m trying to install OpenCV 3.3.0 But i\'m getting CMake Err

10条回答
  •  清歌不尽
    2020-11-28 06:01

    @api55 I based on this process can be completed but still encounter @Ja_cpp problem (CMake Error at cuda_compile_generated_gpu_mat.cu.o.cmake:208 (message)), in my process, but also need to add

    in

    OpenCVDetectCUDA.cmake

    It has:

    set(__cuda_arch_bin "2.0 3.0 3.5 3.7 5.0 5.2 6.0 6.1") 
    

    change to:

    set(__cuda_arch_bin "3.0 3.5 3.7 5.0 5.2 6.0 6.1")
    

    It worked for me.

提交回复
热议问题