ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Currently, the support for crosscompiling ROS is limited. You will encounter multiple packages where you need to adapt the buildprocess, such that hard-coded paths don't get populated to the cmake configuration files.
The specific error you're having might be related to the fact, that you have testing enabled ('-- Found gtest sources under '/usr/src/gtest': gtests will be built'). In my crosscompiled builds this lead to failure because paths on the host system where being included. Note that this was a year ago, the behavior might have changed since then.
However, enabling the tests does not make sense in a crosscompiled build anyway, since you can't test the binaries on the build-platform.
In order to disable the tests, pass or set CATKIN_ENABLE_TESTING=Off
.