我使用Windows 10 Pro x64,我尝试使用CUDA x64(cuda_7.5.18_win10)为OpenCV-3.1.0构建库。我使用IDE VS2013 x64模式(我也尝试过VS2010,但我不能尝试x86模式,因为CUDA是x64)。不幸的是我收到了很多错误消息:
error C1083: Cannot open include file: 'opencl_kernels_core.hpp'
error C1083: Cannot open source file: 'opencl_kernels_core.cpp'
error C1083: Cannot open include file: 'opencl_kernels_imgproc.hpp'
error C1083: Cannot open source file: 'opencl_kernels_imgproc.cpp'
error C1083: Cannot open include file: 'opencl_kernels_video.hpp'
error C1083: Cannot open source file: 'opencl_kernels_video.cpp'
error C1083: Cannot open include file: 'opencl_kernels_photo.hpp'
error C1083: Cannot open source file: 'opencl_kernels_photo.cpp'
... etc ...
有人有答案吗?..谢谢。