Hello, I'm totally new on opencv3.2, I'm trying to create a project that uses SIFT and SURF function for acuracy comparison. The problem I've encountered is : After the building process ended for Build x64 of ALL_BUILD (combining existing opencv3.2 resources with xfeature2d modules from Open_Contrib from github) using Microsoft Visual Studio 2017, these are the error listed in the form of:
Severity
Code
Description
Project
File
Line
- Warning
C4244
'=': conversion from 'int' to 'char', possible loss of data
(compiling source file C:\Users\User\Documents\Library\opencv_master\sources\modules\core\src\ocl.cpp)
opencv_core
C:\Program Files(x86)\MicrosoftVisualStudio\2017\Community\VC\Tools\MSVC\14.10.25017\include\algorithm
946 - Warning
C4244
'initializing': conversion from 'int' to 'unsigned char', possible loss of data (compiling source file C:\Users\User\Documents\Library\opencv_master\sources\modules\calib3d\src\fisheye.cpp)
opencv_calib3d
C:\ProgramFiles(x86)\MicrosoftVisualStudio\2017\Community\VC\Tools\MSVC\14.10.25017\include\xmemory0
840 - Error
C2653
'hal': is not a class or namespace name
opencv_xfeatures2d
C:\Users\User\Documents\Library\opencv_contrib-master\modules\xfeatures2d\src\sift.cpp
340 - Error
C2661
'cv::exp': no overloaded function takes 3 arguments
opencv_xfeatures2d
C:\Users\User\Documents\Library\opencv_contrib-master\modules\xfeatures2d\src\sift.cpp
340 - Error
C2653
'hal': is not a class or namespace name
opencv_xfeatures2d
C:\Users\User\Documents\Library\opencv_contrib-master\modules\xfeatures2d\src\sift.cpp
341 - Error
C2660
'cv::fastAtan2': function does not take 5 arguments
opencv_xfeatures2d
C:\Users\User\Documents\Library\opencv_contrib-master\modules\xfeatures2d\src\sift.cpp
341 - Error
C2653
'hal': is not a class or namespace name
opencv_xfeatures2d
C:\Users\User\Documents\Library\opencv_contrib-master\modules\xfeatures2d\src\sift.cpp
342 - Error
C2660
'cv::magnitude': function does not take 4 arguments
opencv_xfeatures2d
C:\Users\User\Documents\Library\opencv_contrib-master\modules\xfeatures2d\src\sift.cpp
342 - Error
C2653
'hal': is not a class or namespace name
opencv_xfeatures2d
C:\Users\User\Documents\Library\opencv_contrib-master\modules\xfeatures2d\src\sift.cpp
623 - Error
C2660
'cv::fastAtan2': function does not take 5 arguments
opencv_xfeatures2d
C:\Users\User\Documents\Library\opencv_contrib-master\modules\xfeatures2d\src\sift.cpp
623 - Error
C2653
'hal': is not a class or namespace name
opencv_xfeatures2d
C:\Users\User\Documents\Library\opencv_contrib-master\modules\xfeatures2d\src\sift.cpp
624 - Error
C2660
'cv::magnitude': function does not take 4 arguments
opencv_xfeatures2d
C:\Users\User\Documents\Library\opencv_contrib-master\modules\xfeatures2d\src\sift.cpp
624 - Error
C2653
'hal': is not a class or namespace name
opencv_xfeatures2d
C:\Users\User\Documents\Library\opencv_contrib-master\modules\xfeatures2d\src\sift.cpp
625 - Error
C2661
'cv::exp': no overloaded function takes 3 arguments
opencv_xfeatures2d
C:\Users\User\Documents\Library\opencv_contrib-master\modules\xfeatures2d\src\sift.cpp
625 - Warning
C4838
conversion from 'int' to '::size_t' requires a narrowing conversion
opencv_xfeatures2d
C:\Users\User\Documents\Library\opencv_contrib-master\modules\xfeatures2d\src\surf.ocl.cpp
207 - Warning
C4838
conversion from 'int' to '::size_t' requires a narrowing conversion
opencv_xfeatures2d
C:\Users\User\Documents\Library\opencv_contrib-master\modules\xfeatures2d\src\surf.ocl.cpp
263 - Warning
C4244
'initializing': conversion from 'int' to 'uchar', possible loss of data (compiling source file C:\Users\User\Documents\Library\opencv_master\sources\modules\stitching\src\exposure_compensate.cpp)
opencv_stitching
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\include\utility
217 - Error
LNK1104
cannot open file '....\lib\Debug\opencv_xfeatures2d330d.lib'
opencv_test_xfeatures2d
C:\Users\User\Documents\Library\opencv_master\build\modules\xfeatures2d\LINK
1 - Error
LNK1104
cannot open file '....\lib\Debug\opencv_xfeatures2d330d.lib'
opencv_stitching
C:\Users\User\Documents\Library\opencv_master\build\modules\stitching\LINK
1 - Error
LNK1104
cannot open file '....\lib\Debug\opencv_stitching330d.lib'
opencv_perf_stitching
C:\Users\User\Documents\Library\opencv_master\build\modules\stitching\LINK
1 - Error
LNK1104
cannot open file '....\lib\Debug\opencv_xfeatures2d330d.lib'
opencv_perf_xfeatures2d
C:\Users\User\Documents\Library\opencv_master\build\modules\xfeatures2d\LINK
1 - Error
LNK1104
cannot open file '....\lib\Debug\opencv_stitching330d.lib'
opencv_python3
C:\Users\User\Documents\Library\opencv_master\build\modules\python3\LINK
1 - Error
LNK1104
cannot open file '....\lib\Debug\opencv_stitching330d.lib'
opencv_test_stitching
C:\Users\User\Documents\Library\opencv_master\build\modules\stitching\LINK
1
Is the error caused by MVS itself or I missed certain files from opencv? If the problem has been solved previously, can anyone provide the link to the topic? Thank you.