Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The answer for this is simple but takes a lot of effort to understand it for me. Visual Studio 2013 doesn't support all of c++11 features. which means some are supported and some aren't.

Here is a full list of what is supported for each Visual studio version 2013/2015/2017 https://docs.microsoft.com/en-us/previous-versions/hh567368(v=vs.140)?redirectedfrom=MSDN

OpenCV4.0.0 needs the support of many c++11 features that doens't exists in visual studio 2013, for OpenCV and for many of it's 3rd party libraries.

So no you can't compile OpenCV4.0.0 and above in Visual Studio 2013. I even tried to make some of the code backward compatible, but this is a huge effort, I guess it is time to move on and upgrade everything.