Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

LNK2019 cuda::cvtColor and cuda::equalizeHist

Hello! I'm trying to use cuda::cvtColor and cuda::equalizeHist but I get errors as follows:

Error LNK2019 unresolved external symbol "void __cdecl cv::cuda::cvtColor(class cv::debug_build_guard::_InputArray const &,class cv::debug_build_guard::_OutputArray const &,int,int,class cv::cuda::Stream &)" (?cvtColor@cuda@cv@@YAXAEBV_InputArray@debug_build_guard@2@AEBV_OutputArray@42@HHAEAVStream@12@@Z) referenced in function "class cv::Mat __cdecl edgedetect(class cv::Mat,double,double)" (?edgedetect@@YA?AVMat@cv@@V12@NN@Z) ConsoleApplication2

and likewise for equalizeHist. I guess I'm missing some libs or maybe headers, have you got any idea which ones?

Win10 x64, CUDA 10.0, OpenCV 4.0.0, MVS