我正在opencv上尝试使用cuda,为双边过滤器运行简单的代码
cv::cuda::GpuMat g_img, g_ipm;
g_ipm.upload(ipm);
cv::cuda::bilateralFilter(g_ipm,
g_img,
5,
80,
80);
cv::Mat img;
g_img.download(img);
运行代码时出现错误,特别是在下载部分。它说
Can't find a source file at "/build/glibc-Cl5G7W/glibc-2.23/malloc/malloc.c"
我已经将代码链接到opencv_cudaimagproc.lib。怎么了?
致谢