【小记录】解决链接libcufft_static.a库出现的错误

程序中使用了 cv::cuda::dft() 函数,需要在链接的时候使用libcufft_static.a这个库。链接出现大量类似错误:

error: undefined reference to __cudaRegisterLInkedBinary_

最近解决的办法是:使用libcufft.so代替,问题解决,但是可惜没有静态链接。

原文地址:https://www.cnblogs.com/ahfuzhang/p/10998489.html