cmake编译opencv时关于cuda的问题

来源:互联网 发布:彩王四星缩水软件 编辑:程序博客网 时间:2024/05/22 15:03

出现一大堆的错误

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cufft_LIBRARY (ADVANCED)
linked by target "opencv_cudev" in directory E:/opencv/sources/modules/cudev
linked by target "opencv_test_cudev" in directory E:/opencv/sources/modules/cudev/test
linked by target "opencv_core" in directory E:/opencv/sources/modules/core

Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cufft_LIBRARY (ADVANCED)
linked by target "opencv_cudev" in directory E:/opencv/sources/modules/cudev
linked by target "opencv_test_cudev" in directory E:/opencv/sources/modules/cudev/test

linked by target "opencv_core" in directory E:/opencv/sources/modules/core

然后把with_CUDA的状态为:不选择,在此configure没有问题

0 0
原创粉丝点击