Open Amazingmum opened 2 years ago
Hi Amazingmum,
What your log tells you is that a package conti_radar
has build issues:
1 package failed: conti_radar
[...]
1 package had stderr output: conti_radar
Regards Florian
Tks for your attention. Its just the warming,i use the glog in my code but i don't initialize some parameters. I wanna use .proto file as msg but it seems not work
I cannot read what you posted in Chinese there, so you have to interpret that yourself. But at least it says that it Failed
. So I assume it's more than just a warning? I think you should let colcon run in verbose mode to see what went wrong.
Btw, even if you end up with a working build, you may run into this runtime issue. if you are using a recent ROS version. We are still looking for help to solve it
Starting >>> rosidl_adapter_proto Starting >>> rosidl_typesupport_protobuf Starting >>> conti_radar Finished <<< rosidl_adapter_proto [0.39s]()’未定义的引用
collect2: error: ld returned 1 exit status
make[2]: [rviz_node_test] Error 1
make[1]: [CMakeFiles/rviz_node_test.dir/all] Error 2
make: *** [all] Error 2
Finished <<< rosidl_typesupport_protobuf [0.39s]
Starting >>> rosidl_typesupport_protobuf_c Starting >>> rosidl_typesupport_protobuf_cpp --- stderr: conti_radar
libconti_radar_rviz_canbus_node_lib.so:对‘rosidl_message_type_support_t const* rosidl_typesupport_cpp::get_message_type_support_handle
Failed <<< conti_radar [0.51s, exited with code 2] Aborted <<< rosidl_typesupport_protobuf_cpp [0.11s] Aborted <<< rosidl_typesupport_protobuf_c [0.14s]
Summary: 2 packages finished [1.13s] 1 package failed: conti_radar 2 packages aborted: rosidl_typesupport_protobuf_c rosidl_typesupport_protobuf_cpp 1 package had stderr output: conti_radar