CMake的是顯示這個錯誤,而與CUDA配置OpenCV的:CMake的錯誤,而與CUDA
CMake的錯誤:下列變量在這個項目中使用,但它們被設置爲NOTFOUND。 請設置它們或者確保它們在CMake的文件中設置和測試正確:
opencv_dep_CUDA_cufft_LIBRARY
linked by target "opencv_core" in directory C:/opencv/sources/modules/core
linked by target "opencv_test_core" in directory C:/opencv/sources/modules/core
linked by target "opencv_perf_core" in directory C:/opencv/sources/modules/core
linked by target "opencv_flann" in directory C:/opencv/sources/modules/flann
linked by target "opencv_test_flann" in directory C:/opencv/sources/modules/flann
linked by target "opencv_imgproc" in directory C:/opencv/sources/modules/imgproc
linked by target "opencv_test_imgproc" in directory C:/opencv/sources/modules/imgproc
linked by target "opencv_perf_imgproc" in directory C:/opencv/sources/modules/imgproc
linked by target "opencv_highgui" in directory C:/opencv/sources/modules/highgui
linked by target "opencv_test_highgui" in directory C:/opencv/sources/modules/highgui
linked by target "opencv_perf_highgui" in directory C:/opencv/sources/modules/highgui
linked by target "opencv_test_features2d" in directory C:/opencv/sources/modules/features2d
linked by target "opencv_features2d" in directory C:/opencv/sources/modules/features2d
linked by target "opencv_perf_features2d" in directory C:/opencv/sources/modules/features2d
linked by target "opencv_calib3d" in directory C:/opencv/sources/modules/calib3d
linked by target "opencv_test_calib3d" in directory C:/opencv/sources/modules/calib3d
linked by target "opencv_perf_calib3d" in directory C:/opencv/sources/modules/calib3d
linked by target "opencv_test_ml" in directory C:/opencv/sources/modules/ml
linked by target "opencv_ml" in directory C:/opencv/sources/modules/ml
linked by target "opencv_test_video" in directory C:/opencv/sources/modules/video
linked by target "opencv_video" in directory C:/opencv/sources/modules/video
linked by target "opencv_perf_video" in directory C:/opencv/sources/modules/video
linked by target "opencv_test_legacy" in directory C:/opencv/sources/modules/legacy
linked by target "opencv_legacy" in directory C:/opencv/sources/modules/legacy
linked by target "opencv_perf_objdetect" in directory C:/opencv/sources/modules/objdetect
linked by target "opencv_objdetect" in directory C:/opencv/sources/modules/objdetect
linked by target "opencv_test_objdetect" in directory C:/opencv/sources/modules/objdetect
linked by target "opencv_perf_photo" in directory C:/opencv/sources/modules/photo
linked by target "opencv_photo" in directory C:/opencv/sources/modules/photo
linked by target "opencv_test_photo" in directory C:/opencv/sources/modules/photo
linked by target "opencv_perf_gpu" in directory C:/opencv/sources/modules/gpu
無我有OpenCV的otheriwse工作CUDA。
那麼,你有沒有嘗試設置這個變量到路徑庫的路徑? – Drop
@Drop我問它,因爲我不知道這是怎麼完成的?請幫幫我 –