catkin_make error
TCoder24 opened this issue · comments
/hdl_localization/apps/hdl_localization_nodelet.cpp:529:8: error: ‘atomic_bool’ in namespace ‘std’ does not name a type
std::atomic_bool relocalizing;
when I run catkin_make I met this error
no matching function for call to ‘transformPointCloud(std::__cxx11::string&, pcl::PointCloud<pcl::PointXYZI>&, pcl::PointCloud<pcl::PointXYZI>&, tf2_ros::Buffer&)’ if(!pcl_ros::transformPointCloud(odom_child_frame_id, *pcl_cloud, *cloud, this->tf_buffer))
when I run catkin_make to compile the file: hdl_localization_nodelet.cpp, I met this error. Is there somebody can tell me how to solve the problem?
/hdl_localization/apps/hdl_localization_nodelet.cpp:529:8: error: ‘atomic_bool’ in namespace ‘std’ does not name a type
std::atomic_bool relocalizing;when I run catkin_make I met this error
Hi Jed-t, you can try to add the follow code in the CMakeList.txt in the hdl_localization package.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
no matching function for call to ‘transformPointCloud(std::__cxx11::string&, pcl::PointCloud<pcl::PointXYZI>&, pcl::PointCloud<pcl::PointXYZI>&, tf2_ros::Buffer&)’ if(!pcl_ros::transformPointCloud(odom_child_frame_id, *pcl_cloud, *cloud, this->tf_buffer))
when I run catkin_make to compile the file: hdl_localization_nodelet.cpp, I met this error. Is there somebody can tell me how to solve the problem?
no matching function for call to ‘transformPointCloud(std::__cxx11::string&, pcl::PointCloud<pcl::PointXYZI>&, pcl::PointCloud<pcl::PointXYZI>&, tf2_ros::Buffer&)’ if(!pcl_ros::transformPointCloud(odom_child_frame_id, *pcl_cloud, *cloud, this->tf_buffer))
when I run catkin_make to compile the file: hdl_localization_nodelet.cpp, I met this error. Is there somebody can tell me how to solve the problem?
i have tried before,and i also met the same problem as yours,,,,,,don't know how to solve it.
no matching function for call to ‘transformPointCloud(std::__cxx11::string&, pcl::PointCloud<pcl::PointXYZI>&, pcl::PointCloud<pcl::PointXYZI>&, tf2_ros::Buffer&)’ if(!pcl_ros::transformPointCloud(odom_child_frame_id, *pcl_cloud, *cloud, this->tf_buffer))
when I run catkin_make to compile the file: hdl_localization_nodelet.cpp, I met this error. Is there somebody can tell me how to solve the problem?i have tried before,and i also met the same problem as yours,,,,,,don't know how to solve it.
@Jed-t Do you compile in ubuntu16.04 and ros-kinetic?
no matching function for call to ‘transformPointCloud(std::__cxx11::string&, pcl::PointCloud<pcl::PointXYZI>&, pcl::PointCloud<pcl::PointXYZI>&, tf2_ros::Buffer&)’ if(!pcl_ros::transformPointCloud(odom_child_frame_id, *pcl_cloud, *cloud, this->tf_buffer))
when I run catkin_make to compile the file: hdl_localization_nodelet.cpp, I met this error. Is there somebody can tell me how to solve the problem?i have tried before,and i also met the same problem as yours,,,,,,don't know how to solve it.
@Jed-t Do you compile in ubuntu16.04 and ros-kinetic?
yes,does it work on 20.04?
does it work on 20.04?
I'm don't know whether it works on 20.04. I use 16.04.[doge]
@Jed-t, hope this help.