tool_triangulation.cpp: In function ‘void tool_triangulate_surface_reconstruction()’:
tool_triangulation.cpp:44:148: error: ‘cvCreateSubdiv2D’ was not declared in this scope
CvSubdiv2D * subdivision = cvCreateSubdiv2D(CV_SEQ_KIND_SUBDIV2D, sizeof(subdivision), sizeof(CvSubdiv2DPoint), sizeof(CvQuadEdge2D), mem_storage);
^
tool_triangulation.cpp:53:2: error: ‘cvInitSubdivDelaunay2D’ was not declared in this scope
);
^
tool_triangulation.cpp:73:3: error: ‘cvSubdivDelaunay2DInsert’ was not declared in this scope
);
^
tool_triangulation.cpp:93:52: error: ‘cvSubdiv2DEdgeOrg’ was not declared in this scope
* org = cvSubdiv2DEdgeOrg((CvSubdiv2DEdge)edge),
^
tool_triangulation.cpp:118:18: error: ‘dst’ was not declared in this scope
sqr_value(dst->pt.x - point->x * shot->width) +
^
make: ** [tool_triangulation.o] Error 1
Note:
$pkg-config --modversion opencv
2.4.5
FIxed by adding the following
Last edit: Afan Ottenheimer 2014-03-16