首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在CUDA_cufft_LIBRARY中构建opencv时出现CMake错误(高级)

在CUDA_cufft_LIBRARY中构建opencv时出现CMake错误(高级)
EN

Stack Overflow用户
提问于 2018-01-23 11:57:06
回答 1查看 745关注 0票数 0

我正在使用CMake3.7.2来构建opencv 3.2.0。配置过程显示错误如下:

CMake错误:在此项目中使用了以下变量,但它们被设置为NOTFOUND。请设置它们或确保在CMake文件中正确设置和测试它们:

代码语言:javascript
复制
CUDA_cufft_LIBRARY (ADVANCED)
    linked by target "opencv_cudev" in directory C:/opencv-3.2/source/modules/cudev
    linked by target "opencv_test_cudev" in directory C:/opencv-3.2/source/modules/cudev/test
    linked by target "opencv_core" in directory C:/opencv-3.2/source/modules/core
    linked by target "opencv_test_core" in directory C:/opencv-3.2/source/modules/core
    linked by target "opencv_perf_core" in directory C:/opencv-3.2/source/modules/core
    linked by target "opencv_test_cudaarithm" in directory C:/opencv-3.2/source/modules/cudaarithm
    linked by target "opencv_cudaarithm" in directory C:/opencv-3.2/source/modules/cudaarithm
    linked by target "opencv_cudaarithm" in directory C:/opencv-3.2/source/modules/cudaarithm
    linked by target "opencv_perf_cudaarithm" in directory C:/opencv-3.2/source/modules/cudaarithm
    linked by target "opencv_flann" in directory C:/opencv-3.2/source/modules/flann
    linked by target "opencv_test_flann" in directory C:/opencv-3.2/source/modules/flann
    linked by target "opencv_imgproc" in directory C:/opencv-3.2/source/modules/imgproc
    linked by target "opencv_test_imgproc" in directory C:/opencv-3.2/source/modules/imgproc
    linked by target "opencv_perf_imgproc" in directory C:/opencv-3.2/source/modules/imgproc
    linked by target "opencv_test_ml" in directory C:/opencv-3.2/source/modules/ml
    linked by target "opencv_ml" in directory C:/opencv-3.2/source/modules/ml
    linked by target "opencv_test_video" in directory C:/opencv-3.2/source/modules/video
    linked by target "opencv_video" in directory C:/opencv-3.2/source/modules/video
    linked by target "opencv_perf_video" in directory C:/opencv-3.2/source/modules/video
    linked by target "opencv_cudabgsegm" in directory C:/opencv-3.2/source/modules/cudabgsegm
    linked by target "opencv_test_cudabgsegm" in directory C:/opencv-3.2/source/modules/cudabgsegm
    linked by target "opencv_perf_cudabgsegm" in directory C:/opencv-3.2/source/modules/cudabgsegm
    linked by target "opencv_cudafilters" in directory C:/opencv-3.2/source/modules/cudafilters
    linked by target "opencv_test_cudafilters" in directory C:/opencv-3.2/source/modules/cudafilters
    linked by target "opencv_perf_cudafilters" in directory C:/opencv-3.2/source/modules/cudafilters
    linked by target "opencv_cudaimgproc" in directory C:/opencv-3.2/source/modules/cudaimgproc
    linked by target "opencv_test_cudaimgproc" in directory C:/opencv-3.2/source/modules/cudaimgproc
    linked by target "opencv_perf_cudaimgproc" in directory C:/opencv-3.2/source/modules/cudaimgproc
    linked by target "opencv_perf_cudawarping" in directory C:/opencv-3.2/source/modules/cudawarping
    linked by target "opencv_cudawarping" in directory C:/opencv-3.2/source/modules/cudawarping
    linked by target "opencv_test_cudawarping" in directory C:/opencv-3.2/source/modules/cudawarping
    linked by target "opencv_imgcodecs" in directory C:/opencv-3.2/source/modules/imgcodecs
    linked by target "opencv_test_imgcodecs" in directory C:/opencv-3.2/source/modules/imgcodecs
    linked by target "opencv_perf_imgcodecs" in directory C:/opencv-3.2/source/modules/imgcodecs
    linked by target "opencv_perf_photo" in directory 
    ..........
EN

回答 1

Stack Overflow用户

发布于 2018-01-23 22:41:14

选择vs2015-win64作为编译器确实解决了我的问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48393969

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档