Question about Errors when run CUDA

asked 2015-01-20 08:12:47 -0600

macbookpro gravatar image

updated 2015-02-10 05:55:29 -0600

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!

edit retag flag offensive close merge delete