How to install opencv 4.1 using CMake and Visual Studio 2013?
Hi,
I am trying to install OpenCV 4.1 using CMake with Visual Studio 2013 in 64 bits. I use this tutorial https://docs.opencv.org/3.4/d3/d52/tu... to install OpenCV 4.1. I installed previously: - Anaconda3 - Python2 - Visual Studio 2013 - Cmake 3.13.4 - Git 2.13.1
I chose the compiler : Visual Studio 12 2013 Win64.
Then, when I build in Visual Studio in Debug I have the following errors:
Error 1 error C2864: 'cv::sfinae::has_parenthesis_operator<c,ret,args...>::value' :="" a="" static="" data="" member="" with="" an="" in-class="" initializer="" must="" have="" non-volatile="" const="" integral="" type="" d:\programmes\opencv4\opencv\modules\core\include\opencv2\core\cvstd_wrapper.hpp="" 52="" 1="" opencv_core_sse4_2="" error="" 2="" error="" c2864:="" 'cv::sfinae::has_parenthesis_operator<c,ret,args...>::value'="" :="" a="" static="" data="" member="" with="" an="" in-class="" initializer="" must="" have="" non-volatile="" const="" integral="" type="" d:\programmes\opencv4\opencv\modules\core\include\opencv2\core\cvstd_wrapper.hpp="" 52="" 1="" opencv_core_sse4_1="" error="" 3="" error="" c2864:="" 'cv::sfinae::has_parenthesis_operator<c,ret,args...>::value'="" :="" a="" static="" data="" member="" with="" an="" in-class="" initializer="" must="" have="" non-volatile="" const="" integral="" type="" d:\programmes\opencv4\opencv\modules\core\include\opencv2\core\cvstd_wrapper.hpp="" 52="" 1="" opencv_core_avx="" error="" 4="" error="" c2864:="" 'cv::sfinae::has_parenthesis_operator<c,ret,args...>::value'="" :="" a="" static="" data="" member="" with="" an="" in-class="" initializer="" must="" have="" non-volatile="" const="" integral="" type="" (d:\programmes\opencv4\opencv\build\x64\vc12\modules\core\convert_scale.avx2.cpp)="" d:\programmes\opencv4\opencv\modules\core\include\opencv2\core\cvstd_wrapper.hpp="" 52="" 1="" opencv_core_avx2="" error="" 5="" error="" c2864:="" 'cv::sfinae::has_parenthesis_operator<c,ret,args...>::value'="" :="" a="" static="" data="" member="" with="" an="" in-class="" initializer="" must="" have="" non-volatile="" const="" integral="" type="" (d:\programmes\opencv4\opencv\build\x64\vc12\modules\core\stat.avx2.cpp)="" d:\programmes\opencv4\opencv\modules\core\include\opencv2\core\cvstd_wrapper.hpp="" 52="" 1="" opencv_core_avx2="" error="" 6="" error="" c2864:="" 'cv::sfinae::has_parenthesis_operator<c,ret,args...>::value'="" :="" a="" static="" data="" member="" with="" an="" in-class="" initializer="" must="" have="" non-volatile="" const="" integral="" type="" (d:\programmes\opencv4\opencv\build\x64\vc12\modules\core\mathfuncs_core.avx2.cpp)="" d:\programmes\opencv4\opencv\modules\core\include\opencv2\core\cvstd_wrapper.hpp="" 52="" 1="" opencv_core_avx2="" error="" 7="" error="" c2864:="" 'cv::sfinae::has_parenthesis_operator<c,ret,args...>::value'="" :="" a="" static="" data="" member="" with="" an="" in-class="" initializer="" must="" have="" non-volatile="" const="" integral="" type="" (d:\programmes\opencv4\opencv\build\x64\vc12\modules\core\count_non_zero.avx2.cpp)="" d:\programmes\opencv4\opencv\modules\core\include\opencv2\core\cvstd_wrapper.hpp="" 52="" 1="" opencv_core_avx2="" error="" 8="" error="" c2864:="" 'cv::sfinae::has_parenthesis_operator<c,ret,args...>::value'="" :="" a="" static="" data="" member="" with="" an="" in-class="" initializer="" must="" have="" non-volatile="" const="" integral="" type="" (d:\programmes\opencv4\opencv\build\x64\vc12\modules\core\convert.avx2.cpp)="" d:\programmes\opencv4\opencv\modules\core\include\opencv2\core\cvstd_wrapper.hpp="" 52="" 1="" opencv_core_avx2="" error="" 9="" error="" c2864:="" 'cv::sfinae::has_parenthesis_operator<c,ret,args...>::value'="" :="" a="" static="" data="" member="" with="" an="" in-class="" initializer="" must="" have="" non-volatile="" const="" integral="" type="" (d:\programmes\opencv4\opencv\build\x64\vc12\modules\core\mean.avx2.cpp)="" d:\programmes\opencv4\opencv\modules\core\include\opencv2\core\cvstd_wrapper.hpp="" 52="" 1="" opencv_core_avx2="" error="" 10 ...
OpenCV 4 isn't compatible with visual studio 2013, I'm in the same boat.
Can some answer this? really is this not compatible for VS2013?