I am using Code::Blocks 10.05 on Debian 7.0.0.
When I build a program, the result says that there is one error message. I am taking that to be the one red line in the Build Log. However that line simple says
In instantiation of 'std::vector< Triangle > CTwoDTriangulation::delaunayDiv(const std::vector< Point_<T> > & vP, cv::Rect boundRect,
std::vector<Triangle>& triangles, int& numTriangles, bool lookRight)'
required from here
It is not clear to me what the compiler is complaining about. The next line is about a signed/unsigned integer expression comparison.
The function is defined thus
template<class T>
vector< Triangle > CTwoDTriangulation::delaunayDiv(const vector< Point_<T> > & vP, cv::Rect boundRect,
vector<Triangle>& triangles, int& numTriangles, bool lookRight){
// Some code
}
The line in the code that this message relates to is
leftTriangles=delaunayDiv((const vector< Point_<unsigned int> >)vP, boundRect,
leftTriangles, numLeftTriangles, false); // Don't look right
Thanks,
Peter.