| Prev: Mac - Installing from Binaries | Up: Installation | Next: Linux - Installing from Sources |
|---|---|---|
Table of contents
In the following guide, we suppose that there is a base directory containing everything we need. You can create it wherever you prefer (e.g. inside your home directory) and we will refer to this directory as BASE_DIR. Inside BASE_DIR create the following subdirectories:
Install the following programs:
Add the following environment variables (read this quick how-to if you do not know how to do it):
FARSA_DIR = BASE_DIR\opt\farsa
Download and extract the FARSA source code package farsa-x.y.z .zip or .tar.gz file (sourceforge.net) inside the BASE_DIR\source directory
Generate the Visual Studio solution/projects for building FARSA using CMake with following settings (i.e. run CMAKE, specify the source and build directory as specified below, press the CONFIGURE button, set few other parameters as specified below, presso the CONFIGURE and then the GENERATE buttons):
Source directory = BASE_DIR\source\farsa-1.2.2
Build directory = BASE_DIR\build\farsa
CMAKE_INSTALL_PREFIX = BASE_DIR\opt\farsa
USE_GSL = ON # Only if you installed GSL, otherwise set to OFF
FARSA_USE_QT5 = OFF # If you have QT 4.x installed, set to ON if you have QT 5.x installed
Run Visual Studio
Support for the iCub robot in FARSA is now in a plugin, which needs to be compiled and installed. The plugin can be found in the farsa-plugins package (available here) or directly in the svn repository.
In order to compile the FARSA iCub plugin, you first need to install YARP and iCub. The instructions for both are provided at this page. The FARSA iCub plugin should work with versions of YARP following 2.3.62 and of iCub following 1.1. Again, pay attention to the version you install and make sure it matches the Visual Studio version you have installed.
Once the dependencies have been installed, you can compile and install the iCub plugin as any other plugin. The procedure is explained in this page. Remember to install the iCub plugin so that it can be used by other plugins depending on it.
If everything went well, you should now be able to start the total99 executable simply by double-clicking on the executable present into BASE_DIR\opt\bin
Manual: Home
Manual: Installation
Manual: LinuxSources
Manual: MacBinaries
Anonymous