koide3 / fast_gicp

A collection of GICP-based fast point cloud registration algorithms
BSD 3-Clause "New" or "Revised" License
1.24k stars 316 forks source link

implementation of a function not found error #24

Open RajathSwaroop opened 4 years ago

RajathSwaroop commented 4 years ago

/home/rajath/libraries/fast_gicp/include/fast_gicp/gicp/impl/fast_gicp_st_impl.hpp:73:24: error: no matching function for call to ‘fast_gicp::FastGICPSingleThread<pcl::PointXYZ, pcl::PointXYZ>::calculate_covariances(const PointCloudSourceConstPtr&, pcl::search::KdTree<pcl::PointXYZ, pcl::KdTreeFLANN<pcl::PointXYZ, flann::L2_Simple > >&, std::vector<Eigen::Matrix<float, 4, 4>, Eigen::aligned_allocator<Eigen::Matrix<float, 4, 4> > >&)’ calculate_covariances(cloud, *source_kdtree, source_covs);



This is the error i keep getting when i try to do a make in the build directory. I see that the function has been declared in the header file in include but have no idea why this error keeps showing up when I compile
femust commented 3 years ago

@RajathSwaroop Just replace boost:shared_ptr and boost::make_shared with std::shared_ptr and std::make_shared