fast_gicp icon indicating copy to clipboard operation
fast_gicp copied to clipboard

implementation of a function not found error

Open RajathSwaroop opened this issue 4 years ago • 1 comments

/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

RajathSwaroop avatar Sep 16 '20 18:09 RajathSwaroop

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

femust avatar Oct 08 '20 07:10 femust