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\stitching\LINK opencv_stitching Error 26 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\contrib\LINK opencv_contrib Error 27 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\ocl\LINK opencv_perf_ocl Error 28 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\contrib\LINK opencv_test_contrib Error 29 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\stitching\LINK opencv_perf_stitching Error 30 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\apps\haartraining\LINK opencv_performance Error 31 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\nonfree\LINK opencv_perf_nonfree Error 32 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\superres\LINK opencv_perf_superres Error 33 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\highgui\LINK opencv_perf_highgui Error 34 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\gpu\LINK opencv_test_gpu Error 35 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\objdetect\LINK opencv_perf_objdetect Error 36 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\imgproc\LINK opencv_perf_imgproc Error 37 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\features2d\LINK opencv_perf_features2d Error 38 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\calib3d\LINK opencv_perf_calib3d Error 39 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\nonfree\LINK opencv_test_nonfree Error 40 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\objdetect\LINK opencv_test_objdetect Error 41 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\core\LINK opencv_perf_core Error 42 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\stitching\LINK opencv_test_stitching Error 43 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\photo\LINK opencv_test_photo Error 44 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\superres\LINK opencv_test_superres Error 45 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\video\LINK opencv_test_video Error 46 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\videostab\LINK opencv_videostab Error 47 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\gpu\LINK opencv_perf_gpu Error 48 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\ocl\LINK opencv_test_ocl Error 49 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\apps\haartraining\LINK opencv_haartraining Error 50 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\apps\haartraining\LINK opencv_createsamples Error 51 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\apps\traincascade\LINK opencv_traincascade Error 53 error LNK1104: cannot open file '....\lib\Debug\opencv_core248d.lib' C:\build\modules\calib3d\LINK opencv_test_calib3d Error 54 error MSB3073: The command "setlocal "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake if %errorlevel% neq 0 goto :cmEnd :cmEnd endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone :cmErrorLevel exit /b %1 :cmDone if %errorlevel% neq 0 goto :VCEnd :VCEnd" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 113 6 INSTALL
Please help me..