You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 */
| ^~~~
The text was updated successfully, but these errors were encountered:
piluohong
changed the title
Melodic and Noetic are all meeting this project. Like the followings:
Melodic and Noetic are all meeting this problem. Like the followings:
May 29, 2024
I have the same situation and error using ubuntu 20.04 and ros noetic.
ROS's PCL is 1.10. under /usr/include/pcl-1.10
I install PCL 1.14.0 by source code under /usr/local/include/pcl-1.14
The problem is ROS noetic and its packages need 1.10 and COCO-LIC higher than 1.10
However, in this repo README it says "tested with noetic"
@MGforest@piluohong You can move pcl-1.10 at /usr/include to somewhere for backup, and rm pcl-1.10.
The reason is pcl-1.10 in /usr/include and pcl-1.13.0 in /usr/local/include have conflict when compiled.
@MGforest@piluohong You can move pcl-1.10 at /usr/include to somewhere for backup, and rm pcl-1.10. The reason is pcl-1.10 in /usr/include and pcl-1.13.0 in /usr/local/include have conflict when compiled.
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 */
| ^~~~
The text was updated successfully, but these errors were encountered: