Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comile error -missing functions #15

Open
GoogleCodeExporter opened this issue Apr 8, 2015 · 1 comment
Open

comile error -missing functions #15

GoogleCodeExporter opened this issue Apr 8, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
When I type make for building I get some errors

What is the expected output? What do you see instead?

aam-opencv compiled
when I type :
cmake ..  OK
make   : I got the following messages 

aam-opencv/src/delaunay.cpp: In member function ‘void 
delaunay::draw_subdiv_facet(IplImage*, CvSubdiv2DEdge, int)’:
/home/yasser/development/aam-opencv/src/delaunay.cpp:82:49: error: 
‘cvSubdiv2DEdgeDst’ was not declared in this scope
         CvSubdiv2DPoint* a = cvSubdiv2DEdgeDst(t);
                                                 ^
aam-opencv/src/delaunay.cpp:83:49: error: ‘cvSubdiv2DEdgeOrg’ was not 
declared in this scope
         CvSubdiv2DPoint* b = cvSubdiv2DEdgeOrg(t);
                                                 ^
aam-opencv/src/delaunay.cpp:94:55: error: ‘cvSubdiv2DGetEdge’ was not 
declared in this scope
         t = cvSubdiv2DGetEdge( t, CV_NEXT_AROUND_LEFT );
                                                       ^
aam-opencv/src/delaunay.cpp:121:52: error: ‘cvSubdiv2DEdgeOrg’ was not 
declared in this scope
         CvSubdiv2DPoint* pt = cvSubdiv2DEdgeOrg( t );
                                                    ^
/aam-opencv/src/delaunay.cpp:124:55: error: ‘cvSubdiv2DGetEdge’ was not 
declared in this scope
         t = cvSubdiv2DGetEdge( t, CV_NEXT_AROUND_LEFT );
                                                       ^
aam-opencv/src/delaunay.cpp: In member function ‘CvSubdiv2D* 
delaunay::init_delaunay(CvMemStorage*, CvRect)’:
/home/yasser/development/aam-opencv/src/delaunay.cpp:144:40: error: 
‘cvCreateSubdiv2D’ was not declared in this scope
                                storage );
                                        ^
aam-opencv/src/delaunay.cpp:145:42: error: ‘cvInitSubdivDelaunay2D’ was not 
declared in this scope
     cvInitSubdivDelaunay2D( subdiv, rect );
                                          ^
aam-opencv/src/delaunay.cpp: In constructor ‘delaunay::delaunay(CvMat*)’:
aam-opencv/src/delaunay.cpp:217:43: error: ‘cvSubdivDelaunay2DInsert’ was 
not declared in this scope
         cvSubdivDelaunay2DInsert(subdiv,fp);
                                           ^
aam-opencv/src/delaunay.cpp:240:72: error: ‘cvSubdiv2DRotateEdge’ was not 
declared in this scope
             draw_subdiv_facet( rasterImage, cvSubdiv2DRotateEdge( e, 0 ),k);



What version of the product are you using? On what operating system?
    aam-opencv.tar.gz   
        opencv 2.6
        Ubuntu  12




I tried to search for one of these missing functions, I could find it in any 
files of project!!!!

any suggestion ?


Original issue reported on code.google.com by yasser.a...@rizze.com on 21 May 2014 at 1:10

@GoogleCodeExporter
Copy link
Author

I found the solution :

I just added the following line to delaunay.h:
#include <opencv2/legacy/legacy.hpp>

because those funstions are in this header for opencv 2.6

Original comment by yasser.a...@rizze.com on 21 May 2014 at 1:31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant