Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catkin_make error #5

Open
zcb5216 opened this issue Sep 4, 2019 · 1 comment
Open

catkin_make error #5

zcb5216 opened this issue Sep 4, 2019 · 1 comment

Comments

@zcb5216
Copy link

zcb5216 commented Sep 4, 2019

Hi ,Carlos Miguel :
I have a problem about the "catkin_make",below was the result:
In file included from /home/zcb/drl/src/dynamic_robot_localization-kinetic-devel/src/cloud_filters/plane_segmentation.cpp:10:0:
/home/zcb/drl/src/dynamic_robot_localization-kinetic-devel/include/dynamic_robot_localization/cloud_filters/impl/plane_segmentation.hpp: In instantiation of ‘void dynamic_robot_localization::PlaneSegmentation::filter(const typename pcl::PointCloud::Ptr&, typename pcl::PointCloud::Ptr&) [with PointT = pcl::PointXYZRGBNormal; typename pcl::PointCloud::Ptr = boost::shared_ptr<pcl::PointCloudpcl::PointXYZRGBNormal >]’:
/home/zcb/drl/src/dynamic_robot_localization-kinetic-devel/src/cloud_filters/plane_segmentation.cpp:19:1: required from here
/home/zcb/drl/src/dynamic_robot_localization-kinetic-devel/include/dynamic_robot_localization/cloud_filters/impl/plane_segmentation.hpp:124:157: error: call of overloaded ‘transformPointCloudWithNormals(pcl::PointCloudpcl::PointXYZRGBNormal&, pcl::PointCloudpcl::PointXYZRGBNormal&, const Eigen::internal::inverse_impl<Eigen::Matrix<float, 4, 4> >)’ is ambiguous
pcl::transformPointCloudWithNormals(*convex_hull_for_projected_plane_inliers, *convex_hull_for_projected_plane_inliers, centroid_matrix.inverse());
^
/home/zcb/drl/src/dynamic_robot_localization-kinetic-devel/include/dynamic_robot_localization/cloud_filters/impl/plane_segmentation.hpp:124:157: note: candidates are:
In file included from /home/zcb/drl/src/dynamic_robot_localization-kinetic-devel/include/dynamic_robot_localization/cloud_filters/plane_segmentation.h:26:0,
from /home/zcb/drl/src/dynamic_robot_localization-kinetic-devel/include/dynamic_robot_localization/cloud_filters/impl/plane_segmentation.hpp:9,
from /home/zcb/drl/src/dynamic_robot_localization-kinetic-devel/src/cloud_filters/plane_segmentation.cpp:10:
/home/zcb/catkin_ws_drl/devel_release/include/pcl-1.8/pcl/common/transforms.h:145:3: note: void pcl::transformPointCloudWithNormals(const pcl::PointCloud&, pcl::PointCloud&, const Affine3f&, bool) [with PointT = pcl::PointXYZRGBNormal; Eigen::Affine3f = Eigen::Transform<float, 3, 2>]
transformPointCloudWithNormals (const pcl::PointCloud &cloud_in,
^
In file included from /home/zcb/drl/src/dynamic_robot_localization-kinetic-devel/include/dynamic_robot_localization/cloud_filters/plane_segmentation.h:26:0,
from /home/zcb/drl/src/dynamic_robot_localization-kinetic-devel/include/dynamic_robot_localization/cloud_filters/impl/plane_segmentation.hpp:9,
from /home/zcb/drl/src/dynamic_robot_localization-kinetic-devel/src/cloud_filters/plane_segmentation.cpp:10:
/home/zcb/catkin_ws_drl/devel_release/include/pcl-1.8/pcl/common/transforms.h:318:3: note: void pcl::transformPointCloudWithNormals(const pcl::PointCloud&, pcl::PointCloud&, const Matrix4f&, bool) [with PointT = pcl::PointXYZRGBNormal; Eigen::Matrix4f = Eigen::Matrix<float, 4, 4>]
transformPointCloudWithNormals (const pcl::PointCloud &cloud_in,
^
make[2]: *** [dynamic_robot_localization-kinetic-devel/CMakeFiles/drl_cloud_filters.dir/src/cloud_filters/plane_segmentation.cpp.o] 错误 1
make[2]: *** 正在等待未完成的任务....
make[1]: *** [dynamic_robot_localization-kinetic-devel/CMakeFiles/drl_cloud_filters.dir/all] 错误 2
make: *** [all] 错误 2

@carlosmccosta
Copy link
Owner

Good night :)

Thank you for letting me know about your compilation problem.
I recompiled drl with both catkin_tools (catkin build) and catkin_make_isolated, and did not get the error you mentioned above.
But I am using an upgraded version of gcc in Ubuntu 16 (7.4).
Please do git pull in the drl repository and let me know if the last commit solved the error you mentioned.
681b82f

Have a nice day :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants