Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 322

C1083, LNK1104, C4244, C4127 Errors and Warnings

$
0
0
I have win10, visual studio 2017, opencv source & contrib 3.3.0 and cmake 3.9.1. I only unchecked CUDA in configuration step in CMake and after that, I did generate source and opened `opencv.sln` and tried to build `ALL BUILD` file. but I got 5 errors and 4 warnings. How can I fix them? pls! Severity Code Description Project File Line Suppression State Warning C4244 '=': conversion from 'int' to 'char', possible loss of data (compiling source file C:\opencv\opencv-3.3.0\modules\core\src\ocl.cpp) opencv_core C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\algorithm 911 Warning C4244 'initializing': conversion from 'int' to 'unsigned char', possible loss of data (compiling source file C:\opencv\opencv-3.3.0\modules\calib3d\src\fisheye.cpp) opencv_calib3d C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\include\xmemory0 856 Error C1083 Cannot open include file: 'boostdesc_bgm.i': No such file or directory opencv_xfeatures2d C:\opencv\opencv_contrib-3.3.0\modules\xfeatures2d\src\boostdesc.cpp 646 Error C1083 Cannot open include file: 'vgg_generated_120.i': No such file or directory opencv_xfeatures2d C:\opencv\opencv_contrib-3.3.0\modules\xfeatures2d\src\vgg.cpp 474 Warning C4127 conditional expression is constant (compiling source file C:\opencv\opencv_contrib-3.3.0\modules\ccalib\src\ccalib.cpp) opencv_ccalib C:\opencv\opencv-3.3.0\modules\core\include\opencv2\core\types.hpp 1601 Error C1083 Cannot open include file: 'opencv2/xfeatures2d/cuda.hpp': No such file or directory opencv_stitching C:\opencv\opencv-3.3.0\modules\stitching\include\opencv2\stitching\detail\matchers.hpp 52 Warning C4127 conditional expression is constant (compiling source file C:\opencv\opencv_contrib-3.3.0\modules\tracking\src\tldUtils.cpp) opencv_tracking C:\opencv\opencv-3.3.0\modules\core\include\opencv2\core\types.hpp 1750 Error LNK1104 cannot open file '..\..\lib\Debug\opencv_xfeatures2d330d.lib' opencv_perf_xfeatures2d C:\opencv\mybuild\modules\xfeatures2d\LINK 1 Error LNK1104 cannot open file '..\..\lib\Debug\opencv_xfeatures2d330d.lib' opencv_test_xfeatures2d C:\opencv\mybuild\modules\xfeatures2d\LINK 1

Viewing all articles
Browse latest Browse all 322

Latest Images

Trending Articles



Latest Images