moveit/moveit2

moveit_core build failed for ros2 humble

jackie-wayland opened this issue · 2 comments

Description

ROS_DISTRO=humble
git clone https://github.com/moveit/moveit2.git -b $ROS_DISTRO
for repo in moveit2/moveit2.repos $(f="moveit2/moveit2_$ROS_DISTRO.repos"; test -r $f && echo $f); do vcs import < "$repo"; done
rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y

cd $COLCON_WS
colcon build --event-handlers desktop_notification- status- --cmake-args -DCMAKE_BUILD_TYPE=Release

but:

/usr/bin/ld: libmoveit_butterworth_filter.so.2.5.5: undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [online_signal_smoothing/CMakeFiles/test_butterworth_filter.dir/build.make:286: online_signal_smoothing/test_butterworth_filter] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1342: online_signal_smoothing/CMakeFiles/test_butterworth_filter.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
gmake: *** [Makefile:146: all] Error 2
---
Failed   <<< moveit_core [1min 27s, exited with code 2]

Your environment

  • ROS Distro: Humble
  • OS Version: e.g. Ubuntu 22.04
  • Source build
  • If source, which branch? humble
    # Build the workspace
  colcon build \
          --cmake-args -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
          --ament-cmake-args -DCMAKE_BUILD_TYPE=Release

refer:

colcon build \