IATBOMSW / ORB-SLAM2_DENSE

ORB-SLAM2 simple point cloud and octomap mapping with ROS
Other
107 stars 24 forks source link

./build.sh报错 #5

Open molong-d opened 8 months ago

molong-d commented 8 months ago

错误 现在这一行报错
vector<PointCloude, Eigen::aligned_allocator> pointcloud;

报错如下 /home/l/slam/vslam/multiMap3D-test/ORB-SLAM2_DENSE-master/include/pointcloudmapping.h:84:75: required from here

/usr/include/c++/9/bits/stl_vector.h: In instantiation of ‘class std::vector<ORB_SLAM2::PointCloude, Eigen::aligned_allocator<Eigen::Transform<double, 3, 1> > >’: /home/l/slam/vslam/multiMap3D/src/MultiMap3D/ORB-SLAM2_DENSE-master/include/pointcloudmapping.h:85:70: required from here

/usr/include/c++/9/bits/stl_vector.h:401:64: error: static assertion failed: std::vector must have the same value_type as its allocator 401 | static_assert(is_same<typename _Alloc::value_type, _Tp>::value, | ^~~~~

这个不太清楚为什么报错,请问能否告知一下呢,感激不尽