Raspberry Pi3B+ install newly-released ROS2, failed in build and run
The instruction I followed was: https://index.ros.org/doc/ros2/Instal...
I ran:
colcon build \
--symlink-install \
--cmake-force-configure \
--cmake-args \
--no-warn-unused-cli \
-DCMAKE_TOOLCHAIN_FILE=`pwd`/aarch64_toolchainfile.cmake \
-DTHIRDPARTY=ON \
-DBUILD_TESTING:BOOL=OFF \
-DCMAKE_BUILD_RPATH="`pwd`/build/poco_vendor/poco_external_project_install/lib/;`pwd`/build/libyaml_vendor/libyaml_install/lib/"
and got:
Failed <<< qt_gui_cpp [ Exited with code 1 ]
Aborted <<< ros2node
Aborted <<< rosidl_typesupport_fastrtps_c
Aborted <<< rosidl_typesupport_introspection_cpp
Summary: 76 packages finished [4min 21s]
1 package failed: qt_gui_cpp
3 packages aborted: ros2node rosidl_typesupport_fastrtps_c rosidl_typesupport_introspection_cpp
5 packages had stderr output: console_bridge_vendor libyaml_vendor qt_gui_cpp ta_security_api uncrustify_vendor
93 packages not processed
then I ran:
~/ros2_ws/install/local_setup.bash
but got:
not found: "/home/yc/ros2_ws/install/ta_security_api/share/ta_security_api/local_setup.sh"
not found: "/home/yc/ros2_ws/install/ta_security_api/share/ta_security_api/local_setup.bash"
not found: "/home/yc/ros2_ws/install/ca_security_api/share/ca_security_api/local_setup.sh"
not found: "/home/yc/ros2_ws/install/ca_security_api/share/ca_security_api/local_setup.bash"
finally I ran:
ros2 run demo_nodes_cpp talker
and got:
Failed to load entry point 'launch': No module named 'lifecycle_msgs'
Failed to load entry point 'start': No module named 'rclpy'
Failed to load entry point 'status': No module named 'rclpy'
Failed to load entry point 'stop': No module named 'rclpy'
Failed to load entry point 'info': No module named 'rclpy'
Failed to load entry point 'list': No module named 'rclpy'
Failed to load entry point 'get': No module named 'rcl_interfaces'
Failed to load entry point 'delete': No module named 'rcl_interfaces'
Failed to load entry point 'set': No module named 'rcl_interfaces'
Failed to load entry point 'list': No module named 'rcl_interfaces'
Package 'demo_nodes_cpp' not found
How can I solve these problems?