Compiling custom ROS2 package

asked 2021-11-09 12:00:38 -0500

xander-m2k gravatar image

updated 2021-11-09 12:01:45 -0500

I am compiling a binary for a custom ROS2 Foxy package but I am encountering the following error:

no dependency information found for /opt/ros/foxy/fastrtps/lib/libfastrtps.so.2 (libfastrtps.so.2 does exist)
The same file also exists in /opt/ros/foxy/lib. (the file was blue highlighted, so I think that makes it a symlink)

This is what the build fails on, and I found a workaround on StackOverflow, namely: https://stackoverflow.com/questions/1...

This does not seem like the way to correctly solve this problem. Does anyone have an idea?

edit retag flag offensive close merge delete

Comments

Please describe how you installed ROS, with a link to the instructions you followed, and post the complete output of colcon build. If possible, also post your source code.

Geoff gravatar image Geoff  ( 2021-11-09 16:57:55 -0500 )edit