A few words about the arborescence of the aldebaran-sdk archive.
The Aldebaran C++ SDK is an archive named naoqi-sdk.
Retrieve the sdk archive. Be careful to select the archive corresponding to your operating system (Windows, Mac or Linux), and when using windows to your version of Visual Studio (to check it, see Help/About Visual Studio).
For Windows, choose win32-vs2008 if you are using Visual Studio 2008, or win32-vs2010 if you are using Visual Studio 2010
Extract it on your machine.
You should now have downloaded and extracted the Aldebaran archive on your desktop. For now, we’ll assume it’s extracted in /path/to/naoqi-sdk.
Linux:
Note
Ubuntu Karmic is no longer officially supported.
Microsoft Windows:
MacOS:
On Linux, gcc > 4.4 is required.
On Windows, you can use Visual Studio 2008 or Visual Studio 2010.
On Mac, you should use Mac OSX Snow Leopard or Lion and the corresponding XCode version
Our C++ SDK is designed to work with CMake. CMake is a tool used for cross-platform projects. The advantage is that it generates makefiles and workspaces for any operating system, making the project able to be compiled simply on Windows, Mac, Linux etc.
The preferred CMake version for our SDK in CMake 2.8.
Recent CMake distributions are available from http://www.cmake.org/cmake/resources/software.html
As a general rule, our software needs a few environment variables to work.
NAOqi also needs $PYTHONHOME on linux and mac, for the “embedded python”. (Which allows you to run python code inside NAOqi’s process)
All those environment variables are set in the scripts you’ll find at the root of the SDK. (NAOqi on linux and mac, naoqi.bat and naoqi_d.bat on windows). You should always use those scripts to launch NAOqi. (The naoqi-bin executable is not supposed to be use directly)
On Windows, you should always put your executables in the bin/ directory.