problem in building opencv 2.4.8 with cuda 5.5
I want to build opencv 2.4.8 with CUDA 5.5 using Visual Studio 2010.But everytim I try ,I recieve errors like----
Error 1 error : nvcc supports '--relocatable-device-code=true (-rdc=true)', '--device-c (-dc)', and '--device-link (-dlink)' only when targeting sm_20 or higher C:\build\modules\core\nvcc opencv_core Error 21 error : nvcc supports '--relocatable-device-code=true (-rdc=true)', '--device-c (-dc)', and '--device-link (-dlink)' only when targeting sm_20 or higher C:\build\modules\gpu\nvcc opencv_gpu Error 23 error : nvcc supports '--relocatable-device-code=true (-rdc=true)', '--device-c (-dc)', and '--device-link (-dlink)' only when targeting sm_20 or higher C:\build\modules\nonfree\nvcc opencv_nonfree Error 24 error : nvcc supports '--relocatable-device-code=true (-rdc=true)', '--device-c (-dc)', and '--device-link (-dlink)' only when targeting sm_20 or higher C:\build\modules\superres\nvcc opencv_superres Error 52 error LNK1104: cannot open file '......\lib\Debug\opencv_core248d.lib' C:\build\modules\gpu\perf4au\LINK gpu_perf4au Error 2 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\imgproc\LINK opencv_imgproc Error 3 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\flann\LINK opencv_flann Error 4 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\video\LINK opencv_video Error 5 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\photo\LINK opencv_photo Error 6 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\ml\LINK opencv_ml Error 7 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\highgui\LINK opencv_highgui Error 8 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\features2d\LINK opencv_features2d Error 9 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\objdetect\LINK opencv_objdetect Error 10 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\calib3d\LINK opencv_calib3d Error 11 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\flann\LINK opencv_test_flann Error 12 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\features2d\LINK opencv_test_features2d Error 13 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\highgui\LINK opencv_test_highgui Error 14 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\imgproc\LINK opencv_test_imgproc Error 15 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\video\LINK opencv_perf_video Error 16 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\ml\LINK opencv_test_ml Error 17 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\legacy\LINK opencv_legacy Error 18 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\ocl\LINK opencv_ocl Error 19 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\core\LINK opencv_test_core Error 20 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\legacy\LINK opencv_test_legacy Error 22 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\photo\LINK opencv_perf_photo Error 25 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules ...