Skip to content

Melodic and Noetic are all meeting this problem. Like the followings: #8

@piluohong

Description

@piluohong

In file included from /home/h/ku/pcl-1.14-installpath/include/pcl-1.14/pcl/type_traits.h:40,
from /home/h/hong.MD.degree/cocolic_ws/src/Coco-LIC/src/spline/../utils/mypcl_cloud_type.h:21,
from /home/h/hong.MD.degree/cocolic_ws/src/Coco-LIC/src/spline/trajectory.h:24,
from /home/h/hong.MD.degree/cocolic_ws/src/Coco-LIC/src/spline/trajectory.cpp:19:
/home/h/ku/pcl-1.14-installpath/include/pcl-1.14/pcl/point_struct_traits.h:68:30: error: redefinition of ‘struct pcl::traits::decomposeArray’
68 | template struct decomposeArray
| ^~~~~~~~~~~~~~
In file included from /usr/local/include/pcl-1.10/pcl/make_shared.h:47,
from /usr/local/include/pcl-1.10/pcl/PCLHeader.h:6,
from /usr/local/include/pcl-1.10/pcl/point_cloud.h:47,
from /home/h/hong.MD.degree/cocolic_ws/src/Coco-LIC/src/spline/../utils/mypcl_cloud_type.h:20,
from /home/h/hong.MD.degree/cocolic_ws/src/Coco-LIC/src/spline/trajectory.h:24,
from /home/h/hong.MD.degree/cocolic_ws/src/Coco-LIC/src/spline/trajectory.cpp:19:
/usr/local/include/pcl-1.10/pcl/point_traits.h:99:33: note: previous definition of ‘struct pcl::traits::decomposeArray’
99 | template struct decomposeArray
| ^~~~~~~~~~~~~~
In file included from /home/h/ku/pcl-1.14-installpath/include/pcl-1.14/pcl/type_traits.h:40,
from /home/h/hong.MD.degree/cocolic_ws/src/Coco-LIC/src/spline/../utils/mypcl_cloud_type.h:21,
from /home/h/hong.MD.degree/cocolic_ws/src/Coco-LIC/src/spline/trajectory.h:24,
from /home/h/hong.MD.degree/cocolic_ws/src/Coco-LIC/src/spline/trajectory.cpp:19:
/home/h/ku/pcl-1.14-installpath/include/pcl-1.14/pcl/point_struct_traits.h:76:9: error: redefinition of ‘struct pcl::traits::POD’
76 | struct POD
| ^~~
In file included from /usr/local/include/pcl-1.10/pcl/make_shared.h:47,
from /usr/local/include/pcl-1.10/pcl/PCLHeader.h:6,
from /usr/local/include/pcl-1.10/pcl/point_cloud.h:47,
from /home/h/hong.MD.degree/cocolic_ws/src/Coco-LIC/src/spline/../utils/mypcl_cloud_type.h:20,
from /home/h/hong.MD.degree/cocolic_ws/src/Coco-LIC/src/spline/trajectory.h:24,
from /home/h/hong.MD.degree/cocolic_ws/src/Coco-LIC/src/spline/trajectory.cpp:19:
/usr/local/include/pcl-1.10/pcl/point_traits.h:107:12: note: previous definition of ‘struct pcl::traits::POD’
107 | struct POD
| ^~~
In file included from /home/h/ku/pcl-1.14-installpath/include/pcl-1.14/pcl/type_traits.h:40,
from /home/h/hong.MD.degree/cocolic_ws/src/Coco-LIC/src/spline/../utils/mypcl_cloud_type.h:21,
from /home/h/hong.MD.degree/cocolic_ws/src/Coco-LIC/src/spline/trajectory.h:24,
from /home/h/hong.MD.degree/cocolic_ws/src/Coco-LIC/src/spline/trajectory.cpp:19:
/home/h/ku/pcl-1.14-installpath/include/pcl-1.14/pcl/point_struct_traits.h:108:10: error: redefinition of default argument for ‘int dummy’
108 | struct name /** \cond NO_WARN_RECURSIVE / : name<typename POD::type, Tag, dummy> /* \endcond */
| ^~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions