Skip to content

Add dependencies to rosidl in CMakeLists.txt#349

Merged
pablogs9 merged 1 commit into
micro-ROS:masterfrom
braineniac:patch-1
Sep 27, 2021
Merged

Add dependencies to rosidl in CMakeLists.txt#349
pablogs9 merged 1 commit into
micro-ROS:masterfrom
braineniac:patch-1

Conversation

@braineniac

Copy link
Copy Markdown
Contributor

I followed this tutorial and without adding dependencies to rosidl, the error message:
ImportError: /home/dan/work/microros_ws/install/hw_msgs/lib/libhw_msgs__rosidl_generator_c.so: undefined symbol: std_msgs__msg__Header__fini
pops up(in my case because of std_msgs) when publishing with the agent. I had no other errors in the compilation process.

In the official tutorial it's also present:
https://docs.ros.org/en/foxy/Tutorials/Single-Package-Define-And-Use-Interface.html

I followed this tutorial and without adding dependencies to rosidl, the error message:
ImportError: /home/dan/work/microros_ws/install/hw_msgs/lib/libhw_msgs__rosidl_generator_c.so: undefined symbol: std_msgs__msg__Header__fini
pops up(in my case because of std_msgs) when publishing with the agent. I had no other errors in the compilation process.

In the official tutorial it's also present:
https://docs.ros.org/en/foxy/Tutorials/Single-Package-Define-And-Use-Interface.html
@pablogs9

Copy link
Copy Markdown
Member

@braineniac Thanks!

@pablogs9 pablogs9 self-requested a review September 27, 2021 05:36
@pablogs9 pablogs9 merged commit 2fba999 into micro-ROS:master Sep 27, 2021
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

Successfully merging this pull request may close these issues.

2 participants