Just reinstalled QT and compiled all libs, but could not compile previous working version:
Initializing:
std::vector<std::vector<cv::Point> > test {{ { 52 , 2 } , { 51 , 3 };
Errors:
C:\Users\66820\Documents\capture\main.cpp:16: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
std::vector<std::vector<cv::Point> > test {{ { 52 , 2 } , { 51 , 3 } ,{ 50 , 3 } , { 49 , 3 } ,{ 48 , 3 } ,{ 47 , 3 } ,{ 46 , 3 } ,{ 45 , 3 } ,{ 44 , 3 } ,{ 43 , 3 } ,{ 42 , 3 } ,{ 41 , 3 } ,{ 40 , 4 } ,{ 39 , 4 } ,{ 38 , 4 } ,{ 37 , 4 } ,{ 36 , 4 } ,{ 35 , 4 } ,{ 34 , 4 } ,{ 33 , 4 } ,{ 32 , 5 } ,{ 31 , 5 } ,{ 30 , 6 } ,{ 29 , 6 } ,{ 28 , 6 } ,{ 27 , 7 } ,{ 26 , 7 } ,{ 25 , 7 } ,{ 24 , 8 }}};
------------
In c++98 must be initialized by constructor, not by '{...}'
how to fix these?
C:\Users\66820\Documents\capture\main.cpp:16: error: no matching function for call to 'std::vector<std::vector<cv::Point_<int> > >::vector(<brace-enclosed initializer list>)'