Open cggaurav opened 1 year ago
Lovely project, this issue.
/usr/local/opt/opencv/include/opencv4/opencv2/core/types.hpp:2348:29: error: no member named 'val' in 'cv::Scalar_<float>' return Scalar_<float>(a.val[0] * s, a.val[1] * s, a.val[2] * s, a.val[3] * s); ~ ^ /usr/local/opt/opencv/include/opencv4/opencv2/core/types.hpp:2348:43: error: no member named 'val' in 'cv::Scalar_<float>' return Scalar_<float>(a.val[0] * s, a.val[1] * s, a.val[2] * s, a.val[3] * s); ~ ^ /usr/local/opt/opencv/include/opencv4/opencv2/core/types.hpp:2348:57: error: no member named 'val' in 'cv::Scalar_<float>' return Scalar_<float>(a.val[0] * s, a.val[1] * s, a.val[2] * s, a.val[3] * s); ~ ^ /usr/local/opt/opencv/include/opencv4/opencv2/core/types.hpp:2348:71: error: no member named 'val' in 'cv::Scalar_<float>' return Scalar_<float>(a.val[0] * s, a.val[1] * s, a.val[2] * s, a.val[3] * s); ~ ^ /usr/local/opt/opencv/include/opencv4/opencv2/core/types.hpp:2355:30: error: no member named 'val' in 'cv::Scalar_<double>' return Scalar_<double>(a.val[0] * s, a.val[1] * s, a.val[2] * s, a.val[3] * s); ~ ^ /usr/local/opt/opencv/include/opencv4/opencv2/core/types.hpp:2355:44: error: no member named 'val' in 'cv::Scalar_<double>' return Scalar_<double>(a.val[0] * s, a.val[1] * s, a.val[2] * s, a.val[3] * s); ~ ^ /usr/local/opt/opencv/include/opencv4/opencv2/core/types.hpp:2355:58: error: no member named 'val' in 'cv::Scalar_<double>' return Scalar_<double>(a.val[0] * s, a.val[1] * s, a.val[2] * s, a.val[3] * s); ~ ^ /usr/local/opt/opencv/include/opencv4/opencv2/core/types.hpp:2355:72: error: no member named 'val' in 'cv::Scalar_<double>' return Scalar_<double>(a.val[0] * s, a.val[1] * s, a.val[2] * s, a.val[3] * s); ~ ^ /usr/local/opt/opencv/include/opencv4/opencv2/core/types.hpp:2388:24: error: no matching constructor for initialization of 'Matx<double, 4, 1>' Matx<double, 4, 1> c((Matx<double, 4, 4>)a, b, Matx_MatMulOp());
Which operating system and which version of OpenCV (check with opencv_version)?
opencv_version
It works on my system, but OpenCV sadly has a bad habit of constantly breaking its API.
Lovely project, this issue.