ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello Daniel,

I've spent a fair amount of time these last 2 days trying as well to cross-compile ROS for Nao.

I think your issue with roslib not finding rospack is due to the fact that the installation prefix of the various ros packages must be inside Nao's sysroot.

I've actually the same issue with log4cxx: many ROS packages fail to link because they do not find libapr, one of the dependency of log4cxx.

I could install correctly libapr in $sysroot (ie, configure with --prefix=/usr and install with make install DESTDIR=$sysroot), but I've not been able to compile libapr-util (they have a m4 macro to find libapr that is not too happy with sysroots).

How did you cross-compile log4cxx?