open_cv tracker3D
Hi all ; i'm a newbie in open_cv ... i have just installed it and i have download the opencv_extra git to run a sample application so to run for example the tracker3D project i run "make" in command line that's run the makefile ... i get a lot of problems ...:p and here is the listing
g++ -o tracker3D -g object_tracker.cpp tracker3D.cpp tracker_calibration.cpp -lml -lcv -lcxcore -lcvaux -lhighgui
object_tracker.cpp: In function ‘CvMat* CalcRelativePosition(IplImage, CvPoint, CvPoint2D32f, CvMat, float, CvMat)’: object_tracker.cpp:273:73: error: ‘cvFindChessboardCorners’ was not declared in this scope if (cvFindChessboardCorners(workImage,innerCornersCount,corners,&count)==0) ^ object_tracker.cpp:343:101: error: ‘cvFindExtrinsicCameraParams2’ was not declared in this scope cvFindExtrinsicCameraParams2(object_points,image_points,cameraMatrix, distCoeffs,rotation_vector,T); ^ object_tracker.cpp:345:33: error: ‘cvRodrigues2’ was not declared in this scope cvRodrigues2(rotation_vector,R); ^ object_tracker.cpp:384:69: error: ‘cvProjectPoints2’ was not declared in this scope cvProjectPoints2(d3,rotation_vector,T,cameraMatrix,distCoeffs,imP); ^ object_tracker.cpp: In function ‘CvPoint* GetCurrentPointsPosition(IplImage, CvPoint2D32f, CvMat, CvPoint, CvPoint2D32f)’: object_tracker.cpp:428:72: error: ‘cvFindChessboardCorners’ was not declared in this scope if (cvFindChessboardCorners(workImage,innerCornersCount,corners,&count)==0) ^ object_tracker.cpp:452:65: error: ‘cvFindHomography’ was not declared in this scope cvFindHomography(chessboardPoints,chessboardPoints2,homography); ^ object_tracker.cpp: In function ‘IplImage GetSample(const IplImage, CvSize, const CvPoint, CvPoint2D32f)’: object_tracker.cpp:516:67: error: ‘cvFindChessboardCorners’ was not declared in this scope if (cvFindChessboardCorners(src,innerCornersCount,corners,&count)==0) ^ object_tracker.cpp:565:65: error: ‘cvFindHomography’ was not declared in this scope cvFindHomography(chessboardPoints,chessboardPoints2,homography); ^ object_tracker.cpp: In function ‘void createSamples2DObject(int, char)’: object_tracker.cpp:608:26: warning: deprecated conversion from string constant to ‘char’ [-Wwrite-strings] c[0]=new char[11]; c[0]="calibration"; ^ object_tracker.cpp:609:25: warning: deprecated conversion from string constant to ‘char’ [-Wwrite-strings] c[1]=new char[2]; c[1]="-w"; ^ object_tracker.cpp:611:25: warning: deprecated conversion from string constant to ‘char’ [-Wwrite-strings] c[3]=new char[2]; c[3]="-h"; ^ object_tracker.cpp:613:27: warning: deprecated conversion from string constant to ‘char’ [-Wwrite-strings] c[5] = new char[2]; c[5]="-d"; ^ object_tracker.cpp:615:25: warning: deprecated conversion from string constant to ‘char’ [-Wwrite-strings] c[7]=new char[2]; c[7]="-o"; ^ object_tracker.cpp:672:155: error: ‘cvFindChessboardCorners’ was not declared in this scope while ( frame && (((AUTOFIND_CHESSBOARD && IS_VIDEO_CAPTURE)|| (!IS_VIDEO_CAPTURE)) && cvFindChessboardCorners(workImage,innerCornersCount,corners,&count)==0)); ^ object_tracker.cpp:887:128: error: ‘cvDrawChessboardCorners’ was not declared in this scope cvDrawChessboardCorners(workImage,innerCornersCount,ChessboardCorners,innerCornersCount.heightinnerCornersCount.width,1); ^ object_tracker.cpp: In function ‘void createSamples3DObject(int, char)’: object_tracker.cpp:998:28: warning: deprecated conversion from string constant to ‘char’ [-Wwrite-strings] c[0] = new char[11]; c[0]="calibration"; ^ object_tracker.cpp:999:27: warning: deprecated conversion from string constant to ‘char’ [-Wwrite-strings] c[1] = new char[2]; c[1]="-w"; ^ object_tracker.cpp:1001:27: warning: deprecated conversion from string constant to ‘char’ [-Wwrite-strings] c[3] = new char[2]; c[3]="-h"; ^ object_tracker.cpp:1003:27: warning: deprecated conversion from string constant to ‘char’ [-Wwrite-strings] c[5] = new char[2]; c[5]="-d"; ^ object_tracker.cpp:1005 ...