vlc fails to compile with opencv version 4.x
when compiling vlc 3.0.6 , 3.0.7 or 4.0.0-dev (march 10th 2019) with opencv and wayland support amongst lots of other libraries it fails with the following message. /usr/include/opencv4/opencv2/core/cvdef.h:656:4: error: #error "OpenCV 4.x+ requires enabled C++11 support"
error "OpenCV 4.x+ requires enabled C++11 support"
^
/usr/include/opencv4/opencv2/core/cvdef.h:661:17: fatal error: array: No such file or directory compilation terminated.