Note: The SDK requires CMake version 2.8.3 or higher
- Run
sudo apt-get install cmake - Check your Python version
python --versionshould be 2.7 - Install python 3 (this will be necessary for running pip3)
- Install qiBuild using
pip3 install qibuild --user - Add qiBuild to your $PATH, add the following line
PATH=$PATH:$HOME/.local/binto your~/.bashrcfile - Run
qibuild config --wizardYou will be prompted for:- CMake path (if not automatically found)
- CMake generator (choose UNIX MAKEFILES)
- IDE dont specify, completely unecessary
Result:~/.config/qi/qibuild.xmlshared by all worktrees you create
- Create an empty directory
ex: /path/to/myWorktree cdinto your new directory- Run
qibuild init - Note: The directory should remain empty
the following requires you to have created a worktree folder if not see above step
- Download the naoqi-sdk from https://www.aldebaran.com/en/support/nao-6/downloads-softwares
- extract the folder and rename to naoqi-sdk
Location of this folder does not matter - execute
qitoolchain create mytoolchain /path/to/naoqi-sdk/toolchain.xmlto create a toolchain from the C++ SDK - cd into your worktree
/path/to/myWorktree - execute
qibuild add-config myconfig -t mytoolchain --default
Follow this tutorial to make sure everything was configured correctly:
https://developer.softbankrobotics.com/nao6/naoqi-developer-guide/sdks/c-sdk/c-sdk-hello-world-step-step
Download Robot Settings for Linux here: https://community-static.aldebaran.com/resources/2.8.6/robot-settings-2.8.6.23-linux64-setup.run