I am using OpenCV 3.4.3 which I compiled from sources using Visual Studio 2017. When I link to the compiled static lib to an application I get this error:
Error LNK2019 unresolved external symbol __cudaRegisterLinkedBinary_54_tmpxft_0000773c_00000000_17_gpu_mat_compute_70_cpp1_ii_71482d89 referenced in function “void __cdecl __sti____cudaRegisterAll(void)” (?__sti____cudaRegisterAll@@YAXXZ)
I am not able to figure out where it is coming from.
I looked online for similar errors and someone suggested to not use OpenCL, that did not work.
I am getting this error when compiling Opencv SDK samples. These samples have project files that are not CUDA projects in Visual Studio. Is there a way to handle this error in a regular windows VS project?