Compiling custom ROS2 package

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

xander-m2k gravatar image

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

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/ ( 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:

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

edit retag flag offensive close merge delete


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 -0600 )edit