error compilation openCV

asked 2018-09-20 18:35:25 -0500

siwar gravatar image

[ 0%] Built target gen-pkgconfig [ 2%] Built target zlib [ 6%] Built target libjpeg [ 9%] Built target libtiff [ 19%] Built target libwebp [ 22%] Built target libjasper [ 24%] Built target libpng [ 30%] Built target IlmImf [ 36%] Built target libprotobuf [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/arithm.cpp.obj In file included from C:\opencv\sources\modules\core\include/opencv2/core/hal/intrin.hpp:316:0, from C:\opencv\sources\modules\core\src\precomp.hpp:85, from C:\opencv\sources\modules\core\src\arithm.cpp:50: C:\opencv\sources\modules\core\include/opencv2/core/hal/intrin_sse.hpp: In function '__m128i cv::hal_baseline::v_select_si128(__m128i, __m128i, __m128i)': C:\opencv\sources\modules\core\include/opencv2/core/hal/intrin_sse.hpp:410:65: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi] inline __m128i v_select_si128(__m128i mask, __m128i a, __m128i b) ^ In file included from C:\opencv\sources\modules\core\include/opencv2/core/cv_cpu_dispatch.h:32:0, from C:\opencv\sources\modules\core\include/opencv2/core/cvdef.h:193, from C:\opencv\sources\modules\core\include/opencv2/core.hpp:52, from C:\opencv\sources\modules\core\include/opencv2/core/utility.hpp:56, from C:\opencv\sources\modules\core\src\precomp.hpp:49, from C:\opencv\sources\modules\core\src\arithm.cpp:50: C:/PROGRA~2/CODEBL~1/MinGW/lib/gcc/mingw32/5.1.0/include/emmintrin.h: In function 'int cvRound(double)': C:/PROGRA~2/CODEBL~1/MinGW/lib/gcc/mingw32/5.1.0/include/emmintrin.h:825:1: error: inlining failed in call to always_inline 'int _mm_cvtsd_si32(__m128d)': target specific option mismatch _mm_cvtsd_si32 (__m128d __A) ^ In file included from C:\opencv\sources\modules\core\include/opencv2/core/saturate.hpp:49:0, from C:\opencv\sources\modules\core\include/opencv2/core/matx.hpp:54, from C:\opencv\sources\modules\core\include/opencv2/core.hpp:57, from C:\opencv\sources\modules\core\include/opencv2/core/utility.hpp:56, from C:\opencv\sources\modules\core\src\precomp.hpp:49, from C:\opencv\sources\modules\core\src\arithm.cpp:50: C:\opencv\sources\modules\core\include/opencv2/core/fast_math.hpp:106:28: error: called from here return _mm_cvtsd_si32(t); ^ In file included from C:\opencv\sources\modules\core\include/opencv2/core/cv_cpu_dispatch.h:32:0, from C:\opencv\sources\modules\core\include/opencv2/core/cvdef.h:193, from C:\opencv\sources\modules\core\include/opencv2/core.hpp:52, from C:\opencv\sources\modules\core\include/opencv2/core/utility.hpp:56, from C:\opencv\sources\modules\core\src\precomp.hpp:49, from C:\opencv\sources\modules\core\src\arithm.cpp:50: C:/PROGRA~2/CODEBL~1/MinGW/lib/gcc/mingw32/5.1.0/include/emmintrin.h:61:1: error: inlining failed in call to always_inline '__m128d _mm_set_sd(double)': target specific option mismatch _mm_set_sd (double __F) ^ In file included from C:\opencv\sources\modules\core\include/opencv2/core/saturate.hpp:49:0, from C:\opencv\sources\modules\core\include/opencv2/core/matx.hpp:54, from C:\opencv\sources\modules\core\include/opencv2/core.hpp:57, from C ... (more)

edit retag flag offensive close merge delete

Comments

berak gravatar imageberak ( 2018-09-20 19:34:40 -0500 )edit