这个error: could not convert ‘cv::Scalar_((double)qBlue()(rgb),

x11/4.1.15-2.1.0/sysroots/cortexa7hf-neon-poky-linux-gnueabi/usr/lib/qt5/mkspecs/linux-oe-g++ -o processImage.o processImage.cpp
processImage.cpp: In member function 'IplImage ProcessImage::QImageToIplImageRGB(const QImage)’:
processImage.cpp:284:87: error: could not convert ‘cv::Scalar_((double)qBlue()(rgb), (double)qGreen()(rgb), (double)qRed()(rgb), 0.0)’ from ‘cv::Scalar {aka cv::Scalar_}’ to 'CvScalar’
**

         cvSet2D(IplImageBuffer, y, x, CV_RGB(qRed(rgb), qGreen(rgb), qBlue(rgb)),0);
                                                                                   ^

Makefile:744: recipe for target ‘processImage.o’ failed
make: *** [processImage.o] Error 1
17:19:51: The process “/usr/bin/make” exited with code 2.
Error while building/deploying project QTFaceRec (kit: imx6)
When executing step “Make”

上一篇:Flink时间概念


下一篇:Could not open ServletContext resource [/dataSource.properties]