这个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”
标签:convert,processImage,double,could,Scalar,rgb,qBlue,cv 来源: https://blog.csdn.net/petertang1975/article/details/121485826