-
Hello, I have build Autoware according to the GitHub documentation (without Docker) on an AVA Developer Platform (ARM64, no dedicated GPU). When I build with colcon, I get the following error: --- stderr: topic_tools
/usr/bin/ld: /opt/ros/galactic/lib/librcl_logging_spdlog.so: undefined reference to `spdlog::details::log_msg::log_msg(spdlog::source_loc, fmt::v6::basic_string_view<char>, spdlog::level::level_enum, fmt::v6::basic_string_view<char>)'
collect2: error: ld returned 1 exit status
/usr/bin/ld: /opt/ros/galactic/lib/librcl_logging_spdlog.so: undefined reference to `spdlog::details::log_msg::log_msg(spdlog::source_loc, fmt::v6::basic_string_view<char>, spdlog::level::level_enum, fmt::v6::basic_string_view<char>)'
collect2: error: ld returned 1 exit status
/usr/bin/ld: /opt/ros/galactic/lib/librcl_logging_spdlog.so: undefined reference to `spdlog::details::log_msg::log_msg(spdlog::source_loc, fmt::v6::basic_string_view<char>, spdlog::level::level_enum, fmt::v6::basic_string_view<char>)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/relay.dir/build.make:140: relay] Error 1
make[1]: *** [CMakeFiles/Makefile2:173: CMakeFiles/relay.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/topic_list.dir/build.make:140: topic_list] Error 1
make[1]: *** [CMakeFiles/Makefile2:338: CMakeFiles/topic_list.dir/all] Error 2
make[2]: *** [CMakeFiles/hz_checker_node.dir/build.make:140: hz_checker_node] Error 1
make[1]: *** [CMakeFiles/Makefile2:146: CMakeFiles/hz_checker_node.dir/all] Error 2
/usr/bin/ld: /opt/ros/galactic/lib/librcl_logging_spdlog.so: undefined reference to `spdlog::details::log_msg::log_msg(spdlog::source_loc, fmt::v6::basic_string_view<char>, spdlog::level::level_enum, fmt::v6::basic_string_view<char>)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/node_list.dir/build.make:140: node_list] Error 1
make[1]: *** [CMakeFiles/Makefile2:282: CMakeFiles/node_list.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
---
Failed <<< topic_tools [2.77s, exited with code 2] The Docker-based build works but is not suitable for my workflow. Thank you in advance for helping! |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 1 reply
-
It turns out I had to
and then follow the setup again. |
Beta Was this translation helpful? Give feedback.
It turns out I had to
sudo rm -rf /opt/ros/galactic/
sudo apt remove ros-galactic-*
rm -rf ~/autoware/
and then follow the setup again.
I will leave this here for people with the same problem.