Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using the proto file as the message to publish #13

Open
Amazingmum opened this issue May 31, 2022 · 3 comments
Open

using the proto file as the message to publish #13

Amazingmum opened this issue May 31, 2022 · 3 comments

Comments

@Amazingmum
Copy link

Amazingmum commented May 31, 2022

Starting >>> rosidl_adapter_proto
Starting >>> rosidl_typesupport_protobuf
Starting >>> conti_radar
Finished <<< rosidl_adapter_proto [0.39s]
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<conti_radar::drivers::ContiRadar>()’未定义的引用
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

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

@FlorianReimold
Copy link
Member

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

@Amazingmum
Copy link
Author

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

@FlorianReimold
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants