hengli / camodocal

CamOdoCal: Automatic Intrinsic and Extrinsic Calibration of a Rig with Multiple Generic Cameras and Odometry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

missing return statement

scturtle opened this issue · comments

int CvEMEstimator::runKernel( const CvMat* m1, const CvMat* m2, CvMat* model )
{
run5Point(m1, m2, model);
}

I have the same problem. I am running CamOdocal Algorithm on Windows.
The missing return statement results in the build error. Right now, I fixed it using below code.
int CvEMEstimator::runKernel( const CvMat* m1, const CvMat* m2, CvMat* model ) { int ncounts = 0; ncounts = run5Point(m1, m2, model); return ncounts; }