forked from sniekum/ar_track_alvar
-
Notifications
You must be signed in to change notification settings - Fork 130
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
error installing ar_track_alvar using catkin_make with OpenCV 4.1.0 #77
Comments
shr-project
added a commit
to shr-project/meta-ros
that referenced
this issue
Feb 3, 2020
* ar-track-alvar in melodic is currently the only component not updated to work with openCV 4 included in meta-openembedded/zeus * there is ticket in upstream repo asking for OpenCV support: ros-perception/ar_track_alvar#77 but no progress there, I have some WIP changes to make it compatible, but it's using *a lot* of changed OpenCV APIs and I haven't finished migration (nor plan to properly test it in runtime) Signed-off-by: Martin Jansa <[email protected]>
shr-project
added a commit
to shr-project/meta-ros
that referenced
this issue
Feb 4, 2020
* ar-track-alvar in melodic is currently the only component not updated to work with openCV 4 included in meta-openembedded/zeus * there is ticket in upstream repo asking for OpenCV support: ros-perception/ar_track_alvar#77 but no progress there, I have some WIP changes to make it compatible, but it's using *a lot* of changed OpenCV APIs and I haven't finished migration (nor plan to properly test it in runtime) Signed-off-by: Martin Jansa <[email protected]>
shr-project
added a commit
to shr-project/meta-ros
that referenced
this issue
Feb 11, 2020
* ar-track-alvar in melodic is currently the only component not updated to work with openCV 4 included in meta-openembedded/zeus * there is ticket in upstream repo asking for OpenCV support: ros-perception/ar_track_alvar#77 but no progress there, I have some WIP changes to make it compatible, but it's using *a lot* of changed OpenCV APIs and I haven't finished migration (nor plan to properly test it in runtime) Signed-off-by: Martin Jansa <[email protected]>
shr-project
added a commit
to shr-project/meta-ros
that referenced
this issue
Feb 11, 2020
* ar-track-alvar in melodic is currently the only component not updated to work with openCV 4 included in meta-openembedded/zeus * there is ticket in upstream repo asking for OpenCV support: ros-perception/ar_track_alvar#77 but no progress there, I have some WIP changes to make it compatible, but it's using *a lot* of changed OpenCV APIs and I haven't finished migration (nor plan to properly test it in runtime) Signed-off-by: Martin Jansa <[email protected]>
shr-project
added a commit
to shr-project/meta-ros
that referenced
this issue
Feb 11, 2020
* ar-track-alvar in melodic is currently the only component not updated to work with openCV 4 included in meta-openembedded/zeus * there is ticket in upstream repo asking for OpenCV support: ros-perception/ar_track_alvar#77 but no progress there, I have some WIP changes to make it compatible, but it's using *a lot* of changed OpenCV APIs and I haven't finished migration (nor plan to properly test it in runtime) Signed-off-by: Martin Jansa <[email protected]>
shr-project
added a commit
to shr-project/meta-ros
that referenced
this issue
Feb 11, 2020
* ar-track-alvar in melodic is currently the only component not updated to work with openCV 4 included in meta-openembedded/zeus * there is ticket in upstream repo asking for OpenCV support: ros-perception/ar_track_alvar#77 but no progress there, I have some WIP changes to make it compatible, but it's using *a lot* of changed OpenCV APIs and I haven't finished migration (nor plan to properly test it in runtime) Signed-off-by: Martin Jansa <[email protected]>
shr-project
added a commit
to shr-project/meta-ros
that referenced
this issue
Jul 1, 2020
* ar-track-alvar in melodic is currently the only component not updated to work with openCV 4 included in meta-openembedded/zeus * there is ticket in upstream repo asking for OpenCV support: ros-perception/ar_track_alvar#77 but no progress there, I have some WIP changes to make it compatible, but it's using *a lot* of changed OpenCV APIs and I haven't finished migration (nor plan to properly test it in runtime) Signed-off-by: Martin Jansa <[email protected]>
shr-project
added a commit
to shr-project/meta-ros
that referenced
this issue
Jul 1, 2020
* ar-track-alvar in melodic is currently the only component not updated to work with openCV 4 included in meta-openembedded/zeus * there is ticket in upstream repo asking for OpenCV support: ros-perception/ar_track_alvar#77 but no progress there, I have some WIP changes to make it compatible, but it's using *a lot* of changed OpenCV APIs and I haven't finished migration (nor plan to properly test it in runtime) Signed-off-by: Martin Jansa <[email protected]>
shr-project
added a commit
to shr-project/meta-ros
that referenced
this issue
Jul 1, 2020
* ar-track-alvar in melodic is currently the only component not updated to work with openCV 4 included in meta-openembedded/zeus * there is ticket in upstream repo asking for OpenCV support: ros-perception/ar_track_alvar#77 but no progress there, I have some WIP changes to make it compatible, but it's using *a lot* of changed OpenCV APIs and I haven't finished migration (nor plan to properly test it in runtime) Signed-off-by: Martin Jansa <[email protected]>
See #82 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue :
I have compiled opencv 4.1.0 with cuda support. So want to build the ros dependent packages with custom opencv. The command after initializing catkin_init_workspace is as follows. Any kind of help will be deeply appreciated
Command :
catkin_make -DCMAKE_BUILD_TYPE=Release -DOpenCV_DIR=/opt/include/opencv4/opencv2 -DPYTHON_EXECUTABLE=/usr/bin/python3
My fixes till yet :
I have tried to import the core_c.h files which have the obsolete C API support for opencv. But looks like after beating my head with it, I am still unsuccessful. Let me know If anyone of you have any suggestions?
My system config :
ROS Melodic branch
Ubuntu 18.04
Opencv 4.1.0
gcc 7.4.0
numpy 1.16.5
catkin
Error Log :
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Util.cpp: In function ‘void alvar::FitCVEllipse(const std::vector<alvar::Point >&, CvBox2D&)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Util.cpp:121:18: error: ‘cvCreateMat’ was not declared in this scope
CvMat* vector = cvCreateMat(1, int(points.size()), CV_64FC2);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Util.cpp:121:18: note: suggested alternative: ‘cvCreateSparseMat’
CvMat* vector = cvCreateMat(1, int(points.size()), CV_64FC2);
^~~~~~~~~~~
cvCreateSparseMat
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Util.cpp:126:16: error: ‘cvFitEllipse2’ was not declared in this scope
ellipse_box = cvFitEllipse2(vector);
^~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Util.cpp:126:16: note: suggested alternative: ‘FitCVEllipse’
ellipse_box = cvFitEllipse2(vector);
^~~~~~~~~~~~~
FitCVEllipse
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Util.cpp:127:2: error: ‘cvReleaseMat’ was not declared in this scope
cvReleaseMat(&vector);
^~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp: In constructor ‘alvar::Rotation::Rotation()’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:34:2: error: ‘cvInitMatHeader’ was not declared in this scope
cvInitMatHeader(&quaternion_mat, 4, 1, CV_64F, quaternion);
^~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Util.cpp:127:2: note: suggested alternative: ‘CvSparseMat’
cvReleaseMat(&vector);
^~~~~~~~~~~~
CvSparseMat
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Util.cpp: In function ‘void alvar::out_matrix(const CvMat*, const char*)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Util.cpp:220:20: error: ‘cvGet2D’ was not declared in this scope
std::cout<<" "<<cvGet2D(m, j, 0).val[0];
^~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Util.cpp:220:20: note: suggested alternative: ‘cvBox2D’
std::cout<<" "<<cvGet2D(m, j, 0).val[0];
^~~~~~~
cvBox2D
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Util.cpp:226:20: error: ‘cvGet2D’ was not declared in this scope
std::cout<<" "<<cvGet2D(m, 0, i).val[0];
^~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Util.cpp:226:20: note: suggested alternative: ‘cvBox2D’
std::cout<<" "<<cvGet2D(m, 0, i).val[0];
^~~~~~~
cvBox2D
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Util.cpp:233:21: error: ‘cvGet2D’ was not declared in this scope
std::cout<<" "<<cvGet2D(m, j, i).val[0];
^~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Util.cpp:233:21: note: suggested alternative: ‘cvBox2D’
std::cout<<" "<<cvGet2D(m, j, i).val[0];
^~~~~~~
cvBox2D
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp: In copy constructor ‘alvar::Rotation::Rotation(const alvar::Rotation&)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:39:2: error: ‘cvInitMatHeader’ was not declared in this scope
cvInitMatHeader(&quaternion_mat, 4, 1, CV_64F, quaternion);
^~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:40:2: error: ‘cvCopy’ was not declared in this scope
cvCopy(&r.quaternion_mat, &quaternion_mat);
^~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:40:2: note: suggested alternative: ‘cvCeil’
cvCopy(&r.quaternion_mat, &quaternion_mat);
^~~~~~
cvCeil
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp: In constructor ‘alvar::Rotation::Rotation(CvMat*, alvar::Rotation::RotationType)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:45:2: error: ‘cvInitMatHeader’ was not declared in this scope
cvInitMatHeader(&quaternion_mat, 4, 1, CV_64F, quaternion);
^~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp: In member function ‘void alvar::Rotation::Transpose()’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:71:2: error: ‘cvTranspose’ was not declared in this scope
cvTranspose(&tmp_mat, &tmp_mat);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:71:2: note: suggested alternative: ‘Transpose’
cvTranspose(&tmp_mat, &tmp_mat);
^~~~~~~~~~~
Transpose
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp: In static member function ‘static void alvar::Rotation::MirrorMat(CvMat*, bool, bool, bool)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:76:19: error: ‘cvCloneMat’ was not declared in this scope
CvMat mat_mul = cvCloneMat(mat);
^~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:76:19: note: suggested alternative: ‘cvMat’
CvMat mat_mul = cvCloneMat(mat);
^~~~~~~~~~
cvMat
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:77:2: error: ‘cvSetIdentity’ was not declared in this scope
cvSetIdentity(mat_mul);
^~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:81:2: error: ‘cvMatMul’ was not declared in this scope
cvMatMul(mat_mul, mat, mat);
^~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:81:2: note: suggested alternative: ‘QuatMul’
cvMatMul(mat_mul, mat, mat);
^~~~~~~~
QuatMul
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:82:2: error: ‘cvReleaseMat’ was not declared in this scope
cvReleaseMat(&mat_mul);
^~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:82:2: note: suggested alternative: ‘CvSparseMat’
cvReleaseMat(&mat_mul);
^~~~~~~~~~~~
CvSparseMat
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp: In member function ‘void alvar::Rotation::Reset()’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:96:2: error: ‘cvZero’ was not declared in this scope
cvZero(&quaternion_mat); cvmSet(&quaternion_mat, 0, 0, 1);
^~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:96:2: note: suggested alternative: ‘cvRect’
cvZero(&quaternion_mat); cvmSet(&quaternion_mat, 0, 0, 1);
^~~~~~
cvRect
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp: In static member function ‘static void alvar::Rotation::Mat9ToRod(double, double)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:102:2: error: ‘cvInitMatHeader’ was not declared in this scope
cvInitMatHeader(&mat_m, 3, 3, CV_64F, mat);
^~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:104:2: error: ‘cvRodrigues2’ was not declared in this scope
cvRodrigues2(&mat_m, &rod_m);
^~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:104:2: note: suggested alternative: ‘SetRodriques’
cvRodrigues2(&mat_m, &rod_m);
^~~~~~~~~~~~
SetRodriques
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp: In static member function ‘static void alvar::Rotation::RodToMat9(double*, double*)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:110:2: error: ‘cvInitMatHeader’ was not declared in this scope
cvInitMatHeader(&mat_m, 3, 3, CV_64F, mat);
^~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:112:2: error: ‘cvRodrigues2’ was not declared in this scope
cvRodrigues2(&rod_m, &mat_m, 0);
^~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:112:2: note: suggested alternative: ‘SetRodriques’
cvRodrigues2(&rod_m, &mat_m, 0);
^~~~~~~~~~~~
SetRodriques
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp: In member function ‘void alvar::Rotation::SetQuaternion(CvMat*)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:296:2: error: ‘cvCopy’ was not declared in this scope
cvCopy(mat, &quaternion_mat);
^~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:296:2: note: suggested alternative: ‘cvCeil’
cvCopy(mat, &quaternion_mat);
^~~~~~
cvCeil
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp: In member function ‘void alvar::Rotation::GetMatrix(CvMat*) const’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:336:3: error: ‘cvSetIdentity’ was not declared in this scope
cvSetIdentity(mat);
^~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp: In member function ‘void alvar::Rotation::GetQuaternion(CvMat*) const’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:355:2: error: ‘cvCopy’ was not declared in this scope
cvCopy(&quaternion_mat, mat);
^~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Rotation.cpp:355:2: note: suggested alternative: ‘cvCeil’
cvCopy(&quaternion_mat, mat);
^~~~~~
cvCeil
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Kalman.cpp: In member function ‘void alvar::KalmanVisualize::Init()’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Kalman.cpp:343:15: error: ‘cvLoadImage’ was not declared in this scope
img_legend = cvLoadImage("Legend.png"); //cvLoadImage
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Kalman.cpp:343:15: note: suggested alternative: ‘cvShowImage’
img_legend = cvLoadImage("Legend.png"); //cvLoadImage
^~~~~~~~~~~
cvShowImage
ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/build.make:590: recipe for target 'ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/src/Util.cpp.o' failed
make[2]: *** [ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/src/Util.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/build.make:206: recipe for target 'ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/src/Rotation.cpp.o' failed
make[2]: *** [ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/src/Rotation.cpp.o] Error 1
ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/build.make:638: recipe for target 'ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/src/Kalman.cpp.o' failed
make[2]: *** [ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/src/Kalman.cpp.o] Error 1
In file included from /home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/include/ar_track_alvar/MultiMarkerBundle.h:35:0,
from /home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/MultiMarkerBundle.cpp:24:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/include/ar_track_alvar/Optimization.h:28:10: fatal error: cxcore.h: No such file or directory
#include <cxcore.h>
^~~~~~~~~~
compilation terminated.
ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/build.make:734: recipe for target 'ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/src/MultiMarkerBundle.cpp.o' failed
make[2]: *** [ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/src/MultiMarkerBundle.cpp.o] Error 1
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp: In member function ‘bool alvar::ProjPoints::AddPointsUsingChessboard(IplImage*, double, int, int, bool)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:44:19: error: ‘cvCreateImage’ was not declared in this scope
IplImage gray = cvCreateImage(cvSize(image->width, image->height), IPL_DEPTH_8U, 1);
^~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:44:19: note: suggested alternative: ‘cvIplImage’
IplImage gray = cvCreateImage(cvSize(image->width, image->height), IPL_DEPTH_8U, 1);
^~~~~~~~~~~~~
cvIplImage
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:47:3: error: ‘cvCopy’ was not declared in this scope
cvCopy(image, gray);
^~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:47:3: note: suggested alternative: ‘cvCeil’
cvCopy(image, gray);
^~~~~~
cvCeil
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:49:27: error: ‘CV_RGB2GRAY’ was not declared in this scope
cvCvtColor(image, gray, CV_RGB2GRAY);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:49:27: note: suggested alternative: ‘CV_RGB’
cvCvtColor(image, gray, CV_RGB2GRAY);
^~~~~~~~~~~
CV_RGB
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:49:3: error: ‘cvCvtColor’ was not declared in this scope
cvCvtColor(image, gray, CV_RGB2GRAY);
^~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:49:3: note: suggested alternative: ‘cvFloor’
cvCvtColor(image, gray, CV_RGB2GRAY);
^~~~~~~~~~
cvFloor
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:54:26: error: ‘cvFindChessboardCorners’ was not declared in this scope
int pattern_was_found = cvFindChessboardCorners(gray, cvSize(etalon_rows, etalon_columns), corners, &point_count);
^~~~~~~~~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:57:3: error: ‘cvFindCornerSubPix’ was not declared in this scope
cvFindCornerSubPix(gray, corners, point_count, cvSize(5,5), cvSize(-1,-1),
^~~~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:73:3: error: ‘cvDrawChessboardCorners’ was not declared in this scope
cvDrawChessboardCorners(image, cvSize(etalon_rows, etalon_columns),
^~~~~~~~~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:77:2: error: ‘cvReleaseImage’ was not declared in this scope
cvReleaseImage(&gray);
^~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:77:2: note: suggested alternative: ‘cvIplImage’
cvReleaseImage(&gray);
^~~~~~~~~~~~~~
cvIplImage
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp: In member function ‘bool alvar::Camera::LoadCalibOpenCV(const char)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:189:15: error: ‘CV_ErrModeSilent’ was not declared in this scope
cvSetErrMode(CV_ErrModeSilent);
^~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:189:2: error: ‘cvSetErrMode’ was not declared in this scope
cvSetErrMode(CV_ErrModeSilent);
^~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:190:2: error: ‘CvFileStorage’ was not declared in this scope
CvFileStorage fs = cvOpenFileStorage(calibfile, 0, CV_STORAGE_READ);
^~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:190:2: note: suggested alternative: ‘CvMemStorage’
CvFileStorage* fs = cvOpenFileStorage(calibfile, 0, CV_STORAGE_READ);
^~~~~~~~~~~~~
CvMemStorage
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:190:17: error: ‘fs’ was not declared in this scope
CvFileStorage* fs = cvOpenFileStorage(calibfile, 0, CV_STORAGE_READ);
^~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:190:17: note: suggested alternative: ‘ffs’
CvFileStorage* fs = cvOpenFileStorage(calibfile, 0, CV_STORAGE_READ);
^~
ffs
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:190:54: error: ‘CV_STORAGE_READ’ was not declared in this scope
CvFileStorage* fs = cvOpenFileStorage(calibfile, 0, CV_STORAGE_READ);
^~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:190:22: error: ‘cvOpenFileStorage’ was not declared in this scope
CvFileStorage* fs = cvOpenFileStorage(calibfile, 0, CV_STORAGE_READ);
^~~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:190:22: note: suggested alternative: ‘CvMemStorage’
CvFileStorage* fs = cvOpenFileStorage(calibfile, 0, CV_STORAGE_READ);
^~~~~~~~~~~~~~~~~
CvMemStorage
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:191:15: error: ‘CV_ErrModeLeaf’ was not declared in this scope
cvSetErrMode(CV_ErrModeLeaf);
^~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:191:15: note: suggested alternative: ‘CV_Error_’
cvSetErrMode(CV_ErrModeLeaf);
^~~~~~~~~~~~~~
CV_Error_
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:193:3: error: ‘CvFileNode’ was not declared in this scope
CvFileNode* root_node = cvGetRootFileNode(fs);
^~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:193:3: note: suggested alternative: ‘TiXmlNode’
CvFileNode* root_node = cvGetRootFileNode(fs);
^~~~~~~~~~
TiXmlNode
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:193:15: error: ‘root_node’ was not declared in this scope
CvFileNode* root_node = cvGetRootFileNode(fs);
^~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:193:27: error: ‘cvGetRootFileNode’ was not declared in this scope
CvFileNode* root_node = cvGetRootFileNode(fs);
^~~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:195:15: error: ‘intrinsic_mat_node’ was not declared in this scope
CvFileNode* intrinsic_mat_node = cvGetFileNodeByName(fs, root_node, "intrinsic_matrix");
^~~~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:195:36: error: ‘cvGetFileNodeByName’ was not declared in this scope
CvFileNode* intrinsic_mat_node = cvGetFileNodeByName(fs, root_node, "intrinsic_matrix");
^~~~~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:196:51: error: ‘cvRead’ was not declared in this scope
CvMat* intrinsic_mat = reinterpret_cast<CvMat*>(cvRead(fs, intrinsic_mat_node));
^~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:196:51: note: suggested alternative: ‘cvRect’
CvMat* intrinsic_mat = reinterpret_cast<CvMat*>(cvRead(fs, intrinsic_mat_node));
^~~~~~
cvRect
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:208:15: error: ‘dist_mat_node’ was not declared in this scope
CvFileNode* dist_mat_node = cvGetFileNodeByName(fs, root_node, "distortion");
^~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:208:15: note: suggested alternative: ‘distance’
CvFileNode* dist_mat_node = cvGetFileNodeByName(fs, root_node, "distortion");
^~~~~~~~~~~~~
distance
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:216:15: error: ‘width_node’ was not declared in this scope
CvFileNode* width_node = cvGetFileNodeByName(fs, root_node, "width");
^~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:217:15: error: ‘height_node’ was not declared in this scope
CvFileNode* height_node = cvGetFileNodeByName(fs, root_node, "height");
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:220:3: error: ‘cvReleaseFileStorage’ was not declared in this scope
cvReleaseFileStorage(&fs);
^~~~~~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:224:2: error: ‘cvSetErrStatus’ was not declared in this scope
cvSetErrStatus(CV_StsOk);
^~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp: In member function ‘bool alvar::Camera::SaveCalibOpenCV(const char*)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:318:15: error: ‘CV_ErrModeSilent’ was not declared in this scope
cvSetErrMode(CV_ErrModeSilent);
^~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:318:2: error: ‘cvSetErrMode’ was not declared in this scope
cvSetErrMode(CV_ErrModeSilent);
^~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:319:2: error: ‘CvFileStorage’ was not declared in this scope
CvFileStorage* fs = cvOpenFileStorage(calibfile, 0, CV_STORAGE_WRITE);
^~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:319:2: note: suggested alternative: ‘CvMemStorage’
CvFileStorage* fs = cvOpenFileStorage(calibfile, 0, CV_STORAGE_WRITE);
^~~~~~~~~~~~~
CvMemStorage
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:319:17: error: ‘fs’ was not declared in this scope
CvFileStorage* fs = cvOpenFileStorage(calibfile, 0, CV_STORAGE_WRITE);
^~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:319:17: note: suggested alternative: ‘ffs’
CvFileStorage* fs = cvOpenFileStorage(calibfile, 0, CV_STORAGE_WRITE);
^~
ffs
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:319:54: error: ‘CV_STORAGE_WRITE’ was not declared in this scope
CvFileStorage* fs = cvOpenFileStorage(calibfile, 0, CV_STORAGE_WRITE);
^~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:319:54: note: suggested alternative: ‘CV_ITERATIVE’
CvFileStorage* fs = cvOpenFileStorage(calibfile, 0, CV_STORAGE_WRITE);
^~~~~~~~~~~~~~~~
CV_ITERATIVE
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:319:22: error: ‘cvOpenFileStorage’ was not declared in this scope
CvFileStorage* fs = cvOpenFileStorage(calibfile, 0, CV_STORAGE_WRITE);
^~~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:319:22: note: suggested alternative: ‘CvMemStorage’
CvFileStorage* fs = cvOpenFileStorage(calibfile, 0, CV_STORAGE_WRITE);
^~~~~~~~~~~~~~~~~
CvMemStorage
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:320:15: error: ‘CV_ErrModeLeaf’ was not declared in this scope
cvSetErrMode(CV_ErrModeLeaf);
^~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:320:15: note: suggested alternative: ‘CV_Error_’
cvSetErrMode(CV_ErrModeLeaf);
^~~~~~~~~~~~~~
CV_Error_
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:322:45: error: ‘cvAttrList’ was not declared in this scope
cvWrite(fs, "intrinsic_matrix", &calib_K, cvAttrList(0,0));
^~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:322:3: error: ‘cvWrite’ was not declared in this scope
cvWrite(fs, "intrinsic_matrix", &calib_K, cvAttrList(0,0));
^~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:322:3: note: suggested alternative: ‘pwrite’
cvWrite(fs, "intrinsic_matrix", &calib_K, cvAttrList(0,0));
^~~~~~~
pwrite
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:326:3: error: ‘cvWriteInt’ was not declared in this scope
cvWriteInt(fs, "width", calib_x_res);
^~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:326:3: note: suggested alternative: ‘cvPoint’
cvWriteInt(fs, "width", calib_x_res);
^~~~~~~~~~
cvPoint
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:328:3: error: ‘cvReleaseFileStorage’ was not declared in this scope
cvReleaseFileStorage(&fs);
^~~~~~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:332:2: error: ‘cvSetErrStatus’ was not declared in this scope
cvSetErrStatus(CV_StsOk);
^~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp: In member function ‘void alvar::Camera::Calibrate(alvar::ProjPoints&)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:353:25: error: ‘cvCreateMat’ was not declared in this scope
CvMat object_points = cvCreateMat((int)pp.object_points.size(), 1, CV_32FC3);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:353:25: note: suggested alternative: ‘cvCreateSparseMat’
CvMat object_points = cvCreateMat((int)pp.object_points.size(), 1, CV_32FC3);
^~~~~~~~~~~
cvCreateSparseMat
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:363:2: error: ‘cvCalibrateCamera2’ was not declared in this scope
cvCalibrateCamera2(object_points, image_points, &point_counts,
^~~~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:363:2: note: suggested alternative: ‘Calibrate’
cvCalibrateCamera2(object_points, image_points, &point_counts,
^~~~~~~~~~~~~~~~~~
Calibrate
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:370:2: error: ‘cvReleaseMat’ was not declared in this scope
cvReleaseMat(&object_points);
^~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:370:2: note: suggested alternative: ‘CvSparseMat’
cvReleaseMat(&object_points);
^~~~~~~~~~~~
CvSparseMat
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp: In member function ‘void alvar::Camera::CalcExteriorOrientation(std::vector&, std::vector&, alvar::Pose)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:646:25: error: ‘cvCreateMat’ was not declared in this scope
CvMat object_points = cvCreateMat((int)pw.size(), 1, CV_32FC3);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:646:25: note: suggested alternative: ‘cvCreateSparseMat’
CvMat object_points = cvCreateMat((int)pw.size(), 1, CV_32FC3);
^~~~~~~~~~~
cvCreateSparseMat
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:656:2: error: ‘cvFindExtrinsicCameraParams2’ was not declared in this scope
cvFindExtrinsicCameraParams2(object_points, image_points, &calib_K, NULL, &ext_rodriques_mat, &ext_translate_mat);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:659:2: error: ‘cvReleaseMat’ was not declared in this scope
cvReleaseMat(&object_points);
^~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:659:2: note: suggested alternative: ‘CvSparseMat’
cvReleaseMat(&object_points);
^~~~~~~~~~~~
CvSparseMat
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp: In member function ‘void alvar::Camera::CalcExteriorOrientation(std::vector&, std::vector<alvar::Point >&, CvMat, CvMat)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:686:2: error: ‘cvInitMatHeader’ was not declared in this scope
cvInitMatHeader(&world_mat, size, 1, CV_64FC3, world_pts);
^~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:690:2: error: ‘cvZero’ was not declared in this scope
cvZero(tra);
^~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:690:2: note: suggested alternative: ‘cvRect’
cvZero(tra);
^~~~~~
cvRect
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:692:2: error: ‘cvFindExtrinsicCameraParams2’ was not declared in this scope
cvFindExtrinsicCameraParams2(&world_mat, &image_mat, &calib_K, &calib_D, rodriques, tra);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp: In member function ‘bool alvar::Camera::CalcExteriorOrientation(const CvMat, CvMat*, CvMat*, CvMat*)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:727:2: error: ‘cvFindExtrinsicCameraParams2’ was not declared in this scope
cvFindExtrinsicCameraParams2(object_points, image_points, &calib_K, &calib_D, rodriques, tra);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp: In member function ‘void alvar::Camera::ProjectPoints(std::vector&, alvar::Pose*, std::vector&) const’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:749:25: error: ‘cvCreateMat’ was not declared in this scope
CvMat object_points = cvCreateMat((int)pw.size(), 1, CV_32FC3);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:749:25: note: suggested alternative: ‘cvCreateSparseMat’
CvMat object_points = cvCreateMat((int)pw.size(), 1, CV_32FC3);
^~~~~~~~~~~
cvCreateSparseMat
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:756:2: error: ‘cvProjectPoints2’ was not declared in this scope
cvProjectPoints2(object_points, &ext_rodriques_mat, &ext_translate_mat, &calib_K, &calib_D, image_points);
^~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:756:2: note: suggested alternative: ‘ProjectPoints’
cvProjectPoints2(object_points, &ext_rodriques_mat, &ext_translate_mat, &calib_K, &calib_D, image_points);
^~~~~~~~~~~~~~~~
ProjectPoints
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:761:2: error: ‘cvReleaseMat’ was not declared in this scope
cvReleaseMat(&object_points);
^~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:761:2: note: suggested alternative: ‘CvSparseMat’
cvReleaseMat(&object_points);
^~~~~~~~~~~~
CvSparseMat
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp: In member function ‘void alvar::Camera::ProjectPoints(const CvMat, const CvMat, const CvMat*, CvMat*) const’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:769:2: error: ‘cvProjectPoints2’ was not declared in this scope
cvProjectPoints2(object_points, rotation_vector, translation_vector, &calib_K, &calib_D, image_points);
^~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:769:2: note: suggested alternative: ‘ProjectPoints’
cvProjectPoints2(object_points, rotation_vector, translation_vector, &calib_K, &calib_D, image_points);
^~~~~~~~~~~~~~~~
ProjectPoints
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp: In member function ‘void alvar::Camera::ProjectPoints(const CvMat*, const alvar::Pose*, CvMat*) const’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:780:2: error: ‘cvProjectPoints2’ was not declared in this scope
cvProjectPoints2(object_points, &ext_rodriques_mat, &ext_translate_mat, &calib_K, &calib_D, image_points);
^~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:780:2: note: suggested alternative: ‘ProjectPoints’
cvProjectPoints2(object_points, &ext_rodriques_mat, &ext_translate_mat, &calib_K, &calib_D, image_points);
^~~~~~~~~~~~~~~~
ProjectPoints
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp: In member function ‘void alvar::Camera::ProjectPoints(const CvMat*, double*, CvMat*) const’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:796:2: error: ‘cvSetIdentity’ was not declared in this scope
cvSetIdentity(&cv_mul);
^~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:799:2: error: ‘cvMatMul’ was not declared in this scope
cvMatMul(&cv_mul, &glm_mat, &glm_mat);
^~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:799:2: note: suggested alternative: ‘cvMatND’
cvMatMul(&cv_mul, &glm_mat, &glm_mat);
^~~~~~~~
cvMatND
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp: In constructor ‘alvar::Homography::Homography()’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:835:2: error: ‘cvInitMatHeader’ was not declared in this scope
cvInitMatHeader(&H, 3, 3, CV_64F, H_data);
^~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp: In member function ‘void alvar::Homography::Find(const std::vector<alvar::Point >&, const std::vector<alvar::Point >&)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:855:2: error: ‘cvInitMatHeader’ was not declared in this scope
cvInitMatHeader(&dst_pts, 1, size, CV_64FC2, dstp);
^~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:861:2: error: ‘cvFindHomography’ was not declared in this scope
cvFindHomography(&src_pts, &dst_pts, &H);
^~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:861:2: note: suggested alternative: ‘Homography’
cvFindHomography(&src_pts, &dst_pts, &H);
^~~~~~~~~~~~~~~~
Homography
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp: In member function ‘void alvar::Homography::ProjectPoints(const std::vector<alvar::Point >&, std::vector<alvar::Point >&)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:883:2: error: ‘cvInitMatHeader’ was not declared in this scope
cvInitMatHeader(&src_pts, 1, size, CV_64FC3, srcp);
^~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Camera.cpp:886:2: error: ‘cvTransform’ was not declared in this scope
cvTransform(&src_pts, &dst_pts, &H);
^~~~~~~~~~~
ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/build.make:62: recipe for target 'ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/src/Camera.cpp.o' failed
make[2]: *** [ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/src/Camera.cpp.o] Error 1
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp: In member function ‘void alvar::Marker::VisualizeMarkerPose(IplImage*, alvar::Camera*, double ()[2], CvScalar) const’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:43:3: error: ‘cvLine’ was not declared in this scope
cvLine(image, cvPoint((int)visualize2d_points[i][0], (int)visualize2d_points[i][1]), cvPoint((int)visualize2d_points[(i+1)%4][0], (int)visualize2d_points[(i+1)%4][1]), color);
^~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:43:3: note: suggested alternative: ‘cvSize’
cvLine(image, cvPoint((int)visualize2d_points[i][0], (int)visualize2d_points[i][1]), cvPoint((int)visualize2d_points[(i+1)%4][0], (int)visualize2d_points[(i+1)%4][1]), color);
^~~~~~
cvSize
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:48:2: error: ‘cvLine’ was not declared in this scope
cvLine(image, cvPoint((int)visualize2d_points[8][0], (int)visualize2d_points[8][1]), cvPoint((int)visualize2d_points[9][0], (int)visualize2d_points[9][1]), CV_RGB(255,0,0));
^~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:48:2: note: suggested alternative: ‘cvSize’
cvLine(image, cvPoint((int)visualize2d_points[8][0], (int)visualize2d_points[8][1]), cvPoint((int)visualize2d_points[9][0], (int)visualize2d_points[9][1]), CV_RGB(255,0,0));
^~~~~~
cvSize
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp: In member function ‘virtual void alvar::Marker::VisualizeMarkerContent(IplImage, alvar::Camera*, double*, double*) const’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:66:2: error: ‘CvFont’ was not declared in this scope
CvFont font;
^~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:66:2: note: suggested alternative: ‘CvPoint’
CvFont font;
^~~~~~
CvPoint
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:67:14: error: ‘font’ was not declared in this scope
cvInitFont(&font, 0, 0.5, 0.5, 0);
^~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:67:14: note: suggested alternative: ‘dot’
cvInitFont(&font, 0, 0.5, 0.5, 0);
^~~~
dot
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:67:2: error: ‘cvInitFont’ was not declared in this scope
cvInitFont(&font, 0, 0.5, 0.5, 0);
^~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:67:2: note: suggested alternative: ‘cvPoint’
cvInitFont(&font, 0, 0.5, 0.5, 0);
^~~~~~~~~~
cvPoint
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:70:2: error: ‘cvPutText’ was not declared in this scope
cvPutText(image, val.str().c_str(), cvPoint((int)datatext_point[0], (int)datatext_point[1]), &font, CV_RGB(255,255,0));
^~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:82:9: error: ‘cvGet2D’ was not declared in this scope
if (cvGet2D(marker_content, j/3, i/3).val[0]) {
^~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:82:9: note: suggested alternative: ‘cvBox2D’
if (cvGet2D(marker_content, j/3, i/3).val[0]) {
^~~~~~~
cvBox2D
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:83:6: error: ‘cvSet2D’ was not declared in this scope
cvSet2D(image, y, x, CV_RGB(255,255,255));
^~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:83:6: note: suggested alternative: ‘CvSet’
cvSet2D(image, y, x, CV_RGB(255,255,255));
^~~~~~~
CvSet
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:85:6: error: ‘cvSet2D’ was not declared in this scope
cvSet2D(image, y, x, CV_RGB(0,0,0));
^~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:85:6: note: suggested alternative: ‘CvSet’
cvSet2D(image, y, x, CV_RGB(0,0,0));
^~~~~~~
CvSet
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp: In member function ‘virtual void alvar::Marker::VisualizeMarkerError(IplImage*, alvar::Camera*, double*) const’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:93:2: error: ‘CvFont’ was not declared in this scope
CvFont font;
^~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:93:2: note: suggested alternative: ‘CvPoint’
CvFont font;
^~~~~~
CvPoint
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:94:14: error: ‘font’ was not declared in this scope
cvInitFont(&font, 0, 0.5, 0.5, 0);
^~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:94:14: note: suggested alternative: ‘dot’
cvInitFont(&font, 0, 0.5, 0.5, 0);
^~~~
dot
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:94:2: error: ‘cvInitFont’ was not declared in this scope
cvInitFont(&font, 0, 0.5, 0.5, 0);
^~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:94:2: note: suggested alternative: ‘cvPoint’
cvInitFont(&font, 0, 0.5, 0.5, 0);
^~~~~~~~~~
cvPoint
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:100:3: error: ‘cvPutText’ was not declared in this scope
cvPutText(image, val.str().c_str(), cvPoint((int)errortext_point[0], (int)errortext_point[1]), &font, CV_RGB(255,0,0));
^~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:104:3: error: ‘cvPutText’ was not declared in this scope
cvPutText(image, val.str().c_str(), cvPoint((int)errortext_point[0], (int)errortext_point[1]), &font, CV_RGB(128,0,0));
^~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp: In member function ‘virtual void alvar::MarkerData::VisualizeMarkerContent(IplImage*, alvar::Camera*, double*, double*) const’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:121:2: error: ‘CvFont’ was not declared in this scope
CvFont font;
^~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:121:2: note: suggested alternative: ‘CvPoint’
CvFont font;
^~~~~~
CvPoint
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:122:14: error: ‘font’ was not declared in this scope
cvInitFont(&font, 0, 0.5, 0.5, 0);
^~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:122:14: note: suggested alternative: ‘dot’
cvInitFont(&font, 0, 0.5, 0.5, 0);
^~~~
dot
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:122:2: error: ‘cvInitFont’ was not declared in this scope
cvInitFont(&font, 0, 0.5, 0.5, 0);
^~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:122:2: note: suggested alternative: ‘cvPoint’
cvInitFont(&font, 0, 0.5, 0.5, 0);
^~~~~~~~~~
cvPoint
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:132:2: error: ‘cvPutText’ was not declared in this scope
cvPutText(image, val.str().c_str(), cvPoint((int)datatext_point[0], (int)datatext_point[1]), &font, rgb);
^~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp: In member function ‘void alvar::Marker::Visualize(IplImage*, alvar::Camera*, CvScalar) const’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:155:2: error: ‘cvInitMatHeader’ was not declared in this scope
cvInitMatHeader(&visualize3d_points_mat, 12, 3, CV_64F, visualize3d_points);
^~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp: In member function ‘bool alvar::Marker::UpdateContentBasic(std::vector<alvar::Point >&, IplImage*, alvar::Camera*, int)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:213:62: error: ‘cvGetReal2D’ was not declared in this scope
marker_points_img[(jmarker_content->width)+i].val = (int)cvGetReal2D(gray, y, x);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:230:4: error: ‘cvSet2D’ was not declared in this scope
cvSet2D(marker_content, j, i, cvScalar(marker_points_img[(jmarker_content->width)+i].val));
^~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:230:4: note: suggested alternative: ‘CvSet’
cvSet2D(marker_content, j, i, cvScalar(marker_points_img[(jmarker_content->width)+i].val));
^~~~~~~
CvSet
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:249:37: error: ‘cvGetReal2D’ was not declared in this scope
marker_margin_w_img[i].val = (int)cvGetReal2D(gray, y, x);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:257:37: error: ‘cvGetReal2D’ was not declared in this scope
marker_margin_b_img[i].val = (int)cvGetReal2D(gray, y, x);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:267:66: error: ‘CV_THRESH_BINARY’ was not declared in this scope
cvThreshold(marker_content, marker_content, (max+min)/2.0, 255, CV_THRESH_BINARY);
^~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:267:66: note: suggested alternative: ‘BOOST_BINARY’
cvThreshold(marker_content, marker_content, (max+min)/2.0, 255, CV_THRESH_BINARY);
^~~~~~~~~~~~~~~~
BOOST_BINARY
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:267:2: error: ‘cvThreshold’ was not declared in this scope
cvThreshold(marker_content, marker_content, (max+min)/2.0, 255, CV_THRESH_BINARY);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp: In member function ‘void alvar::Marker::SaveMarkerImage(const char, int) const’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:331:18: error: ‘cvCreateImage’ was not declared in this scope
IplImage img = cvCreateImage(cvSize(save_res, save_res), IPL_DEPTH_8U, 1);
^~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:331:18: note: suggested alternative: ‘cvIplImage’
IplImage img = cvCreateImage(cvSize(save_res, save_res), IPL_DEPTH_8U, 1);
^~~~~~~~~~~~~
cvIplImage
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:333:2: error: ‘cvZero’ was not declared in this scope
cvZero(img);
^~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:333:2: note: suggested alternative: ‘cvRect’
cvZero(img);
^~~~~~
cvRect
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:335:2: error: ‘cvGetSubRect’ was not declared in this scope
cvGetSubRect(img, &submat, cvRect(int(marginscale), int(marginscale), int(resscale), int(resscale)));
^~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:335:2: note: suggested alternative: ‘cvROIToRect’
cvGetSubRect(img, &submat, cvRect(int(marginscale), int(marginscale), int(resscale), int(resscale)));
^~~~~~~~~~~~
cvROIToRect
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:336:40: error: ‘CV_INTER_NN’ was not declared in this scope
cvResize(marker_content, img_content, CV_INTER_NN);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:336:40: note: suggested alternative: ‘CV_INLINE’
cvResize(marker_content, img_content, CV_INTER_NN);
^~~~~~~~~~~
CV_INLINE
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:336:2: error: ‘cvResize’ was not declared in this scope
cvResize(marker_content, img_content, CV_INTER_NN);
^~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:336:2: note: suggested alternative: ‘cvSize’
cvResize(marker_content, img_content, CV_INTER_NN);
^~~~~~~~
cvSize
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:337:2: error: ‘cvCopy’ was not declared in this scope
cvCopy(img_content, &submat);
^~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:337:2: note: suggested alternative: ‘cvCeil’
cvCopy(img_content, &submat);
^~~~~~
cvCeil
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:338:2: error: ‘cvSaveImage’ was not declared in this scope
cvSaveImage(filename, img);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:338:2: note: suggested alternative: ‘cvIplImage’
cvSaveImage(filename, img);
^~~~~~~~~~~
cvIplImage
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:339:2: error: ‘cvReleaseImage’ was not declared in this scope
cvReleaseImage(&img_content);
^~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:339:2: note: suggested alternative: ‘cvIplImage’
cvReleaseImage(&img_content);
^~~~~~~~~~~~~~
cvIplImage
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp: In member function ‘void alvar::Marker::ScaleMarkerToImage(IplImage*) const’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:345:18: error: ‘cvCreateImage’ was not declared in this scope
IplImage img = cvCreateImage(cvSize(int(multiplier(res+margin+margin)+0.5), int(multiplier*(res+margin+margin)+0.5)), IPL_DEPTH_8U, 1);
^~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:345:18: note: suggested alternative: ‘cvIplImage’
IplImage img = cvCreateImage(cvSize(int(multiplier(res+margin+margin)+0.5), int(multiplier*(res+margin+margin)+0.5)), IPL_DEPTH_8U, 1);
^~~~~~~~~~~~~
cvIplImage
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:347:2: error: ‘cvZero’ was not declared in this scope
cvZero(img);
^~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:347:2: note: suggested alternative: ‘cvRect’
cvZero(img);
^~~~~~
cvRect
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:349:2: error: ‘cvGetSubRect’ was not declared in this scope
cvGetSubRect(img, &submat, cvRect(int(multipliermargin+0.5), int(multipliermargin+0.5), int(multiplierres+0.5), int(multiplierres+0.5)));
^~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:349:2: note: suggested alternative: ‘cvROIToRect’
cvGetSubRect(img, &submat, cvRect(int(multipliermargin+0.5), int(multipliermargin+0.5), int(multiplierres+0.5), int(multiplierres+0.5)));
^~~~~~~~~~~~
cvROIToRect
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:350:40: error: ‘CV_INTER_NN’ was not declared in this scope
cvResize(marker_content, img_content, CV_INTER_NN);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:350:40: note: suggested alternative: ‘CV_INLINE’
cvResize(marker_content, img_content, CV_INTER_NN);
^~~~~~~~~~~
CV_INLINE
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:350:2: error: ‘cvResize’ was not declared in this scope
cvResize(marker_content, img_content, CV_INTER_NN);
^~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:350:2: note: suggested alternative: ‘cvSize’
cvResize(marker_content, img_content, CV_INTER_NN);
^~~~~~~~
cvSize
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:351:2: error: ‘cvCopy’ was not declared in this scope
cvCopy(img_content, &submat);
^~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:351:2: note: suggested alternative: ‘cvCeil’
cvCopy(img_content, &submat);
^~~~~~
cvCeil
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:353:2: error: ‘cvReleaseImage’ was not declared in this scope
cvReleaseImage(&img_content);
^~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:353:2: note: suggested alternative: ‘cvIplImage’
cvReleaseImage(&img_content);
^~~~~~~~~~~~~~
cvIplImage
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp: In member function ‘void alvar::Marker::SetMarkerSize(double, int, double)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:512:22: error: ‘cvReleaseMat’ was not declared in this scope
if (marker_content) cvReleaseMat(&marker_content);
^~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:512:22: note: suggested alternative: ‘CvSparseMat’
if (marker_content) cvReleaseMat(&marker_content);
^~~~~~~~~~~~
CvSparseMat
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:513:19: error: ‘cvCreateMat’ was not declared in this scope
marker_content = cvCreateMat(res, res, CV_8U);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:514:2: error: ‘cvSet’ was not declared in this scope
cvSet(marker_content, cvScalar(255));
^~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:514:2: note: suggested alternative: ‘CvSet’
cvSet(marker_content, cvScalar(255));
^~~~~
CvSet
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp: In destructor ‘alvar::Marker::~Marker()’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:517:22: error: ‘cvReleaseMat’ was not declared in this scope
if (marker_content) cvReleaseMat(&marker_content);
^~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:517:22: note: suggested alternative: ‘CvSparseMat’
if (marker_content) cvReleaseMat(&marker_content);
^~~~~~~~~~~~
CvSparseMat
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp: In copy constructor ‘alvar::Marker::Marker(const alvar::Marker&)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:538:2: error: ‘cvCopy’ was not declared in this scope
cvCopy(m.marker_content, marker_content);
^~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:538:2: note: suggested alternative: ‘cvCeil’
cvCopy(m.marker_content, marker_content);
^~~~~~
cvCeil
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp: In member function ‘virtual bool alvar::MarkerArtoolkit::DecodeContent(int*)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:560:15: error: ‘cvGetReal2D’ was not declared in this scope
int a = (int)cvGetReal2D(marker_content, 0, 0);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp: In member function ‘void alvar::MarkerArtoolkit::SetContent(long unsigned int)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:618:5: error: ‘cvSetReal2D’ was not declared in this scope
cvSetReal2D(marker_content, j, i, 0);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:618:5: note: suggested alternative: ‘CvSeqReader’
cvSetReal2D(marker_content, j, i, 0);
^~~~~~~~~~~
CvSeqReader
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:620:5: error: ‘cvSetReal2D’ was not declared in this scope
cvSetReal2D(marker_content, j, i, 0);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:620:5: note: suggested alternative: ‘CvSeqReader’
cvSetReal2D(marker_content, j, i, 0);
^~~~~~~~~~~
CvSeqReader
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:622:5: error: ‘cvSetReal2D’ was not declared in this scope
cvSetReal2D(marker_content, j, i, 255);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:622:5: note: suggested alternative: ‘CvSeqReader’
cvSetReal2D(marker_content, j, i, 255);
^~~~~~~~~~~
CvSeqReader
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:625:6: error: ‘cvSetReal2D’ was not declared in this scope
cvSetReal2D(marker_content, j, i, 0);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:625:6: note: suggested alternative: ‘CvSeqReader’
cvSetReal2D(marker_content, j, i, 0);
^~~~~~~~~~~
CvSeqReader
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:627:6: error: ‘cvSetReal2D’ was not declared in this scope
cvSetReal2D(marker_content, j, i, 255);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:627:6: note: suggested alternative: ‘CvSeqReader’
cvSetReal2D(marker_content, j, i, 255);
^~~~~~~~~~~
CvSeqReader
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp: In member function ‘void alvar::MarkerData::DecodeOrientation(int*, int*, int*)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:642:12: error: ‘cvGetReal2D’ was not declared in this scope
if ((int)cvGetReal2D(marker_content, j, i) != color) errors[0]++;
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:643:12: error: ‘cvGetReal2D’ was not declared in this scope
if ((int)cvGetReal2D(marker_content, i, j) != color) errors[1]++;
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:654:13: error: ‘cvGetReal2D’ was not declared in this scope
if ((int)cvGetReal2D(marker_content, j, i) != 0) errors[0]++;
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:655:13: error: ‘cvGetReal2D’ was not declared in this scope
if ((int)cvGetReal2D(marker_content, i, j) != 0) errors[1]++;
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:656:13: error: ‘cvGetReal2D’ was not declared in this scope
if ((int)cvGetReal2D(marker_content, j, i) != 255) errors[2]++;
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:657:13: error: ‘cvGetReal2D’ was not declared in this scope
if ((int)cvGetReal2D(marker_content, i, j) != 255) errors[3]++;
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:660:13: error: ‘cvGetReal2D’ was not declared in this scope
if ((int)cvGetReal2D(marker_content, j, i) != 255) errors[0]++;
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:661:13: error: ‘cvGetReal2D’ was not declared in this scope
if ((int)cvGetReal2D(marker_content, i, j) != 255) errors[1]++;
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:662:13: error: ‘cvGetReal2D’ was not declared in this scope
if ((int)cvGetReal2D(marker_content, j, i) != 0) errors[2]++;
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:663:13: error: ‘cvGetReal2D’ was not declared in this scope
if ((int)cvGetReal2D(marker_content, i, j) != 0) errors[3]++;
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp: In member function ‘bool alvar::MarkerData::DetectResolution(std::vector<alvar::Point >&, IplImage*, alvar::Camera*)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:719:15: error: ‘cvInitLineIterator’ was not declared in this scope
int count = cvInitLineIterator(gray, pt1, pt2, &iterator, 8, 0);
^~~~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:719:15: note: suggested alternative: ‘CvLineIterator’
int count = cvInitLineIterator(gray, pt1, pt2, &iterator, 8, 0);
^~~~~~~~~~~~~~~~~~
CvLineIterator
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:722:4: error: ‘CV_NEXT_LINE_POINT’ was not declared in this scope
CV_NEXT_LINE_POINT(iterator);
^~~~~~~~~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:722:4: note: suggested alternative: ‘CV_READ_CHAIN_POINT’
CV_NEXT_LINE_POINT(iterator);
^~~~~~~~~~~~~~~~~~
CV_READ_CHAIN_POINT
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp: In member function ‘int alvar::MarkerData::DecodeCode(int, alvar::BitsetExt*, int*, int*, unsigned char*)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:788:39: error: ‘cvGetReal2D’ was not declared in this scope
if (orientation == 0) color = (int)cvGetReal2D(marker_content, j, i);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:789:44: error: ‘cvGetReal2D’ was not declared in this scope
else if (orientation == 1) color = (int)cvGetReal2D(marker_content, res-i-1, j);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:790:44: error: ‘cvGetReal2D’ was not declared in this scope
else if (orientation == 2) color = (int)cvGetReal2D(marker_content, res-j-1, res-i-1);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:791:44: error: ‘cvGetReal2D’ was not declared in this scope
else if (orientation == 3) color = (int)cvGetReal2D(marker_content, i, res-j-1);
^~~~~~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp: In member function ‘void alvar::MarkerData::SetContent(alvar::MarkerData::MarkerContentType, long unsigned int, const char*, bool, bool)’:
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:1051:2: error: ‘cvSet’ was not declared in this scope
cvSet(marker_content, cvScalar(255));
^~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:1051:2: note: suggested alternative: ‘CvSet’
cvSet(marker_content, cvScalar(255));
^~~~~
CvSet
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:1055:14: error: ‘cvSet2D’ was not declared in this scope
if (i%2) cvSet2D(marker_content, j, i, cvScalar(0));
^~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:1055:14: note: suggested alternative: ‘CvSet’
if (i%2) cvSet2D(marker_content, j, i, cvScalar(0));
^~~~~~~
CvSet
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:1057:5: error: ‘cvSet2D’ was not declared in this scope
cvSet2D(marker_content, j, i, cvScalar(0));
^~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:1057:5: note: suggested alternative: ‘CvSet’
cvSet2D(marker_content, j, i, cvScalar(0));
^~~~~~~
CvSet
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:1059:5: error: ‘cvSet2D’ was not declared in this scope
cvSet2D(marker_content, j, i, cvScalar(255));
^~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:1059:5: note: suggested alternative: ‘CvSet’
cvSet2D(marker_content, j, i, cvScalar(255));
^~~~~~~
CvSet
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:1062:17: error: ‘cvSet2D’ was not declared in this scope
if (*iter) cvSet2D(marker_content, j, i, cvScalar(0));
^~~~~~~
/home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:1062:17: note: suggested alternative: ‘CvSet’
if (*iter) cvSet2D(marker_content, j, i, cvScalar(0));
^~~~~~~
CvSet
In file included from /usr/include/pcl-1.8/pcl/sample_consensus/sac_model.h:52:0,
from /usr/include/pcl-1.8/pcl/sample_consensus/sac.h:45,
from /usr/include/pcl-1.8/pcl/sample_consensus/ransac.h:44,
from /usr/include/pcl-1.8/pcl/registration/icp.h:45,
from /home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/include/ar_track_alvar/filter/kinect_filtering.h:44,
from /home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/include/ar_track_alvar/Marker.h:42,
from /home/spiri/ros_opencv_dependables/src/ar_track_alvar/ar_track_alvar/src/Marker.cpp:25:
/usr/include/pcl-1.8/pcl/sample_consensus/model_types.h: In function ‘void __static_initialization_and_destruction_0(int, int)’:
/usr/include/pcl-1.8/pcl/sample_consensus/model_types.h:99:3: warning: ‘pcl::SAC_SAMPLE_SIZE’ is deprecated: This map is deprecated and is kept only to prevent breaking existing user code. Starting from PCL 1.8.0 model sample size is a protected member of the SampleConsensusModel class [-Wdeprecated-declarations]
SAC_SAMPLE_SIZE (sample_size_pairs, sample_size_pairs + sizeof (sample_size_pairs) / sizeof (SampleSizeModel));
^~~~~~~~~~~~~~~
/usr/include/pcl-1.8/pcl/sample_consensus/model_types.h:99:3: note: declared here
ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/build.make:134: recipe for target 'ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/src/Marker.cpp.o' failed
make[2]: *** [ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/src/Marker.cpp.o] Error 1
CMakeFiles/Makefile2:11428: recipe for target 'ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/all' failed
make[1]: *** [ar_track_alvar/ar_track_alvar/CMakeFiles/ar_track_alvar.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: