Question about Errors when run CUDA
Hello everybody. I am trying to run a CUDA .cu program along with OpenCv code in it. I tried running the sample CUDA .cu alone and it works just fine and the same with OpenCV.
But when i run both together i get these errors.
1> Generating Code... 1>new_stitching_gpu.obj : error LNK2001: unresolved external symbol threadIdx 1>new_stitching_gpu.obj : error LNK2001: unresolved external symbol blockDim 1>new_stitching_gpu.obj : error LNK2001: unresolved external symbol blockIdx 1>C:\Users\UVSS\Desktop\new_stitching\x64\Debug\new_stitching.exe : fatal error LNK1120: 3 unresolved externals 1> 1>Build FAILED.
i have added all the library and the include directories correctly. How do i solve this? Thank You very much!
G9!