Hello,
I'm currently integrating the libDecodeQR library (used to decode QR Codes) in my application in **C++ Builder (XE6)**. I managed to have the **openCV 2.4.0** working and was therefore able to compile libDecodeQR.
Unfortunately, when using it (for instance in the code : **cvWarpPerspective(spts,dpts,map);** with src and dst CvPoint2D32f and map CvMat*), I get either "**external exception e06d7363**" or "**division by zero**" error. I'm having trouble knowing which exact line raises the error, while debugging it stops when returning the Scalar in **ScalarAll(0)**, which is used to initialize by default the "fillvall" parameter of cvWarpPerspective :
CV_INLINE CvScalar cvScalarAll( double val0123 )
{
CvScalar* scalar = new CvScalar();
scalar->val[0] = val0123;
scalar->val[1] = val0123;
scalar->val[2] = val0123;
scalar->val[3] = val0123;
return *scalar;
}
Does someone know what may raise this error ?
Thank you
↧