Compiling custom ROS2 package
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?
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.