Hi there!
Does somebody have experience in using a Yocto [Application Development Toolkit](http://www.yoctoproject.org/docs/1.7/adt-manual/adt-manual.html) (built with the [meta-ros](https://github.com/bmwcarit/meta-ros) layer) for cross compiling a catkin project for an embedded target? I basically would like to offload the compile process to my workstation and deploy the project by mounting the catkin `install` folder using SSHFS from my embedded system.
What I tried so far: I built [my own ADT](http://www.yoctoproject.org/docs/1.7/adt-manual/adt-manual.html#optionally-building-a-toolchain-installer), installed it on my workstation and wrote a [toolchain.cmake](https://cmake.org/cmake/help/v3.0/manual/cmake-toolchains.7.html) file pointing to the cross compiler. Then I ran catkin like that:
`catkin build -DCMAKE_TOOLCHAIN_PATH=toolchain.cmake -DCMAKE_PREFIX_PATH=/path/to/my/arm/sysroot`
The compiler is detected nicely, but lots of stuff required by catkin like EmPy and the nosetests binary are missing in the x86 sysroot. Has somebody done this already and could guide me through the necessary steps of setup? I'd be also glad for any other hints on how to cross compile a ROS project for an embedded target.
Kind regards,
Sephalon
↧