Adjust RPATH for cross-compilation target
Hi all,
right now I'm successfully using eros to build ROS nodes for my gumstix hardware, but there is only one minor issue:
ROS host installation is located here: /home/phil/ros/cturtle
ROS target installation is located here: /opt/ros/cturtle
Now I've got the problem of not finding ROS related dynamic libraries when executing the nodes on my target. All RPATHs in my binaries refer to /home/phil/ros/cturtle instead of /opt/ros/cturtle. Is there any convenient way of setting a different RPATH prefix during cross-compilation instead of adding all local lib/ directories within the ROS tree on the target system? I'm not too familiar with the ROS build system nor am I with cmake in general. That's the reason why I bother to ask here ;)
Any feedback is much appreciated!
Cheers Phil