/ORB_SLAM2_PointCloud/src/pointcloudmapping.cc:42:24: error: ‘make_shared’ is not a member of ‘boost’
42 | globalMap = boost::make_shared< PointCloud >( );
| ^~~~~~~~~~~
解决办法:添加
#include <boost/make_shared.hpp>
/ORB_SLAM2_PointCloud/src/pointcloudmapping.cc:42:24: error: ‘make_shared’ is not a member of ‘boost’
42 | globalMap = boost::make_shared< PointCloud >( );
| ^~~~~~~~~~~
解决办法:添加
#include <boost/make_shared.hpp>