After the cmake command, I run make and:
[ 8%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/CCanvas.cpp.o
[ 8%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/CLog.cpp.o
[ 9%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/TColor.cpp.o
[ 9%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/TCamera.cpp.o
[ 9%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/CReferencedMemBlock.cpp.o
[ 9%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/types.cpp.o
[ 9%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/CFileInputStream.cpp.o
[ 9%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/TMatchingPair.cpp.o
[ 9%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/CRobotSimulator.cpp.o
[ 9%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/CConfigFile.cpp.o
[ 10%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/CEnhancedMetaFile_LIN.cpp.o
[ 10%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/TStereoCamera.cpp.o
[ 10%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/CFileGZInputStream.cpp.o
[ 10%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/CDynamicGrid.cpp.o
[ 10%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/CSimpleDatabase.cpp.o
[ 10%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/CPropertiesValuesList.cpp.o
[ 10%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/CMemoryChunk.cpp.o
[ 10%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/md5.cpp.o
[ 11%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/CStartUpClassesRegister.cpp.o
[ 11%] Building CXX object libs/base/CMakeFiles/mrpt-base.dir/src/utils/CImage_JPEG_streams.cpp.o
In file included from /home/romulo/mrpt-git/libs/base/include/mrpt/otherlibs/do_opencv_includes.h:42:0,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:16:
/usr/include/opencv2/legacy/legacy.hpp:1750:53: error: โcv::EMโ has not been declared
CvEMParams( int nclusters, int cov_mat_type=cv::EM::COV_MAT_DIAGONAL,
^
/usr/include/opencv2/legacy/legacy.hpp:1751:36: error: โcv::EMโ has not been declared
int start_step=cv::EM::START_AUTO_STEP,
^
/usr/include/opencv2/legacy/legacy.hpp:1767:1: error: expected class-name before โ{โ token
{
^
/usr/include/opencv2/legacy/legacy.hpp:1770:34: error: โcv::EMโ has not been declared
enum { COV_MAT_SPHERICAL=cv::EM::COV_MAT_SPHERICAL,
^
/usr/include/opencv2/legacy/legacy.hpp:1771:34: error: โcv::EMโ has not been declared
COV_MAT_DIAGONAL =cv::EM::COV_MAT_DIAGONAL,
^
/usr/include/opencv2/legacy/legacy.hpp:1772:34: error: โcv::EMโ has not been declared
COV_MAT_GENERIC =cv::EM::COV_MAT_GENERIC };
^
/usr/include/opencv2/legacy/legacy.hpp:1775:29: error: โcv::EMโ has not been declared
enum { START_E_STEP=cv::EM::START_E_STEP,
^
/usr/include/opencv2/legacy/legacy.hpp:1776:29: error: โcv::EMโ has not been declared
START_M_STEP=cv::EM::START_M_STEP,
^
/usr/include/opencv2/legacy/legacy.hpp:1777:32: error: โcv::EMโ has not been declared
START_AUTO_STEP=cv::EM::START_AUTO_STEP };
^
/usr/include/opencv2/legacy/legacy.hpp:1825:5: error: โEMโ in namespace โcvโ does not name a type
cv::EM emObj;
^
/usr/include/opencv2/legacy/legacy.hpp: In member function โdouble CvEM::getLikelihood() constโ:
/usr/include/opencv2/legacy/legacy.hpp:1807:58: error: โemObjโ was not declared in this scope
CV_WRAP inline double getLikelihood() const { return emObj.isTrained() ? logLikelihood : DBL_MAX; }
^
/usr/include/opencv2/legacy/legacy.hpp: At global scope:
/usr/include/opencv2/legacy/legacy.hpp:1880:28: error: โvectorโ has not been declared
CV_OUT vector& keypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:1880:34: error: expected โ,โ or โ...โ before โ<โ token
CV_OUT vector& keypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:1882:27: error: โvectorโ does not name a type
void operator()(const vector& pyr,
^
/usr/include/opencv2/legacy/legacy.hpp:1882:33: error: expected โ,โ or โ...โ before โ<โ token
void operator()(const vector& pyr,
^
/usr/include/opencv2/legacy/legacy.hpp:1885:51: error: โvectorโ has not been declared
void getMostStable2D(const Mat& image, CV_OUT vector& keypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:1885:57: error: expected โ,โ or โ...โ before โ<โ token
void getMostStable2D(const Mat& image, CV_OUT vector& keypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:1909:26: error: โvectorโ does not name a type
FernClassifier(const vector<vector >& points,
^
/usr/include/opencv2/legacy/legacy.hpp:1909:32: error: expected โ,โ or โ...โ before โ<โ token
FernClassifier(const vector<vector >& points,
^
/usr/include/opencv2/legacy/legacy.hpp:1923:44: error: โvectorโ does not name a type
const vector& keypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:1923:50: error: expected โ,โ or โ...โ before โ<โ token
const vector& keypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:1931:30: error: โvectorโ does not name a type
virtual void train(const vector<vector >& points,
^
/usr/include/opencv2/legacy/legacy.hpp:1931:36: error: expected โ,โ or โ...โ before โ<โ token
virtual void train(const vector<vector >& points,
^
/usr/include/opencv2/legacy/legacy.hpp:1941:57: error: โvectorโ has not been declared
virtual int operator()(const Mat& img, Point2f kpt, vector& signature) const;
^
/usr/include/opencv2/legacy/legacy.hpp:1941:63: error: expected โ,โ or โ...โ before โ<โ token
virtual int operator()(const Mat& img, Point2f kpt, vector& signature) const;
^
/usr/include/opencv2/legacy/legacy.hpp:1942:46: error: โvectorโ has not been declared
virtual int operator()(const Mat& patch, vector& signature) const;
^
/usr/include/opencv2/legacy/legacy.hpp:1942:52: error: expected โ,โ or โ...โ before โ<โ token
virtual int operator()(const Mat& patch, vector& signature) const;
^
/usr/include/opencv2/legacy/legacy.hpp:1993:5: error: โvectorโ does not name a type
vector features;
^
/usr/include/opencv2/legacy/legacy.hpp:1994:5: error: โvectorโ does not name a type
vector classCounters;
^
/usr/include/opencv2/legacy/legacy.hpp:1995:5: error: โvectorโ does not name a type
vector posteriors;
^
/usr/include/opencv2/legacy/legacy.hpp:2035:16: error: โvectorโ has not been declared
void train(vector const& base_set, RNG &rng,
^
/usr/include/opencv2/legacy/legacy.hpp:2035:22: error: expected โ,โ or โ...โ before โ<โ token
void train(vector const& base_set, RNG &rng,
^
/usr/include/opencv2/legacy/legacy.hpp:2037:16: error: โvectorโ has not been declared
void train(vector const& base_set, RNG &rng,
^
/usr/include/opencv2/legacy/legacy.hpp:2037:22: error: expected โ,โ or โ...โ before โ<โ token
void train(vector const& base_set, RNG &rng,
^
/usr/include/opencv2/legacy/legacy.hpp:2037:10: error: โvoid cv::RandomizedTree::train(int)โ cannot be overloaded
void train(vector const& base_set, RNG &rng,
^
/usr/include/opencv2/legacy/legacy.hpp:2035:10: error: with โvoid cv::RandomizedTree::train(int)โ
void train(vector const& base_set, RNG &rng,
^
/usr/include/opencv2/legacy/legacy.hpp:2072:5: error: โvectorโ does not name a type
vector nodes_;
^
/usr/include/opencv2/legacy/legacy.hpp:2075:5: error: โvectorโ does not name a type
vector leaf_counts_;
^
/usr/include/opencv2/legacy/legacy.hpp:2145:16: error: โvectorโ has not been declared
void train(vector const& base_set,
^
/usr/include/opencv2/legacy/legacy.hpp:2145:22: error: expected โ,โ or โ...โ before โ<โ token
void train(vector const& base_set,
^
/usr/include/opencv2/legacy/legacy.hpp:2152:16: error: โvectorโ has not been declared
void train(vector const& base_set,
^
/usr/include/opencv2/legacy/legacy.hpp:2152:22: error: expected โ,โ or โ...โ before โ<โ token
void train(vector const& base_set,
^
/usr/include/opencv2/legacy/legacy.hpp:2152:10: error: โvoid cv::RTreeClassifier::train(int)โ cannot be overloaded
void train(vector const& base_set,
^
/usr/include/opencv2/legacy/legacy.hpp:2145:10: error: with โvoid cv::RTreeClassifier::train(int)โ
void train(vector const& base_set,
^
/usr/include/opencv2/legacy/legacy.hpp:2189:5: error: โvectorโ does not name a type
vector trees_;
^
/usr/include/opencv2/legacy/legacy.hpp:2359:5: error: โstringโ does not name a type
string m_feature_name; // the name of the feature associated with the descriptor
^
/usr/include/opencv2/legacy/legacy.hpp:2385:67: error: โstringโ does not name a type
OneWayDescriptorBase(CvSize patch_size, int pose_count, const string &pca_filename, const string &train_path = string(), const string &images_list = string(),
^
/usr/include/opencv2/legacy/legacy.hpp:2385:95: error: โstringโ does not name a type
OneWayDescriptorBase(CvSize patch_size, int pose_count, const string &pca_filename, const string &train_path = string(), const string &images_list = string(),
^
/usr/include/opencv2/legacy/legacy.hpp:2385:132: error: โstringโ does not name a type
OneWayDescriptorBase(CvSize patch_size, int pose_count, const string &pca_filename, const string &train_path = string(), const string &images_list = string(),
^
/usr/include/opencv2/legacy/legacy.hpp:2415:58: error: โvectorโ does not name a type
void CreateDescriptorsFromImage(IplImage* src, const vector& features);
^
/usr/include/opencv2/legacy/legacy.hpp:2415:64: error: expected โ,โ or โ...โ before โ<โ token
void CreateDescriptorsFromImage(IplImage* src, const vector& features);
^
/usr/include/opencv2/legacy/legacy.hpp:2439:49: error: โvectorโ has not been declared
void FindDescriptor(IplImage* patch, int n, vector& desc_idxs, vector& pose_idxs,
^
/usr/include/opencv2/legacy/legacy.hpp:2439:55: error: expected โ,โ or โ...โ before โ<โ token
void FindDescriptor(IplImage* patch, int n, vector& desc_idxs, vector& pose_idxs,
^
/usr/include/opencv2/legacy/legacy.hpp:2468:61: error: โvectorโ does not name a type
void InitializeDescriptors(IplImage* train_image, const vector& features,
^
/usr/include/opencv2/legacy/legacy.hpp:2468:67: error: expected โ,โ or โ...โ before โ<โ token
void InitializeDescriptors(IplImage* train_image, const vector& features,
^
/usr/include/opencv2/legacy/legacy.hpp:2519:12: error: โstringโ does not name a type
static string GetPCAFilename () { return "pca.yml"; }
^
/usr/include/opencv2/legacy/legacy.hpp:2385:123: error: โstringโ was not declared in this scope
OneWayDescriptorBase(CvSize patch_size, int pose_count, const string &pca_filename, const string &train_path = string(), const string &images_list = string(),
^
/usr/include/opencv2/legacy/legacy.hpp:2385:123: note: suggested alternative:
In file included from /usr/include/c++/4.8/iosfwd:39:0,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/sstream:38,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/mrpt_macros.h:14,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/core_defs.h:15,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/utils_defs.h:13,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/CImage.h:12,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:12:
/usr/include/c++/4.8/bits/stringfwd.h:62:33: note: โstd::stringโ
typedef basic_string string;
^
In file included from /home/romulo/mrpt-git/libs/base/include/mrpt/otherlibs/do_opencv_includes.h:42:0,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:16:
/usr/include/opencv2/legacy/legacy.hpp:2385:161: error: โstringโ was not declared in this scope
OneWayDescriptorBase(CvSize patch_size, int pose_count, const string &pca_filename, const string &train_path = string(), const string &images_list = string(),
^
/usr/include/opencv2/legacy/legacy.hpp:2385:161: note: suggested alternative:
In file included from /usr/include/c++/4.8/iosfwd:39:0,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/sstream:38,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/mrpt_macros.h:14,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/core_defs.h:15,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/utils_defs.h:13,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/CImage.h:12,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:12:
/usr/include/c++/4.8/bits/stringfwd.h:62:33: note: โstd::stringโ
typedef basic_string string;
^
In file included from /home/romulo/mrpt-git/libs/base/include/mrpt/otherlibs/do_opencv_includes.h:42:0,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:16:
/usr/include/opencv2/legacy/legacy.hpp:2571:69: error: โstringโ does not name a type
OneWayDescriptorObject(CvSize patch_size, int pose_count, const string &pca_filename,
^
/usr/include/opencv2/legacy/legacy.hpp:2572:34: error: โstringโ does not name a type
const string &train_path = string (), const string &images_list = string (),
^
/usr/include/opencv2/legacy/legacy.hpp:2572:72: error: โstringโ does not name a type
const string &train_path = string (), const string &images_list = string (),
^
/usr/include/opencv2/legacy/legacy.hpp:2584:35: error: โvectorโ does not name a type
void SetLabeledFeatures(const vector& features) {m_train_features = features;};
^
/usr/include/opencv2/legacy/legacy.hpp:2584:41: error: expected โ,โ or โ...โ before โ<โ token
void SetLabeledFeatures(const vector& features) {m_train_features = features;};
^
/usr/include/opencv2/legacy/legacy.hpp:2585:5: error: โvectorโ does not name a type
vector& GetLabeledFeatures() {return m_train_features;};
^
/usr/include/opencv2/legacy/legacy.hpp:2586:11: error: โvectorโ does not name a type
const vector& GetLabeledFeatures() const {return m_train_features;};
^
/usr/include/opencv2/legacy/legacy.hpp:2587:5: error: โvectorโ does not name a type
vector GetLabeledFeatures() const;
^
/usr/include/opencv2/legacy/legacy.hpp:2600:67: error: โvectorโ does not name a type
void InitializeObjectDescriptors(IplImage* train_image, const vector& features,
^
/usr/include/opencv2/legacy/legacy.hpp:2600:73: error: expected โ,โ or โ...โ before โ<โ token
void InitializeObjectDescriptors(IplImage* train_image, const vector& features,
^
/usr/include/opencv2/legacy/legacy.hpp:2609:5: error: โvectorโ does not name a type
vector m_train_features; // train features
^
/usr/include/opencv2/legacy/legacy.hpp:2572:63: error: โstringโ was not declared in this scope
const string &train_path = string (), const string &images_list = string (),
^
/usr/include/opencv2/legacy/legacy.hpp:2572:63: note: suggested alternative:
In file included from /usr/include/c++/4.8/iosfwd:39:0,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/sstream:38,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/mrpt_macros.h:14,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/core_defs.h:15,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/utils_defs.h:13,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/CImage.h:12,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:12:
/usr/include/c++/4.8/bits/stringfwd.h:62:33: note: โstd::stringโ
typedef basic_string string;
^
In file included from /home/romulo/mrpt-git/libs/base/include/mrpt/otherlibs/do_opencv_includes.h:42:0,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:16:
/usr/include/opencv2/legacy/legacy.hpp:2572:102: error: โstringโ was not declared in this scope
const string &train_path = string (), const string &images_list = string (),
^
/usr/include/opencv2/legacy/legacy.hpp:2572:102: note: suggested alternative:
In file included from /usr/include/c++/4.8/iosfwd:39:0,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/sstream:38,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/mrpt_macros.h:14,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/core_defs.h:15,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/utils_defs.h:13,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/CImage.h:12,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:12:
/usr/include/c++/4.8/bits/stringfwd.h:62:33: note: โstd::stringโ
typedef basic_string string;
^
In file included from /home/romulo/mrpt-git/libs/base/include/mrpt/otherlibs/do_opencv_includes.h:42:0,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:16:
/usr/include/opencv2/legacy/legacy.hpp: In member function โvoid cv::OneWayDescriptorObject::SetLabeledFeatures(int)โ:
/usr/include/opencv2/legacy/legacy.hpp:2584:64: error: โm_train_featuresโ was not declared in this scope
void SetLabeledFeatures(const vector& features) {m_train_features = features;};
^
/usr/include/opencv2/legacy/legacy.hpp:2584:83: error: โfeaturesโ was not declared in this scope
void SetLabeledFeatures(const vector& features) {m_train_features = features;};
^
/usr/include/opencv2/legacy/legacy.hpp: At global scope:
/usr/include/opencv2/legacy/legacy.hpp:2622:1: error: expected class-name before โ{โ token
{
^
/usr/include/opencv2/legacy/legacy.hpp:2636:16: error: โstringโ has not been declared
string pcaFilename = string(),
^
/usr/include/opencv2/legacy/legacy.hpp:2637:16: error: โstringโ has not been declared
string trainPath = string(), string trainImagesList = string(),
^
/usr/include/opencv2/legacy/legacy.hpp:2637:45: error: โstringโ has not been declared
string trainPath = string(), string trainImagesList = string(),
^
/usr/include/opencv2/legacy/legacy.hpp:2643:9: error: โstringโ does not name a type
string pcaFilename;
^
/usr/include/opencv2/legacy/legacy.hpp:2644:9: error: โstringโ does not name a type
string trainPath;
^
/usr/include/opencv2/legacy/legacy.hpp:2645:9: error: โstringโ does not name a type
string trainImagesList;
^
/usr/include/opencv2/legacy/legacy.hpp:2667:17: error: โGenericDescriptorMatcherโ was not declared in this scope
virtual Ptr clone( bool emptyTrainData=false ) const;
^
/usr/include/opencv2/legacy/legacy.hpp:2667:41: error: template argument 1 is invalid
virtual Ptr clone( bool emptyTrainData=false ) const;
^
/usr/include/opencv2/legacy/legacy.hpp:2676:55: error: โvectorโ has not been declared
virtual void knnMatchImpl( const Mat& queryImage, vector& queryKeypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:2676:61: error: expected โ,โ or โ...โ before โ<โ token
virtual void knnMatchImpl( const Mat& queryImage, vector& queryKeypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:2679:58: error: โvectorโ has not been declared
virtual void radiusMatchImpl( const Mat& queryImage, vector& queryKeypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:2679:64: error: expected โ,โ or โ...โ before โ<โ token
virtual void radiusMatchImpl( const Mat& queryImage, vector& queryKeypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:2636:44: error: โstringโ was not declared in this scope
string pcaFilename = string(),
^
/usr/include/opencv2/legacy/legacy.hpp:2636:44: note: suggested alternative:
In file included from /usr/include/c++/4.8/iosfwd:39:0,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/sstream:38,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/mrpt_macros.h:14,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/core_defs.h:15,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/utils_defs.h:13,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/CImage.h:12,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:12:
/usr/include/c++/4.8/bits/stringfwd.h:62:33: note: โstd::stringโ
typedef basic_string string;
^
In file included from /home/romulo/mrpt-git/libs/base/include/mrpt/otherlibs/do_opencv_includes.h:42:0,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:16:
/usr/include/opencv2/legacy/legacy.hpp:2637:42: error: โstringโ was not declared in this scope
string trainPath = string(), string trainImagesList = string(),
^
/usr/include/opencv2/legacy/legacy.hpp:2637:42: note: suggested alternative:
In file included from /usr/include/c++/4.8/iosfwd:39:0,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/sstream:38,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/mrpt_macros.h:14,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/core_defs.h:15,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/utils_defs.h:13,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/CImage.h:12,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:12:
/usr/include/c++/4.8/bits/stringfwd.h:62:33: note: โstd::stringโ
typedef basic_string string;
^
In file included from /home/romulo/mrpt-git/libs/base/include/mrpt/otherlibs/do_opencv_includes.h:42:0,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:16:
/usr/include/opencv2/legacy/legacy.hpp:2637:77: error: โstringโ was not declared in this scope
string trainPath = string(), string trainImagesList = string(),
^
/usr/include/opencv2/legacy/legacy.hpp:2637:77: note: suggested alternative:
In file included from /usr/include/c++/4.8/iosfwd:39:0,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/sstream:38,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/mrpt_macros.h:14,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/core_defs.h:15,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/utils_defs.h:13,
from /home/romulo/mrpt-git/libs/base/include/mrpt/utils/CImage.h:12,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:12:
/usr/include/c++/4.8/bits/stringfwd.h:62:33: note: โstd::stringโ
typedef basic_string string;
^
In file included from /home/romulo/mrpt-git/libs/base/include/mrpt/otherlibs/do_opencv_includes.h:42:0,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:16:
/usr/include/opencv2/legacy/legacy.hpp:2650:58: error: call to โcv::OneWayDescriptorMatcher::Params::Params(int, cv::Size, int, int, int, float, float, float)โ uses the default argument for parameter 3, which is not yet defined
OneWayDescriptorMatcher( const Params& params=Params() );
^
/usr/include/opencv2/legacy/legacy.hpp:2650:58: error: call to โcv::OneWayDescriptorMatcher::Params::Params(int, cv::Size, int, int, int, float, float, float)โ uses the default argument for parameter 4, which is not yet defined
/usr/include/opencv2/legacy/legacy.hpp:2650:58: error: call to โcv::OneWayDescriptorMatcher::Params::Params(int, cv::Size, int, int, int, float, float, float)โ uses the default argument for parameter 5, which is not yet defined
/usr/include/opencv2/legacy/legacy.hpp:2695:1: error: expected class-name before โ{โ token
{
^
/usr/include/opencv2/legacy/legacy.hpp:2709:23: error: โstringโ does not name a type
Params( const string& filename );
^
/usr/include/opencv2/legacy/legacy.hpp:2720:9: error: โstringโ does not name a type
string filename;
^
/usr/include/opencv2/legacy/legacy.hpp:2736:17: error: โGenericDescriptorMatcherโ was not declared in this scope
virtual Ptr clone( bool emptyTrainData=false ) const;
^
/usr/include/opencv2/legacy/legacy.hpp:2736:41: error: template argument 1 is invalid
virtual Ptr clone( bool emptyTrainData=false ) const;
^
/usr/include/opencv2/legacy/legacy.hpp:2739:55: error: โvectorโ has not been declared
virtual void knnMatchImpl( const Mat& queryImage, vector& queryKeypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:2739:61: error: expected โ,โ or โ...โ before โ<โ token
virtual void knnMatchImpl( const Mat& queryImage, vector& queryKeypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:2742:58: error: โvectorโ has not been declared
virtual void radiusMatchImpl( const Mat& queryImage, vector& queryKeypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:2742:64: error: expected โ,โ or โ...โ before โ<โ token
virtual void radiusMatchImpl( const Mat& queryImage, vector& queryKeypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:2748:70: error: โvectorโ has not been declared
float& bestProb, int& bestMatchIdx, vector& signature );
^
/usr/include/opencv2/legacy/legacy.hpp:2748:76: error: expected โ,โ or โ...โ before โ<โ token
float& bestProb, int& bestMatchIdx, vector& signature );
^
/usr/include/opencv2/legacy/legacy.hpp:2762:40: error: โstringโ does not name a type
CalonderDescriptorExtractor( const string& classifierFile );
^
/usr/include/opencv2/legacy/legacy.hpp:2773:49: error: โvectorโ has not been declared
virtual void computeImpl( const Mat& image, vector& keypoints, Mat& descriptors ) const;
^
/usr/include/opencv2/legacy/legacy.hpp:2773:55: error: expected โ,โ or โ...โ before โ<โ token
virtual void computeImpl( const Mat& image, vector& keypoints, Mat& descriptors ) const;
^
/usr/include/opencv2/legacy/legacy.hpp:2780:1: error: prototype for โcv::CalonderDescriptorExtractor::CalonderDescriptorExtractor(const string&)โ does not match any in class โcv::CalonderDescriptorExtractorโ
CalonderDescriptorExtractor::CalonderDescriptorExtractor(const std::string& classifier_file)
^
/usr/include/opencv2/legacy/legacy.hpp:2762:5: error: candidate is: cv::CalonderDescriptorExtractor::CalonderDescriptorExtractor(const int&)
CalonderDescriptorExtractor( const string& classifierFile );
^
/usr/include/opencv2/legacy/legacy.hpp:2787:50: error: โvectorโ has not been declared
vector& keypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:2787:56: error: expected โ,โ or โ...โ before โ<โ token
vector& keypoints,
^
/usr/include/opencv2/legacy/legacy.hpp: In member function โvirtual void cv::CalonderDescriptorExtractor::computeImpl(const cv::Mat&, int) constโ:
/usr/include/opencv2/legacy/legacy.hpp:2791:39: error: โkeypointsโ was not declared in this scope
KeyPointsFilter::runByImageBorder(keypoints, image.size(), BORDER_SIZE);
^
/usr/include/opencv2/legacy/legacy.hpp:2794:5: error: โdescriptorsโ was not declared in this scope
descriptors.create((int)keypoints.size(), classifier.classes(), cv::DataType::type);
^
/usr/include/opencv2/legacy/legacy.hpp:2802:58: error: expected primary-expression before โ>โ token
classifier_.getSignature( &ipl, descriptors.ptr((int)i));
^
/usr/include/opencv2/legacy/legacy.hpp: In member function โvirtual bool cv::CalonderDescriptorExtractor::empty() constโ:
/usr/include/opencv2/legacy/legacy.hpp:2817:24: error: โconst class cv::RTreeClassifierโ has no member named โtrees_โ
return classifier_.trees_.empty();
^
/usr/include/opencv2/legacy/legacy.hpp: At global scope:
/usr/include/opencv2/legacy/legacy.hpp:2841:32: error: โvectorโ does not name a type
PlanarObjectDetector(const vector& pyr, int npoints=300,
^
/usr/include/opencv2/legacy/legacy.hpp:2841:38: error: expected โ,โ or โ...โ before โ<โ token
PlanarObjectDetector(const vector& pyr, int npoints=300,
^
/usr/include/opencv2/legacy/legacy.hpp:2849:30: error: โvectorโ does not name a type
virtual void train(const vector& pyr, int npoints=300,
^
/usr/include/opencv2/legacy/legacy.hpp:2849:36: error: expected โ,โ or โ...โ before โ<โ token
virtual void train(const vector& pyr, int npoints=300,
^
/usr/include/opencv2/legacy/legacy.hpp:2856:30: error: โvectorโ does not name a type
virtual void train(const vector& pyr, const vector& keypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:2856:36: error: expected โ,โ or โ...โ before โ<โ token
virtual void train(const vector& pyr, const vector& keypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:2856:18: error: โvirtual void cv::PlanarObjectDetector::train(int)โ cannot be overloaded
virtual void train(const vector& pyr, const vector& keypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:2849:18: error: with โvirtual void cv::PlanarObjectDetector::train(int)โ
virtual void train(const vector& pyr, int npoints=300,
^
/usr/include/opencv2/legacy/legacy.hpp:2864:5: error: โvectorโ does not name a type
vector getModelPoints() const;
^
/usr/include/opencv2/legacy/legacy.hpp:2871:61: error: โvectorโ has not been declared
bool operator()(const Mat& image, CV_OUT Mat& H, CV_OUT vector& corners) const;
^
/usr/include/opencv2/legacy/legacy.hpp:2871:67: error: expected โ,โ or โ...โ before โ<โ token
bool operator()(const Mat& image, CV_OUT Mat& H, CV_OUT vector& corners) const;
^
/usr/include/opencv2/legacy/legacy.hpp:2872:27: error: โvectorโ does not name a type
bool operator()(const vector& pyr, const vector& keypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:2872:33: error: expected โ,โ or โ...โ before โ<โ token
bool operator()(const vector& pyr, const vector& keypoints,
^
/usr/include/opencv2/legacy/legacy.hpp:2879:5: error: โvectorโ does not name a type
vector modelPoints;
^
/usr/include/opencv2/legacy/legacy.hpp:2927:38: error: variable or field โcvInitSubdivDelaunay2Dโ declared void
CVAPI(void) cvInitSubdivDelaunay2D( CvSubdiv2D* subdiv, CvRect rect );
^
/usr/include/opencv2/legacy/legacy.hpp:2927:38: error: โCvSubdiv2Dโ was not declared in this scope
/usr/include/opencv2/legacy/legacy.hpp:2927:50: error: โsubdivโ was not declared in this scope
CVAPI(void) cvInitSubdivDelaunay2D( CvSubdiv2D* subdiv, CvRect rect );
^
/usr/include/opencv2/legacy/legacy.hpp:2927:65: error: expected primary-expression before โrectโ
CVAPI(void) cvInitSubdivDelaunay2D( CvSubdiv2D* subdiv, CvRect rect );
^
In file included from /opt/ros/indigo/include/opencv2/core/core_c.h:48:0,
from /home/romulo/mrpt-git/libs/base/include/mrpt/otherlibs/do_opencv_includes.h:29,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:16:
/usr/include/opencv2/legacy/legacy.hpp:2930:1: error: โCvSubdiv2Dโ does not name a type
CVAPI(CvSubdiv2D) cvCreateSubdiv2D( int subdiv_type, int header_size,
^
In file included from /home/romulo/mrpt-git/libs/base/include/mrpt/otherlibs/do_opencv_includes.h:42:0,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:16:
/usr/include/opencv2/legacy/legacy.hpp:2937:12: error: โCvSubdiv2Dโ does not name a type
CV_INLINE CvSubdiv2D cvCreateSubdivDelaunay2D( CvRect rect, CvMemStorage* storage )
^
In file included from /opt/ros/indigo/include/opencv2/core/core_c.h:48:0,
from /home/romulo/mrpt-git/libs/base/include/mrpt/otherlibs/do_opencv_includes.h:29,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:16:
/usr/include/opencv2/legacy/legacy.hpp:2948:1: error: โCvSubdiv2DPointโ does not name a type
CVAPI(CvSubdiv2DPoint) cvSubdivDelaunay2DInsert( CvSubdiv2D subdiv, CvPoint2D32f pt);
^
/usr/include/opencv2/legacy/legacy.hpp:2953:1: error: โCvSubdiv2DPointLocationโ does not name a type
CVAPI(CvSubdiv2DPointLocation) cvSubdiv2DLocate(
^
In file included from /home/romulo/mrpt-git/libs/base/include/mrpt/otherlibs/do_opencv_includes.h:42:0,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:16:
/usr/include/opencv2/legacy/legacy.hpp:2959:37: error: variable or field โcvCalcSubdivVoronoi2Dโ declared void
CVAPI(void) cvCalcSubdivVoronoi2D( CvSubdiv2D* subdiv );
^
/usr/include/opencv2/legacy/legacy.hpp:2959:37: error: โCvSubdiv2Dโ was not declared in this scope
/usr/include/opencv2/legacy/legacy.hpp:2959:49: error: โsubdivโ was not declared in this scope
CVAPI(void) cvCalcSubdivVoronoi2D( CvSubdiv2D* subdiv );
^
/usr/include/opencv2/legacy/legacy.hpp:2963:38: error: variable or field โcvClearSubdivVoronoi2Dโ declared void
CVAPI(void) cvClearSubdivVoronoi2D( CvSubdiv2D* subdiv );
^
/usr/include/opencv2/legacy/legacy.hpp:2963:38: error: โCvSubdiv2Dโ was not declared in this scope
/usr/include/opencv2/legacy/legacy.hpp:2963:50: error: โsubdivโ was not declared in this scope
CVAPI(void) cvClearSubdivVoronoi2D( CvSubdiv2D* subdiv );
^
In file included from /opt/ros/indigo/include/opencv2/core/core_c.h:48:0,
from /home/romulo/mrpt-git/libs/base/include/mrpt/otherlibs/do_opencv_includes.h:29,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:16:
/usr/include/opencv2/legacy/legacy.hpp:2967:1: error: โCvSubdiv2DPointโ does not name a type
CVAPI(CvSubdiv2DPoint) cvFindNearestPoint2D( CvSubdiv2D_ subdiv, CvPoint2D32f pt );
^
In file included from /home/romulo/mrpt-git/libs/base/include/mrpt/otherlibs/do_opencv_includes.h:42:0,
from /home/romulo/mrpt-git/libs/base/src/utils/CImage_JPEG_streams.cpp:16:
/usr/include/opencv2/legacy/legacy.hpp:2972:12: error: โCvSubdiv2DEdgeโ does not name a type
CV_INLINE CvSubdiv2DEdge cvSubdiv2DNextEdge( CvSubdiv2DEdge edge )
^
/usr/include/opencv2/legacy/legacy.hpp:2978:12: error: โCvSubdiv2DEdgeโ does not name a type
CV_INLINE CvSubdiv2DEdge cvSubdiv2DRotateEdge( CvSubdiv2DEdge edge, int rotate )
^
/usr/include/opencv2/legacy/legacy.hpp:2983:12: error: โCvSubdiv2DEdgeโ does not name a type
CV_INLINE CvSubdiv2DEdge cvSubdiv2DSymEdge( CvSubdiv2DEdge edge )
^
/usr/include/opencv2/legacy/legacy.hpp:2988:12: error: โCvSubdiv2DEdgeโ does not name a type
CV_INLINE CvSubdiv2DEdge cvSubdiv2DGetEdge( CvSubdiv2DEdge edge, CvNextEdgeType type )
^
/usr/include/opencv2/legacy/legacy.hpp:2996:12: error: โCvSubdiv2DPointโ does not name a type
CV_INLINE CvSubdiv2DPoint* cvSubdiv2DEdgeOrg( CvSubdiv2DEdge edge )
^
/usr/include/opencv2/legacy/legacy.hpp:3003:12: error: โCvSubdiv2DPointโ does not name a type
CV_INLINE CvSubdiv2DPoint* cvSubdiv2DEdgeDst( CvSubdiv2DEdge edge )
^
/usr/include/opencv2/legacy/legacy.hpp:3014:29: error: variable or field โicvDrawMosaicโ declared void
CVAPI(void) icvDrawMosaic( CvSubdiv2D* subdiv, IplImage* src, IplImage* dst );
^
/usr/include/opencv2/legacy/legacy.hpp:3014:29: error: โCvSubdiv2Dโ was not declared in this scope
/usr/include/opencv2/legacy/legacy.hpp:3014:41: error: โsubdivโ was not declared in this scope
CVAPI(void) icvDrawMosaic( CvSubdiv2D* subdiv, IplImage* src, IplImage* dst );
^
/usr/include/opencv2/legacy/legacy.hpp:3014:57: error: expected primary-expression before โโ token
CVAPI(void) icvDrawMosaic( CvSubdiv2D subdiv, IplImage* src, IplImage* dst );
^
/usr/include/opencv2/legacy/legacy.hpp:3014:59: error: โsrcโ was not declared in this scope
CVAPI(void) icvDrawMosaic( CvSubdiv2D* subdiv, IplImage* src, IplImage* dst );
^
/usr/include/opencv2/legacy/legacy.hpp:3014:72: error: expected primary-expression before โโ token
CVAPI(void) icvDrawMosaic( CvSubdiv2D subdiv, IplImage* src, IplImage* dst );
^
/usr/include/opencv2/legacy/legacy.hpp:3014:74: error: โdstโ was not declared in this scope
CVAPI(void) icvDrawMosaic( CvSubdiv2D* subdiv, IplImage* src, IplImage* dst );
^
/usr/include/opencv2/legacy/legacy.hpp:3018:32: error: โCvSubdiv2Dโ was not declared in this scope
CVAPI(int) icvSubdiv2DCheck( CvSubdiv2D* subdiv );
^
/usr/include/opencv2/legacy/legacy.hpp:3018:44: error: โsubdivโ was not declared in this scope
CVAPI(int) icvSubdiv2DCheck( CvSubdiv2D* subdiv );
^
make[2]: *** [libs/base/CMakeFiles/mrpt-base.dir/src/utils/CImage_JPEG_streams.cpp.o] Error 1
make[1]: *** [libs/base/CMakeFiles/mrpt-base.dir/all] Error 2
make: *** [all] Error 2
How I can fix it?