Level | Advanced user | Time | 5 min |
OS | Linux only | Preparation | 2 hours |
Preparation time is given for the case you have to install Operating system and tools prior the tutorial.
Make sure you have a robot ready to use, or read the Out of the box section.
Step | Action |
---|---|
Get the cross-toolchain that matches your robot version (atom for V4 and later, geode for previous version), and extract it, say in /path/to/atom/ctc Note on linux64 you will have to install some 32bits libraries for the cross-compiler to work. On ubuntu, you should use something like: $ sudo apt-get install gcc-multilib libc6-dev libc6-i386
|
|
Create a toolchain using the feed from the cross-toolchain. $ qitoolchain create cross-atom /path/to/ctc/
$ qibuild configure -c cross-atom
$ qibuild make -c cross-atom
|
You are ready to cross-compile for OpenNAO.