building error: opencv3.1 with VS2015, 64-bit, CMake 3.5.2
when I am building opencv 3.1 with VS2015, in my own build directory, I double click OpenCV.sln, and then build the INSTALL project. but I got many errors.
Severity Code Description Project File Line Suppression State
Error MSB6006 "cmd.exe" exited with code 1. opencv_core C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. opencv_cudaarithm C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. opencv_cudawarping C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. opencv_cudafilters C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. opencv_cudabgsegm C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. opencv_cudaimgproc C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. opencv_cudacodec C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. opencv_photo C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. opencv_cudafeatures2d C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. opencv_cudalegacy C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. opencv_cudastereo C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. opencv_cudaoptflow C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. opencv_cudaobjdetect C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. opencv_stitching C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. opencv_superres C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. opencv_test_cudev C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 171
Error MSB6006 "cmd.exe" exited with code 1. opencv_videostab C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 171
Error LNK1104 cannot open file '..\..\lib\Debug\opencv_core310d.lib' opencv_ml C:\Users\b55880\Desktop\khronos\opencv\build_on\modules\ml\LINK 1
Error LNK1104 cannot open file '..\..\lib\Debug\opencv_core310d.lib' opencv_imgproc C:\Users\b55880\Desktop\khronos\opencv\build_on\modules\imgproc\LINK 1
Error LNK1104 cannot open file '..\..\lib\Debug\opencv_imgproc310d.lib' opencv_video C:\Users\b55880\Desktop\khronos\opencv\build_on\modules\video\LINK 1
Error LNK1104 cannot open file '..\..\lib\Debug\opencv_imgproc310d ...