ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Undefined reference to rosidl_typesupport_c__get_message_type support_handle__std_msgs__msg__Int32

asked 2020-02-18 14:57:42 -0500

Saeid Dehnavi gravatar image

updated 2022-10-10 17:35:11 -0500

ljaniec gravatar image

Hi, I am compiling micro-ROS crystal version and want to run the publisher demo for Int32. However, I get the following error:

undefined reference to `rosidl_typesupport_c__get_message_type_support_handle__std_msgs__msg__Int32'

I think this function should be defined somewhere but it seems that it has not been defined. Would you please tell me in which library I should find this function? Thanks

edit retag flag offensive close merge delete

Comments

You may want to post this as an issue on the appropriate micro-ros issue tracker. The intersection between micro-ros developers/users and ROS Answers frequenters is probably not very big, so it may take quite some time before you get a response here.

gvdhoorn gravatar image gvdhoorn  ( 2020-02-19 04:51:02 -0500 )edit

Thanks @gvdhoorn, but since this problem is related to the ROS typesupport which is shared between normal ROS2 and microROS, I decided to post my question here :)

Saeid Dehnavi gravatar image Saeid Dehnavi  ( 2020-02-19 10:43:04 -0500 )edit
2

@gvdhoorn I would highly recommend the micro-ros developers to watch answers.ros.org and specifically the micro-ROS tag.

Dirk Thomas gravatar image Dirk Thomas  ( 2020-02-19 11:05:47 -0500 )edit

@saeid-dehnavi I have add the micro-ROS tag to your question since the problem happens when you compile micro-ROS.

Dirk Thomas gravatar image Dirk Thomas  ( 2020-02-19 11:06:49 -0500 )edit
1

@gvdhoorn I would highly recommend the micro-ros developers to watch answers.ros.org and specifically the micro-ROS tag.

Couldn't agree more, but I'm not one of them. Nor do I talk to them often.

gvdhoorn gravatar image gvdhoorn  ( 2020-02-19 11:21:39 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2022-10-09 14:02:01 -0500

yashi gravatar image

The symbol should be in install/lib/libstd_msgs__rosidl_typesupport_c.so for humble.

$ nm install/lib/libstd_msgs__rosidl_typesupport_c.so | grep rosidl_typesupport_c__get_message_type_support_handle__std_msgs__msg__Int32
00000000000044fc T rosidl_typesupport_c__get_message_type_support_handle__std_msgs__msg__Int32
000000000000454b T rosidl_typesupport_c__get_message_type_support_handle__std_msgs__msg__Int32MultiArray
edit flag offensive delete link more
1

answered 2021-01-22 04:37:54 -0500

ralph-lange gravatar image

Does this issue still persist with newer versions (for Dashing or ideally Foxy)? We have improved the tutorials a lot in the last months. Please let us know if you face any issues with them. If you want to start with real microcontroller hardware, I recommend https://micro-ros.github.io/docs/tuto.... If you use an ESP32, the wiring is even simpler than with the Olimex STM32-E407. And, we promise to watch answers.ros.org more intensively!

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-02-18 14:57:42 -0500

Seen: 1,397 times

Last updated: Oct 10 '22