A reminder: the summer school is BYOL (Bring Your Own Laptop), and we expect you to be ready and able to program in C++. It will also be very helpful if you take some time before the school to follow the steps outlined on this page.
We'd like you all to use the development environment you are used to, and not force you to switch to something else -- no Linux/g++/emacs vs Windows/DevStudio vs Mac/... fights please!
To achieve this without complete chaos, we ask you to install "CMake". CMake lets us describe our programs and libraries in a cross-platform way. CMake takes care of creating the makefiles or workspaces needed by whatever development environment you like to work in.
CMake liberates your code from the particular development environment you are using. But it will still have operating-system dependencies that will make life at the summer school difficult. ACE is a free and open source library that provides an excellent portable interface to a vast array of operating systems, dealing with the details so you don't have to.
- Read about ACE here: http://www.cs.wustl.edu/~schmidt/ACE.html
- Read our friendly instructions for installing ACE
Check your Installation
To make sure everything is in working, you can download a sample test project.
- UNIX: http://wiki.icub.org/download/ace_check-1.0.1-Linux.tar.gz
- Despite the Linux name, this will be fine for all other UNIXes including OSX.
If you have problems, on Linux, running make, try to add:
# if !defined(_REENTRANT) # define _REENTRANT 1 # endif
in file /usr/include/ace/config-lite.h
Unpack the project, run CMake in it, compile, and run the program. All going well it will say (can you guess?) "Hello World" a few times, using multiple threads. Yay!