|
ubuntu 12.04
Lenovo g560
installed ros-hydro, openni
following the steps of installation by rtabmap
when i trying to compile using the command
$ make -j4
this is the result:
[ 8%] Built target rtabmap_utilite
[ 9%] Built target uresourcegenerator
[ 10%] Built target imagesJoiner
[ 11%] Built target extractObject
[ 32%] Built target rtabmap_core
[ 33%] Built target vocabularyComparison
[ 34%] Built target consoleApp
[ 34%] Built target rgbd_camera
[ 34%] Built target bow_mapping
[ 35%] Building CXX object guilib/src/CMakeFiles/rtabmap_gui.dir/CloudViewer.cpp.o
/home/srikanth/catkin_ws/rtabmaplib/guilib/src/CloudViewer.cpp: In member function ‘bool rtabmap::CloudViewer::addOccupancyGridMap(const cv::Mat&, float, float, float, float)’:
/home/srikanth/catkin_ws/rtabmaplib/guilib/src/CloudViewer.cpp:401:46: error: no matching function for call to ‘std::vector<std::vector<Eigen::Matrix<float, 2, 1>, Eigen::aligned_allocator<Eigen::Matrix<float, 2, 1> > > >::push_back(std::vector<Eigen::Matrix<float, 2, 1> >&)’
/home/srikanth/catkin_ws/rtabmaplib/guilib/src/CloudViewer.cpp:401:46: note: candidate is:
/usr/include/c++/4.6/bits/stl_vector.h:826:7: note: void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::vector<Eigen::Matrix<float, 2, 1>, Eigen::aligned_allocator<Eigen::Matrix<float, 2, 1> > >, _Alloc = std::allocator<std::vector<Eigen::Matrix<float, 2, 1>, Eigen::aligned_allocator<Eigen::Matrix<float, 2, 1> > > >, std::vector<_Tp, _Alloc>::value_type = std::vector<Eigen::Matrix<float, 2, 1>, Eigen::aligned_allocator<Eigen::Matrix<float, 2, 1> > >]
/usr/include/c++/4.6/bits/stl_vector.h:826:7: note: no known conversion for argument 1 from ‘std::vector<Eigen::Matrix<float, 2, 1> >’ to ‘const value_type& {aka const std::vector<Eigen::Matrix<float, 2, 1>, Eigen::aligned_allocator<Eigen::Matrix<float, 2, 1> > >&}’
make[2]: *** [guilib/src/CMakeFiles/rtabmap_gui.dir/CloudViewer.cpp.o] Error 1
make[1]: *** [guilib/src/CMakeFiles/rtabmap_gui.dir/all] Error 2
make: *** [all] Error 2
any one who could help is appreciated.
|