<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://mediawiki.isr.tecnico.ulisboa.pt/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kpetkov</id>
	<title>ISRWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://mediawiki.isr.tecnico.ulisboa.pt/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kpetkov"/>
	<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/wiki/Special:Contributions/Kpetkov"/>
	<updated>2026-06-12T19:57:44Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ICub_software&amp;diff=2941</id>
		<title>ICub software</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ICub_software&amp;diff=2941"/>
		<updated>2010-09-28T14:04:06Z</updated>

		<summary type="html">&lt;p&gt;Kpetkov: change section level&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Effective August 2009, YARP and iCub software repositories have been moved to SourceForge.net servers and must be downloaded with Subversion (SVN).&lt;br /&gt;
&lt;br /&gt;
It is recommended that you rename your old (CVS) iCub and yarp2 directories and do a fresh download of the new SVN repositories.&lt;br /&gt;
&lt;br /&gt;
== Preliminaries ==&lt;br /&gt;
&lt;br /&gt;
You should install an SVN client on your system if you do not have one already. For Windows, [http://tortoisesvn.tigris.org/ TortoiseSVN] is recommended. If you run Linux or other UNIX flavours, chances are high that you can just go ahead using &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; in command line (if that is not the case, install it with &amp;lt;code&amp;gt;apt-get install subversion&amp;lt;/code&amp;gt; or equivalent).&lt;br /&gt;
&lt;br /&gt;
Furthermore, you should install [http://www.cmake.org/ CMake].&lt;br /&gt;
&lt;br /&gt;
== YARP ==&lt;br /&gt;
&lt;br /&gt;
=== Browsing the yarp2 repository online ===&lt;br /&gt;
&lt;br /&gt;
http://yarp0.svn.sf.net/viewvc/yarp0/trunk/yarp2/&lt;br /&gt;
&lt;br /&gt;
=== Getting the yarp2 repository in Windows ===&lt;br /&gt;
&lt;br /&gt;
Inside TortoiseSVN, use the file manager to browse to the location where you would like to download the code. Right click on an empty region of the window and select &amp;quot;SVN checkout&amp;quot; from the contextual menu.&lt;br /&gt;
&lt;br /&gt;
Type the following string in the entry &amp;quot;URL of repository&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2&lt;br /&gt;
&lt;br /&gt;
No password or username will be required.&lt;br /&gt;
&lt;br /&gt;
Note: if you use Cygwin, refer to Linux instructions instead.&lt;br /&gt;
&lt;br /&gt;
=== Installing yarp2 in Windows ===&lt;br /&gt;
&lt;br /&gt;
Note: all environment variables should have &#039;/&#039; and NOT &#039;\&#039; (except in the PATH enviroment variable)! The directories do not need to be the same as the ones presented here, just be sure to alter the environment variables correctly.&lt;br /&gt;
&lt;br /&gt;
# Download ACE and GLS from http://eris.liralab.it/iCub/downloads/packages/windows/msvc8/ ; unzip them to anywhere (don&#039;t forget where :)).&lt;br /&gt;
# If you want GUIs, download GTKMM from http://live.gnome.org/gtkmm/MSWindows and use the installer.&lt;br /&gt;
# Create environment variable: ACE_ROOT, GTK_BASEPATH, GTKMM_BASEPATH, GSL_DIR.&lt;br /&gt;
# Add this to the PATH environment variable: %ACE_ROOT%/lib (important: make sure you put it at the beginning of the PATH environment variable, to avoid conflicts with other existing ACE versions on the system)&lt;br /&gt;
# ACE_ROOT is ACE dir (e.g., C:/ace_wrappers).&lt;br /&gt;
# GTK_BASEPATH and GTKMM_BASEPATH is GTKMM dir (C:/gtkmm).&lt;br /&gt;
# GSL_DIR is GSL dir (C:/gsl-1.8).&lt;br /&gt;
# Set the YARP_ROOT, YARP_DIR environment variables.&lt;br /&gt;
# Add this to the PATH enviroment variable: %YARP_DIR%/bin/Release (and/or Debug). Note: these directories will be created later&lt;br /&gt;
# YARP_ROOT is yarp dir (C:/yarp2).&lt;br /&gt;
# YARP_DIR is yarp build dir (C:/yarp2/build).&lt;br /&gt;
# Use CMake to build the YARP SLN files. Point the source code to the yarp2 dir, and build to the yarp2/build dir (which will be created now).&lt;br /&gt;
# In CMake, check: CREATE_DEVICE_LIBRARY_MODULES, CREATE_LIB_MATH and, optionally, CREATE_GUIS (don&#039;t uncheck anything!).&lt;br /&gt;
# Click: Configure, Configure, Generate.&lt;br /&gt;
# Go to your YARP_DIR and open YARP.sln with Visual Studio&lt;br /&gt;
# Go to Build-&amp;gt;Batch Build&lt;br /&gt;
# Check ALL_BUILD (Release and/or Debug) and Build!&lt;br /&gt;
&lt;br /&gt;
=== Getting the yarp2 repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
Paste the following command in a console terminal:&lt;br /&gt;
  svn co https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2&lt;br /&gt;
This will create a new directory called &#039;&#039;&#039;yarp2&#039;&#039;&#039; that contains the software. Your environment variables &amp;lt;code&amp;gt;YARP_DIR&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;YARP_ROOT&amp;lt;/code&amp;gt; should be set to that directory (e.g., &amp;lt;code&amp;gt;/home/yourname/yarp2&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Compiling the yarp2 repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
To compile the yarp2 repository, go to &amp;lt;code&amp;gt;YARP_DIR&amp;lt;/code&amp;gt; and &#039;&#039;&#039;generate the project files&#039;&#039;&#039; with the CMake program with the command&lt;br /&gt;
  ccmake .&lt;br /&gt;
and you obtain a Makefile.&lt;br /&gt;
&lt;br /&gt;
Having generated your project file, only the actual compilation remains to be done. In Linux type &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Updating the yarp2 repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
   cd $YARP_ROOT&lt;br /&gt;
   svn update&lt;br /&gt;
&lt;br /&gt;
=== Downloading YARP as a single file ===&lt;br /&gt;
&lt;br /&gt;
If for whatever reason you cannot use SVN on a machine, or you do not want the very latest revision of the repository, you may just download a single file containing YARP here: [http://eris.liralab.it/yarp/specs/dox/download.html]. Pre-compiled binaries are also available.&lt;br /&gt;
&lt;br /&gt;
== iCub ==&lt;br /&gt;
&lt;br /&gt;
=== Browsing the iCub repository online ===&lt;br /&gt;
&lt;br /&gt;
http://robotcub.svn.sf.net/viewvc/robotcub/trunk/iCub/&lt;br /&gt;
&lt;br /&gt;
=== Getting the iCub repository in Windows ===&lt;br /&gt;
&lt;br /&gt;
Inside TortoiseSVN, use the file manager to browse to the location where you would like to download the code. Right click on an empty region of the window and select &amp;quot;SVN checkout&amp;quot; from the contextual menu.&lt;br /&gt;
&lt;br /&gt;
Type the following string in the entry &amp;quot;URL of repository&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  https://robotcub.svn.sourceforge.net/svnroot/robotcub/trunk/iCub&lt;br /&gt;
&lt;br /&gt;
No password or username will be required.&lt;br /&gt;
&lt;br /&gt;
Note: if you use Cygwin, refer to Linux instructions instead.&lt;br /&gt;
&lt;br /&gt;
=== Installing iCub in Windows ===&lt;br /&gt;
&lt;br /&gt;
# Create enviroment variable: ICUB_ROOT, ICUB_DIR.&lt;br /&gt;
# ICUB_ROOT is iCub dir (e.g., C:/icub).&lt;br /&gt;
# ICUB_DIR is iCub build dir (C:/icub/main/build).&lt;br /&gt;
# Install OpenCV 1.0, available at http://sourceforge.net/projects/opencvlibrary/files/ . Make sure that the variable OPENCV_DIR was created and add %OPENCV_DIR%/bin to the PATH environment variable.&lt;br /&gt;
# If you intend to use the iKin kinematics modules (normally you don&#039;t - this is only needed on servers), then download IPOPT, unzip it and create the environment variable IPOPT_DIR, e.g. C:\Ipopt-3.7.0-win32-msvc8-yarp&lt;br /&gt;
# Use CMake to build the iCub SLN files. Point the source code to the icub/main dir, and build to the icub/main/build dir (which will be created now).&lt;br /&gt;
# In CMake, check YARP_AUTO_LINK (not sure why?) and the modules you might want working (don&#039;t unheck anything!).&lt;br /&gt;
# Click: Configure, Configure, Generate.&lt;br /&gt;
# Go to your ICUB_DIR open iCub.sln&lt;br /&gt;
# Go to Build-&amp;gt;Batch Build&lt;br /&gt;
# Check ALL_BUILD (Release and/or Debug) and Build! (sometimes frameGrabberGui2 will not compile correctly)&lt;br /&gt;
&lt;br /&gt;
=== Getting the iCub repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
Paste the following command in a console terminal:&lt;br /&gt;
  svn co https://robotcub.svn.sourceforge.net/svnroot/robotcub/trunk/iCub&lt;br /&gt;
This will create a new directory called &#039;&#039;&#039;iCub&#039;&#039;&#039; that contains the software. Your environment variables &amp;lt;code&amp;gt;ICUB_DIR&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ICUB_ROOT&amp;lt;/code&amp;gt; should be set to that directory (e.g., &amp;lt;code&amp;gt;/home/yourname/iCub&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Compiling the iCub repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
To compile the iCub repository, go to &amp;lt;code&amp;gt;ICUB_DIR&amp;lt;/code&amp;gt; and &#039;&#039;&#039;generate the project files&#039;&#039;&#039; with the CMake program, typing with the command&lt;br /&gt;
  ccmake .&lt;br /&gt;
and you obtain a Makefile.&lt;br /&gt;
&lt;br /&gt;
Having generated your project file, only the actual compilation remains to be done. In Linux type &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Updating the iCub repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
   cd $ICUB_ROOT&lt;br /&gt;
   svn update&lt;br /&gt;
&lt;br /&gt;
=== Downloading iCub snapshot files ===&lt;br /&gt;
&lt;br /&gt;
Periodic snapshots of the iCub repository are available at http://eris.liralab.it/iCub/downloads/src/&lt;br /&gt;
&lt;br /&gt;
Note that there are two types of files:&lt;br /&gt;
* iCub-src-x.y.z.tar.gz: the whole iCub repository, version x.y.z&lt;br /&gt;
* iCub-dep-x.y.z.txt: a list of the libraries, software packages and environment variables that are required to compile the code in snapshot x.y.z, including YARP version number.&lt;br /&gt;
&lt;br /&gt;
== iCub Simulator ==&lt;br /&gt;
&lt;br /&gt;
=== Installing iCub_SIM in Windows ===&lt;br /&gt;
&lt;br /&gt;
To install iCub Simulator (optional):&lt;br /&gt;
# Download the SDL (Simple DirectMedia Layer) from http://www.libsdl.org/ (Development Libraries), unzip it somewhere and note down the directory&lt;br /&gt;
# Download ODE from http://eris.liralab.it/iCub/downloads/packages/windows/msvc8/, unzip it somewhere as well&lt;br /&gt;
# Create environment variables SDLDIR, ODE_DIR:&lt;br /&gt;
## ODE_DIR is ODE dir (e.g., C:/ode-0.11.1).&lt;br /&gt;
## SDLDIR is SDL dir (C:/SDL-1.2.14).&lt;br /&gt;
# Add %SDLDIR%/lib to the PATH variable.&lt;br /&gt;
# Re-Run CMAKE with the ODE, OPENCV and SDL variables checked.&lt;br /&gt;
# Compile project iCub_SIM&lt;br /&gt;
&lt;br /&gt;
== Committing changes to the repositories ==&lt;br /&gt;
&lt;br /&gt;
If you are a developer and you need to add/modify files within the repository, you need two things:&lt;br /&gt;
* a SourceForge.net account; once you have that, send an email to the [http://sourceforge.net/project/memberlist.php?group_id=139262 RobotCub project administrators] to join the project&lt;br /&gt;
* make sure that your SVN client is configured correctly with regard to &#039;&#039;&#039;auto-props&#039;&#039;&#039;, which is a mechanism that takes care of line endings and MIME filetypes according to wildcards (for example, setting some flags for *.txt files and other flags for *.sh). Go [http://www.mediawiki.org/wiki/Subversion/auto-props here] for a better explanation, and check the &#039;Subversion client flags&#039; page (linked below) for auto-props adopted by RobotCub developers.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* http://eris.liralab.it/wiki/Manual#Six._Software.2C_Compiling_YARP_and_iCub&lt;br /&gt;
* http://eris.liralab.it/wiki/Getting_Subversion&lt;br /&gt;
* http://eris.liralab.it/wiki/GettingYARP_svn&lt;br /&gt;
* http://eris.liralab.it/wiki/Getting_the_iCub_software&lt;br /&gt;
* http://eris.liralab.it/wiki/Subversion_client_flags&lt;br /&gt;
* http://eris.liralab.it/wiki/PrepareWindows&lt;br /&gt;
* http://eris.liralab.it/iCub/downloads/packages/windows/msvc8/&lt;br /&gt;
&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Kpetkov</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ICub_software&amp;diff=2940</id>
		<title>ICub software</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ICub_software&amp;diff=2940"/>
		<updated>2010-09-28T14:03:24Z</updated>

		<summary type="html">&lt;p&gt;Kpetkov: /* See also */ more links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Effective August 2009, YARP and iCub software repositories have been moved to SourceForge.net servers and must be downloaded with Subversion (SVN).&lt;br /&gt;
&lt;br /&gt;
It is recommended that you rename your old (CVS) iCub and yarp2 directories and do a fresh download of the new SVN repositories.&lt;br /&gt;
&lt;br /&gt;
== Preliminaries ==&lt;br /&gt;
&lt;br /&gt;
You should install an SVN client on your system if you do not have one already. For Windows, [http://tortoisesvn.tigris.org/ TortoiseSVN] is recommended. If you run Linux or other UNIX flavours, chances are high that you can just go ahead using &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; in command line (if that is not the case, install it with &amp;lt;code&amp;gt;apt-get install subversion&amp;lt;/code&amp;gt; or equivalent).&lt;br /&gt;
&lt;br /&gt;
Furthermore, you should install [http://www.cmake.org/ CMake].&lt;br /&gt;
&lt;br /&gt;
== YARP ==&lt;br /&gt;
&lt;br /&gt;
=== Browsing the yarp2 repository online ===&lt;br /&gt;
&lt;br /&gt;
http://yarp0.svn.sf.net/viewvc/yarp0/trunk/yarp2/&lt;br /&gt;
&lt;br /&gt;
=== Getting the yarp2 repository in Windows ===&lt;br /&gt;
&lt;br /&gt;
Inside TortoiseSVN, use the file manager to browse to the location where you would like to download the code. Right click on an empty region of the window and select &amp;quot;SVN checkout&amp;quot; from the contextual menu.&lt;br /&gt;
&lt;br /&gt;
Type the following string in the entry &amp;quot;URL of repository&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2&lt;br /&gt;
&lt;br /&gt;
No password or username will be required.&lt;br /&gt;
&lt;br /&gt;
Note: if you use Cygwin, refer to Linux instructions instead.&lt;br /&gt;
&lt;br /&gt;
=== Installing yarp2 in Windows ===&lt;br /&gt;
&lt;br /&gt;
Note: all environment variables should have &#039;/&#039; and NOT &#039;\&#039; (except in the PATH enviroment variable)! The directories do not need to be the same as the ones presented here, just be sure to alter the environment variables correctly.&lt;br /&gt;
&lt;br /&gt;
# Download ACE and GLS from http://eris.liralab.it/iCub/downloads/packages/windows/msvc8/ ; unzip them to anywhere (don&#039;t forget where :)).&lt;br /&gt;
# If you want GUIs, download GTKMM from http://live.gnome.org/gtkmm/MSWindows and use the installer.&lt;br /&gt;
# Create environment variable: ACE_ROOT, GTK_BASEPATH, GTKMM_BASEPATH, GSL_DIR.&lt;br /&gt;
# Add this to the PATH environment variable: %ACE_ROOT%/lib (important: make sure you put it at the beginning of the PATH environment variable, to avoid conflicts with other existing ACE versions on the system)&lt;br /&gt;
# ACE_ROOT is ACE dir (e.g., C:/ace_wrappers).&lt;br /&gt;
# GTK_BASEPATH and GTKMM_BASEPATH is GTKMM dir (C:/gtkmm).&lt;br /&gt;
# GSL_DIR is GSL dir (C:/gsl-1.8).&lt;br /&gt;
# Set the YARP_ROOT, YARP_DIR environment variables.&lt;br /&gt;
# Add this to the PATH enviroment variable: %YARP_DIR%/bin/Release (and/or Debug). Note: these directories will be created later&lt;br /&gt;
# YARP_ROOT is yarp dir (C:/yarp2).&lt;br /&gt;
# YARP_DIR is yarp build dir (C:/yarp2/build).&lt;br /&gt;
# Use CMake to build the YARP SLN files. Point the source code to the yarp2 dir, and build to the yarp2/build dir (which will be created now).&lt;br /&gt;
# In CMake, check: CREATE_DEVICE_LIBRARY_MODULES, CREATE_LIB_MATH and, optionally, CREATE_GUIS (don&#039;t uncheck anything!).&lt;br /&gt;
# Click: Configure, Configure, Generate.&lt;br /&gt;
# Go to your YARP_DIR and open YARP.sln with Visual Studio&lt;br /&gt;
# Go to Build-&amp;gt;Batch Build&lt;br /&gt;
# Check ALL_BUILD (Release and/or Debug) and Build!&lt;br /&gt;
&lt;br /&gt;
=== Getting the yarp2 repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
Paste the following command in a console terminal:&lt;br /&gt;
  svn co https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2&lt;br /&gt;
This will create a new directory called &#039;&#039;&#039;yarp2&#039;&#039;&#039; that contains the software. Your environment variables &amp;lt;code&amp;gt;YARP_DIR&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;YARP_ROOT&amp;lt;/code&amp;gt; should be set to that directory (e.g., &amp;lt;code&amp;gt;/home/yourname/yarp2&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== Compiling the yarp2 repository in Linux ==&lt;br /&gt;
&lt;br /&gt;
To compile the yarp2 repository, go to &amp;lt;code&amp;gt;YARP_DIR&amp;lt;/code&amp;gt; and &#039;&#039;&#039;generate the project files&#039;&#039;&#039; with the CMake program with the command&lt;br /&gt;
  ccmake .&lt;br /&gt;
and you obtain a Makefile.&lt;br /&gt;
&lt;br /&gt;
Having generated your project file, only the actual compilation remains to be done. In Linux type &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Updating the yarp2 repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
   cd $YARP_ROOT&lt;br /&gt;
   svn update&lt;br /&gt;
&lt;br /&gt;
=== Downloading YARP as a single file ===&lt;br /&gt;
&lt;br /&gt;
If for whatever reason you cannot use SVN on a machine, or you do not want the very latest revision of the repository, you may just download a single file containing YARP here: [http://eris.liralab.it/yarp/specs/dox/download.html]. Pre-compiled binaries are also available.&lt;br /&gt;
&lt;br /&gt;
== iCub ==&lt;br /&gt;
&lt;br /&gt;
=== Browsing the iCub repository online ===&lt;br /&gt;
&lt;br /&gt;
http://robotcub.svn.sf.net/viewvc/robotcub/trunk/iCub/&lt;br /&gt;
&lt;br /&gt;
=== Getting the iCub repository in Windows ===&lt;br /&gt;
&lt;br /&gt;
Inside TortoiseSVN, use the file manager to browse to the location where you would like to download the code. Right click on an empty region of the window and select &amp;quot;SVN checkout&amp;quot; from the contextual menu.&lt;br /&gt;
&lt;br /&gt;
Type the following string in the entry &amp;quot;URL of repository&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  https://robotcub.svn.sourceforge.net/svnroot/robotcub/trunk/iCub&lt;br /&gt;
&lt;br /&gt;
No password or username will be required.&lt;br /&gt;
&lt;br /&gt;
Note: if you use Cygwin, refer to Linux instructions instead.&lt;br /&gt;
&lt;br /&gt;
=== Installing iCub in Windows ===&lt;br /&gt;
&lt;br /&gt;
# Create enviroment variable: ICUB_ROOT, ICUB_DIR.&lt;br /&gt;
# ICUB_ROOT is iCub dir (e.g., C:/icub).&lt;br /&gt;
# ICUB_DIR is iCub build dir (C:/icub/main/build).&lt;br /&gt;
# Install OpenCV 1.0, available at http://sourceforge.net/projects/opencvlibrary/files/ . Make sure that the variable OPENCV_DIR was created and add %OPENCV_DIR%/bin to the PATH environment variable.&lt;br /&gt;
# If you intend to use the iKin kinematics modules (normally you don&#039;t - this is only needed on servers), then download IPOPT, unzip it and create the environment variable IPOPT_DIR, e.g. C:\Ipopt-3.7.0-win32-msvc8-yarp&lt;br /&gt;
# Use CMake to build the iCub SLN files. Point the source code to the icub/main dir, and build to the icub/main/build dir (which will be created now).&lt;br /&gt;
# In CMake, check YARP_AUTO_LINK (not sure why?) and the modules you might want working (don&#039;t unheck anything!).&lt;br /&gt;
# Click: Configure, Configure, Generate.&lt;br /&gt;
# Go to your ICUB_DIR open iCub.sln&lt;br /&gt;
# Go to Build-&amp;gt;Batch Build&lt;br /&gt;
# Check ALL_BUILD (Release and/or Debug) and Build! (sometimes frameGrabberGui2 will not compile correctly)&lt;br /&gt;
&lt;br /&gt;
=== Getting the iCub repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
Paste the following command in a console terminal:&lt;br /&gt;
  svn co https://robotcub.svn.sourceforge.net/svnroot/robotcub/trunk/iCub&lt;br /&gt;
This will create a new directory called &#039;&#039;&#039;iCub&#039;&#039;&#039; that contains the software. Your environment variables &amp;lt;code&amp;gt;ICUB_DIR&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ICUB_ROOT&amp;lt;/code&amp;gt; should be set to that directory (e.g., &amp;lt;code&amp;gt;/home/yourname/iCub&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== Compiling the iCub repository in Linux ==&lt;br /&gt;
&lt;br /&gt;
To compile the iCub repository, go to &amp;lt;code&amp;gt;ICUB_DIR&amp;lt;/code&amp;gt; and &#039;&#039;&#039;generate the project files&#039;&#039;&#039; with the CMake program, typing with the command&lt;br /&gt;
  ccmake .&lt;br /&gt;
and you obtain a Makefile.&lt;br /&gt;
&lt;br /&gt;
Having generated your project file, only the actual compilation remains to be done. In Linux type &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Updating the iCub repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
   cd $ICUB_ROOT&lt;br /&gt;
   svn update&lt;br /&gt;
&lt;br /&gt;
=== Downloading iCub snapshot files ===&lt;br /&gt;
&lt;br /&gt;
Periodic snapshots of the iCub repository are available at http://eris.liralab.it/iCub/downloads/src/&lt;br /&gt;
&lt;br /&gt;
Note that there are two types of files:&lt;br /&gt;
* iCub-src-x.y.z.tar.gz: the whole iCub repository, version x.y.z&lt;br /&gt;
* iCub-dep-x.y.z.txt: a list of the libraries, software packages and environment variables that are required to compile the code in snapshot x.y.z, including YARP version number.&lt;br /&gt;
&lt;br /&gt;
== iCub Simulator ==&lt;br /&gt;
&lt;br /&gt;
=== Installing iCub_SIM in Windows ===&lt;br /&gt;
&lt;br /&gt;
To install iCub Simulator (optional):&lt;br /&gt;
# Download the SDL (Simple DirectMedia Layer) from http://www.libsdl.org/ (Development Libraries), unzip it somewhere and note down the directory&lt;br /&gt;
# Download ODE from http://eris.liralab.it/iCub/downloads/packages/windows/msvc8/, unzip it somewhere as well&lt;br /&gt;
# Create environment variables SDLDIR, ODE_DIR:&lt;br /&gt;
## ODE_DIR is ODE dir (e.g., C:/ode-0.11.1).&lt;br /&gt;
## SDLDIR is SDL dir (C:/SDL-1.2.14).&lt;br /&gt;
# Add %SDLDIR%/lib to the PATH variable.&lt;br /&gt;
# Re-Run CMAKE with the ODE, OPENCV and SDL variables checked.&lt;br /&gt;
# Compile project iCub_SIM&lt;br /&gt;
&lt;br /&gt;
== Committing changes to the repositories ==&lt;br /&gt;
&lt;br /&gt;
If you are a developer and you need to add/modify files within the repository, you need two things:&lt;br /&gt;
* a SourceForge.net account; once you have that, send an email to the [http://sourceforge.net/project/memberlist.php?group_id=139262 RobotCub project administrators] to join the project&lt;br /&gt;
* make sure that your SVN client is configured correctly with regard to &#039;&#039;&#039;auto-props&#039;&#039;&#039;, which is a mechanism that takes care of line endings and MIME filetypes according to wildcards (for example, setting some flags for *.txt files and other flags for *.sh). Go [http://www.mediawiki.org/wiki/Subversion/auto-props here] for a better explanation, and check the &#039;Subversion client flags&#039; page (linked below) for auto-props adopted by RobotCub developers.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* http://eris.liralab.it/wiki/Manual#Six._Software.2C_Compiling_YARP_and_iCub&lt;br /&gt;
* http://eris.liralab.it/wiki/Getting_Subversion&lt;br /&gt;
* http://eris.liralab.it/wiki/GettingYARP_svn&lt;br /&gt;
* http://eris.liralab.it/wiki/Getting_the_iCub_software&lt;br /&gt;
* http://eris.liralab.it/wiki/Subversion_client_flags&lt;br /&gt;
* http://eris.liralab.it/wiki/PrepareWindows&lt;br /&gt;
* http://eris.liralab.it/iCub/downloads/packages/windows/msvc8/&lt;br /&gt;
&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Kpetkov</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ICub_software&amp;diff=2939</id>
		<title>ICub software</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ICub_software&amp;diff=2939"/>
		<updated>2010-09-28T14:02:23Z</updated>

		<summary type="html">&lt;p&gt;Kpetkov: /* iCub */ compiling the iCub repository in Linux&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Effective August 2009, YARP and iCub software repositories have been moved to SourceForge.net servers and must be downloaded with Subversion (SVN).&lt;br /&gt;
&lt;br /&gt;
It is recommended that you rename your old (CVS) iCub and yarp2 directories and do a fresh download of the new SVN repositories.&lt;br /&gt;
&lt;br /&gt;
== Preliminaries ==&lt;br /&gt;
&lt;br /&gt;
You should install an SVN client on your system if you do not have one already. For Windows, [http://tortoisesvn.tigris.org/ TortoiseSVN] is recommended. If you run Linux or other UNIX flavours, chances are high that you can just go ahead using &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; in command line (if that is not the case, install it with &amp;lt;code&amp;gt;apt-get install subversion&amp;lt;/code&amp;gt; or equivalent).&lt;br /&gt;
&lt;br /&gt;
Furthermore, you should install [http://www.cmake.org/ CMake].&lt;br /&gt;
&lt;br /&gt;
== YARP ==&lt;br /&gt;
&lt;br /&gt;
=== Browsing the yarp2 repository online ===&lt;br /&gt;
&lt;br /&gt;
http://yarp0.svn.sf.net/viewvc/yarp0/trunk/yarp2/&lt;br /&gt;
&lt;br /&gt;
=== Getting the yarp2 repository in Windows ===&lt;br /&gt;
&lt;br /&gt;
Inside TortoiseSVN, use the file manager to browse to the location where you would like to download the code. Right click on an empty region of the window and select &amp;quot;SVN checkout&amp;quot; from the contextual menu.&lt;br /&gt;
&lt;br /&gt;
Type the following string in the entry &amp;quot;URL of repository&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2&lt;br /&gt;
&lt;br /&gt;
No password or username will be required.&lt;br /&gt;
&lt;br /&gt;
Note: if you use Cygwin, refer to Linux instructions instead.&lt;br /&gt;
&lt;br /&gt;
=== Installing yarp2 in Windows ===&lt;br /&gt;
&lt;br /&gt;
Note: all environment variables should have &#039;/&#039; and NOT &#039;\&#039; (except in the PATH enviroment variable)! The directories do not need to be the same as the ones presented here, just be sure to alter the environment variables correctly.&lt;br /&gt;
&lt;br /&gt;
# Download ACE and GLS from http://eris.liralab.it/iCub/downloads/packages/windows/msvc8/ ; unzip them to anywhere (don&#039;t forget where :)).&lt;br /&gt;
# If you want GUIs, download GTKMM from http://live.gnome.org/gtkmm/MSWindows and use the installer.&lt;br /&gt;
# Create environment variable: ACE_ROOT, GTK_BASEPATH, GTKMM_BASEPATH, GSL_DIR.&lt;br /&gt;
# Add this to the PATH environment variable: %ACE_ROOT%/lib (important: make sure you put it at the beginning of the PATH environment variable, to avoid conflicts with other existing ACE versions on the system)&lt;br /&gt;
# ACE_ROOT is ACE dir (e.g., C:/ace_wrappers).&lt;br /&gt;
# GTK_BASEPATH and GTKMM_BASEPATH is GTKMM dir (C:/gtkmm).&lt;br /&gt;
# GSL_DIR is GSL dir (C:/gsl-1.8).&lt;br /&gt;
# Set the YARP_ROOT, YARP_DIR environment variables.&lt;br /&gt;
# Add this to the PATH enviroment variable: %YARP_DIR%/bin/Release (and/or Debug). Note: these directories will be created later&lt;br /&gt;
# YARP_ROOT is yarp dir (C:/yarp2).&lt;br /&gt;
# YARP_DIR is yarp build dir (C:/yarp2/build).&lt;br /&gt;
# Use CMake to build the YARP SLN files. Point the source code to the yarp2 dir, and build to the yarp2/build dir (which will be created now).&lt;br /&gt;
# In CMake, check: CREATE_DEVICE_LIBRARY_MODULES, CREATE_LIB_MATH and, optionally, CREATE_GUIS (don&#039;t uncheck anything!).&lt;br /&gt;
# Click: Configure, Configure, Generate.&lt;br /&gt;
# Go to your YARP_DIR and open YARP.sln with Visual Studio&lt;br /&gt;
# Go to Build-&amp;gt;Batch Build&lt;br /&gt;
# Check ALL_BUILD (Release and/or Debug) and Build!&lt;br /&gt;
&lt;br /&gt;
=== Getting the yarp2 repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
Paste the following command in a console terminal:&lt;br /&gt;
  svn co https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2&lt;br /&gt;
This will create a new directory called &#039;&#039;&#039;yarp2&#039;&#039;&#039; that contains the software. Your environment variables &amp;lt;code&amp;gt;YARP_DIR&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;YARP_ROOT&amp;lt;/code&amp;gt; should be set to that directory (e.g., &amp;lt;code&amp;gt;/home/yourname/yarp2&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== Compiling the yarp2 repository in Linux ==&lt;br /&gt;
&lt;br /&gt;
To compile the yarp2 repository, go to &amp;lt;code&amp;gt;YARP_DIR&amp;lt;/code&amp;gt; and &#039;&#039;&#039;generate the project files&#039;&#039;&#039; with the CMake program with the command&lt;br /&gt;
  ccmake .&lt;br /&gt;
and you obtain a Makefile.&lt;br /&gt;
&lt;br /&gt;
Having generated your project file, only the actual compilation remains to be done. In Linux type &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Updating the yarp2 repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
   cd $YARP_ROOT&lt;br /&gt;
   svn update&lt;br /&gt;
&lt;br /&gt;
=== Downloading YARP as a single file ===&lt;br /&gt;
&lt;br /&gt;
If for whatever reason you cannot use SVN on a machine, or you do not want the very latest revision of the repository, you may just download a single file containing YARP here: [http://eris.liralab.it/yarp/specs/dox/download.html]. Pre-compiled binaries are also available.&lt;br /&gt;
&lt;br /&gt;
== iCub ==&lt;br /&gt;
&lt;br /&gt;
=== Browsing the iCub repository online ===&lt;br /&gt;
&lt;br /&gt;
http://robotcub.svn.sf.net/viewvc/robotcub/trunk/iCub/&lt;br /&gt;
&lt;br /&gt;
=== Getting the iCub repository in Windows ===&lt;br /&gt;
&lt;br /&gt;
Inside TortoiseSVN, use the file manager to browse to the location where you would like to download the code. Right click on an empty region of the window and select &amp;quot;SVN checkout&amp;quot; from the contextual menu.&lt;br /&gt;
&lt;br /&gt;
Type the following string in the entry &amp;quot;URL of repository&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  https://robotcub.svn.sourceforge.net/svnroot/robotcub/trunk/iCub&lt;br /&gt;
&lt;br /&gt;
No password or username will be required.&lt;br /&gt;
&lt;br /&gt;
Note: if you use Cygwin, refer to Linux instructions instead.&lt;br /&gt;
&lt;br /&gt;
=== Installing iCub in Windows ===&lt;br /&gt;
&lt;br /&gt;
# Create enviroment variable: ICUB_ROOT, ICUB_DIR.&lt;br /&gt;
# ICUB_ROOT is iCub dir (e.g., C:/icub).&lt;br /&gt;
# ICUB_DIR is iCub build dir (C:/icub/main/build).&lt;br /&gt;
# Install OpenCV 1.0, available at http://sourceforge.net/projects/opencvlibrary/files/ . Make sure that the variable OPENCV_DIR was created and add %OPENCV_DIR%/bin to the PATH environment variable.&lt;br /&gt;
# If you intend to use the iKin kinematics modules (normally you don&#039;t - this is only needed on servers), then download IPOPT, unzip it and create the environment variable IPOPT_DIR, e.g. C:\Ipopt-3.7.0-win32-msvc8-yarp&lt;br /&gt;
# Use CMake to build the iCub SLN files. Point the source code to the icub/main dir, and build to the icub/main/build dir (which will be created now).&lt;br /&gt;
# In CMake, check YARP_AUTO_LINK (not sure why?) and the modules you might want working (don&#039;t unheck anything!).&lt;br /&gt;
# Click: Configure, Configure, Generate.&lt;br /&gt;
# Go to your ICUB_DIR open iCub.sln&lt;br /&gt;
# Go to Build-&amp;gt;Batch Build&lt;br /&gt;
# Check ALL_BUILD (Release and/or Debug) and Build! (sometimes frameGrabberGui2 will not compile correctly)&lt;br /&gt;
&lt;br /&gt;
=== Getting the iCub repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
Paste the following command in a console terminal:&lt;br /&gt;
  svn co https://robotcub.svn.sourceforge.net/svnroot/robotcub/trunk/iCub&lt;br /&gt;
This will create a new directory called &#039;&#039;&#039;iCub&#039;&#039;&#039; that contains the software. Your environment variables &amp;lt;code&amp;gt;ICUB_DIR&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ICUB_ROOT&amp;lt;/code&amp;gt; should be set to that directory (e.g., &amp;lt;code&amp;gt;/home/yourname/iCub&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== Compiling the iCub repository in Linux ==&lt;br /&gt;
&lt;br /&gt;
To compile the iCub repository, go to &amp;lt;code&amp;gt;ICUB_DIR&amp;lt;/code&amp;gt; and &#039;&#039;&#039;generate the project files&#039;&#039;&#039; with the CMake program, typing with the command&lt;br /&gt;
  ccmake .&lt;br /&gt;
and you obtain a Makefile.&lt;br /&gt;
&lt;br /&gt;
Having generated your project file, only the actual compilation remains to be done. In Linux type &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Updating the iCub repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
   cd $ICUB_ROOT&lt;br /&gt;
   svn update&lt;br /&gt;
&lt;br /&gt;
=== Downloading iCub snapshot files ===&lt;br /&gt;
&lt;br /&gt;
Periodic snapshots of the iCub repository are available at http://eris.liralab.it/iCub/downloads/src/&lt;br /&gt;
&lt;br /&gt;
Note that there are two types of files:&lt;br /&gt;
* iCub-src-x.y.z.tar.gz: the whole iCub repository, version x.y.z&lt;br /&gt;
* iCub-dep-x.y.z.txt: a list of the libraries, software packages and environment variables that are required to compile the code in snapshot x.y.z, including YARP version number.&lt;br /&gt;
&lt;br /&gt;
== iCub Simulator ==&lt;br /&gt;
&lt;br /&gt;
=== Installing iCub_SIM in Windows ===&lt;br /&gt;
&lt;br /&gt;
To install iCub Simulator (optional):&lt;br /&gt;
# Download the SDL (Simple DirectMedia Layer) from http://www.libsdl.org/ (Development Libraries), unzip it somewhere and note down the directory&lt;br /&gt;
# Download ODE from http://eris.liralab.it/iCub/downloads/packages/windows/msvc8/, unzip it somewhere as well&lt;br /&gt;
# Create environment variables SDLDIR, ODE_DIR:&lt;br /&gt;
## ODE_DIR is ODE dir (e.g., C:/ode-0.11.1).&lt;br /&gt;
## SDLDIR is SDL dir (C:/SDL-1.2.14).&lt;br /&gt;
# Add %SDLDIR%/lib to the PATH variable.&lt;br /&gt;
# Re-Run CMAKE with the ODE, OPENCV and SDL variables checked.&lt;br /&gt;
# Compile project iCub_SIM&lt;br /&gt;
&lt;br /&gt;
== Committing changes to the repositories ==&lt;br /&gt;
&lt;br /&gt;
If you are a developer and you need to add/modify files within the repository, you need two things:&lt;br /&gt;
* a SourceForge.net account; once you have that, send an email to the [http://sourceforge.net/project/memberlist.php?group_id=139262 RobotCub project administrators] to join the project&lt;br /&gt;
* make sure that your SVN client is configured correctly with regard to &#039;&#039;&#039;auto-props&#039;&#039;&#039;, which is a mechanism that takes care of line endings and MIME filetypes according to wildcards (for example, setting some flags for *.txt files and other flags for *.sh). Go [http://www.mediawiki.org/wiki/Subversion/auto-props here] for a better explanation, and check the &#039;Subversion client flags&#039; page (linked below) for auto-props adopted by RobotCub developers.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* http://eris.liralab.it/wiki/Getting_Subversion&lt;br /&gt;
* http://eris.liralab.it/wiki/GettingYARP_svn&lt;br /&gt;
* http://eris.liralab.it/wiki/Getting_the_iCub_software&lt;br /&gt;
* http://eris.liralab.it/wiki/Subversion_client_flags&lt;br /&gt;
&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Kpetkov</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ICub_software&amp;diff=2938</id>
		<title>ICub software</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ICub_software&amp;diff=2938"/>
		<updated>2010-09-28T14:01:02Z</updated>

		<summary type="html">&lt;p&gt;Kpetkov: compiling the yarp2 repository in Linux&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Effective August 2009, YARP and iCub software repositories have been moved to SourceForge.net servers and must be downloaded with Subversion (SVN).&lt;br /&gt;
&lt;br /&gt;
It is recommended that you rename your old (CVS) iCub and yarp2 directories and do a fresh download of the new SVN repositories.&lt;br /&gt;
&lt;br /&gt;
== Preliminaries ==&lt;br /&gt;
&lt;br /&gt;
You should install an SVN client on your system if you do not have one already. For Windows, [http://tortoisesvn.tigris.org/ TortoiseSVN] is recommended. If you run Linux or other UNIX flavours, chances are high that you can just go ahead using &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; in command line (if that is not the case, install it with &amp;lt;code&amp;gt;apt-get install subversion&amp;lt;/code&amp;gt; or equivalent).&lt;br /&gt;
&lt;br /&gt;
Furthermore, you should install [http://www.cmake.org/ CMake].&lt;br /&gt;
&lt;br /&gt;
== YARP ==&lt;br /&gt;
&lt;br /&gt;
=== Browsing the yarp2 repository online ===&lt;br /&gt;
&lt;br /&gt;
http://yarp0.svn.sf.net/viewvc/yarp0/trunk/yarp2/&lt;br /&gt;
&lt;br /&gt;
=== Getting the yarp2 repository in Windows ===&lt;br /&gt;
&lt;br /&gt;
Inside TortoiseSVN, use the file manager to browse to the location where you would like to download the code. Right click on an empty region of the window and select &amp;quot;SVN checkout&amp;quot; from the contextual menu.&lt;br /&gt;
&lt;br /&gt;
Type the following string in the entry &amp;quot;URL of repository&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2&lt;br /&gt;
&lt;br /&gt;
No password or username will be required.&lt;br /&gt;
&lt;br /&gt;
Note: if you use Cygwin, refer to Linux instructions instead.&lt;br /&gt;
&lt;br /&gt;
=== Installing yarp2 in Windows ===&lt;br /&gt;
&lt;br /&gt;
Note: all environment variables should have &#039;/&#039; and NOT &#039;\&#039; (except in the PATH enviroment variable)! The directories do not need to be the same as the ones presented here, just be sure to alter the environment variables correctly.&lt;br /&gt;
&lt;br /&gt;
# Download ACE and GLS from http://eris.liralab.it/iCub/downloads/packages/windows/msvc8/ ; unzip them to anywhere (don&#039;t forget where :)).&lt;br /&gt;
# If you want GUIs, download GTKMM from http://live.gnome.org/gtkmm/MSWindows and use the installer.&lt;br /&gt;
# Create environment variable: ACE_ROOT, GTK_BASEPATH, GTKMM_BASEPATH, GSL_DIR.&lt;br /&gt;
# Add this to the PATH environment variable: %ACE_ROOT%/lib (important: make sure you put it at the beginning of the PATH environment variable, to avoid conflicts with other existing ACE versions on the system)&lt;br /&gt;
# ACE_ROOT is ACE dir (e.g., C:/ace_wrappers).&lt;br /&gt;
# GTK_BASEPATH and GTKMM_BASEPATH is GTKMM dir (C:/gtkmm).&lt;br /&gt;
# GSL_DIR is GSL dir (C:/gsl-1.8).&lt;br /&gt;
# Set the YARP_ROOT, YARP_DIR environment variables.&lt;br /&gt;
# Add this to the PATH enviroment variable: %YARP_DIR%/bin/Release (and/or Debug). Note: these directories will be created later&lt;br /&gt;
# YARP_ROOT is yarp dir (C:/yarp2).&lt;br /&gt;
# YARP_DIR is yarp build dir (C:/yarp2/build).&lt;br /&gt;
# Use CMake to build the YARP SLN files. Point the source code to the yarp2 dir, and build to the yarp2/build dir (which will be created now).&lt;br /&gt;
# In CMake, check: CREATE_DEVICE_LIBRARY_MODULES, CREATE_LIB_MATH and, optionally, CREATE_GUIS (don&#039;t uncheck anything!).&lt;br /&gt;
# Click: Configure, Configure, Generate.&lt;br /&gt;
# Go to your YARP_DIR and open YARP.sln with Visual Studio&lt;br /&gt;
# Go to Build-&amp;gt;Batch Build&lt;br /&gt;
# Check ALL_BUILD (Release and/or Debug) and Build!&lt;br /&gt;
&lt;br /&gt;
=== Getting the yarp2 repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
Paste the following command in a console terminal:&lt;br /&gt;
  svn co https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2&lt;br /&gt;
This will create a new directory called &#039;&#039;&#039;yarp2&#039;&#039;&#039; that contains the software. Your environment variables &amp;lt;code&amp;gt;YARP_DIR&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;YARP_ROOT&amp;lt;/code&amp;gt; should be set to that directory (e.g., &amp;lt;code&amp;gt;/home/yourname/yarp2&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== Compiling the yarp2 repository in Linux ==&lt;br /&gt;
&lt;br /&gt;
To compile the yarp2 repository, go to &amp;lt;code&amp;gt;YARP_DIR&amp;lt;/code&amp;gt; and &#039;&#039;&#039;generate the project files&#039;&#039;&#039; with the CMake program with the command&lt;br /&gt;
  ccmake .&lt;br /&gt;
and you obtain a Makefile.&lt;br /&gt;
&lt;br /&gt;
Having generated your project file, only the actual compilation remains to be done. In Linux type &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Updating the yarp2 repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
   cd $YARP_ROOT&lt;br /&gt;
   svn update&lt;br /&gt;
&lt;br /&gt;
=== Downloading YARP as a single file ===&lt;br /&gt;
&lt;br /&gt;
If for whatever reason you cannot use SVN on a machine, or you do not want the very latest revision of the repository, you may just download a single file containing YARP here: [http://eris.liralab.it/yarp/specs/dox/download.html]. Pre-compiled binaries are also available.&lt;br /&gt;
&lt;br /&gt;
== iCub ==&lt;br /&gt;
&lt;br /&gt;
=== Browsing the iCub repository online ===&lt;br /&gt;
&lt;br /&gt;
http://robotcub.svn.sf.net/viewvc/robotcub/trunk/iCub/&lt;br /&gt;
&lt;br /&gt;
=== Getting the iCub repository in Windows ===&lt;br /&gt;
&lt;br /&gt;
Inside TortoiseSVN, use the file manager to browse to the location where you would like to download the code. Right click on an empty region of the window and select &amp;quot;SVN checkout&amp;quot; from the contextual menu.&lt;br /&gt;
&lt;br /&gt;
Type the following string in the entry &amp;quot;URL of repository&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  https://robotcub.svn.sourceforge.net/svnroot/robotcub/trunk/iCub&lt;br /&gt;
&lt;br /&gt;
No password or username will be required.&lt;br /&gt;
&lt;br /&gt;
Note: if you use Cygwin, refer to Linux instructions instead.&lt;br /&gt;
&lt;br /&gt;
=== Installing iCub in Windows ===&lt;br /&gt;
&lt;br /&gt;
# Create enviroment variable: ICUB_ROOT, ICUB_DIR.&lt;br /&gt;
# ICUB_ROOT is iCub dir (e.g., C:/icub).&lt;br /&gt;
# ICUB_DIR is iCub build dir (C:/icub/main/build).&lt;br /&gt;
# Install OpenCV 1.0, available at http://sourceforge.net/projects/opencvlibrary/files/ . Make sure that the variable OPENCV_DIR was created and add %OPENCV_DIR%/bin to the PATH environment variable.&lt;br /&gt;
# If you intend to use the iKin kinematics modules (normally you don&#039;t - this is only needed on servers), then download IPOPT, unzip it and create the environment variable IPOPT_DIR, e.g. C:\Ipopt-3.7.0-win32-msvc8-yarp&lt;br /&gt;
# Use CMake to build the iCub SLN files. Point the source code to the icub/main dir, and build to the icub/main/build dir (which will be created now).&lt;br /&gt;
# In CMake, check YARP_AUTO_LINK (not sure why?) and the modules you might want working (don&#039;t unheck anything!).&lt;br /&gt;
# Click: Configure, Configure, Generate.&lt;br /&gt;
# Go to your ICUB_DIR open iCub.sln&lt;br /&gt;
# Go to Build-&amp;gt;Batch Build&lt;br /&gt;
# Check ALL_BUILD (Release and/or Debug) and Build! (sometimes frameGrabberGui2 will not compile correctly)&lt;br /&gt;
&lt;br /&gt;
=== Getting the iCub repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
Paste the following command in a console terminal:&lt;br /&gt;
  svn co https://robotcub.svn.sourceforge.net/svnroot/robotcub/trunk/iCub&lt;br /&gt;
This will create a new directory called &#039;&#039;&#039;iCub&#039;&#039;&#039; that contains the software. Your environment variables &amp;lt;code&amp;gt;ICUB_DIR&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ICUB_ROOT&amp;lt;/code&amp;gt; should be set to that directory (e.g., &amp;lt;code&amp;gt;/home/yourname/iCub&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Updating the iCub repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
   cd $ICUB_ROOT&lt;br /&gt;
   svn update&lt;br /&gt;
&lt;br /&gt;
=== Downloading iCub snapshot files ===&lt;br /&gt;
&lt;br /&gt;
Periodic snapshots of the iCub repository are available at http://eris.liralab.it/iCub/downloads/src/&lt;br /&gt;
&lt;br /&gt;
Note that there are two types of files:&lt;br /&gt;
* iCub-src-x.y.z.tar.gz: the whole iCub repository, version x.y.z&lt;br /&gt;
* iCub-dep-x.y.z.txt: a list of the libraries, software packages and environment variables that are required to compile the code in snapshot x.y.z, including YARP version number.&lt;br /&gt;
&lt;br /&gt;
== iCub Simulator ==&lt;br /&gt;
&lt;br /&gt;
=== Installing iCub_SIM in Windows ===&lt;br /&gt;
&lt;br /&gt;
To install iCub Simulator (optional):&lt;br /&gt;
# Download the SDL (Simple DirectMedia Layer) from http://www.libsdl.org/ (Development Libraries), unzip it somewhere and note down the directory&lt;br /&gt;
# Download ODE from http://eris.liralab.it/iCub/downloads/packages/windows/msvc8/, unzip it somewhere as well&lt;br /&gt;
# Create environment variables SDLDIR, ODE_DIR:&lt;br /&gt;
## ODE_DIR is ODE dir (e.g., C:/ode-0.11.1).&lt;br /&gt;
## SDLDIR is SDL dir (C:/SDL-1.2.14).&lt;br /&gt;
# Add %SDLDIR%/lib to the PATH variable.&lt;br /&gt;
# Re-Run CMAKE with the ODE, OPENCV and SDL variables checked.&lt;br /&gt;
# Compile project iCub_SIM&lt;br /&gt;
&lt;br /&gt;
== Committing changes to the repositories ==&lt;br /&gt;
&lt;br /&gt;
If you are a developer and you need to add/modify files within the repository, you need two things:&lt;br /&gt;
* a SourceForge.net account; once you have that, send an email to the [http://sourceforge.net/project/memberlist.php?group_id=139262 RobotCub project administrators] to join the project&lt;br /&gt;
* make sure that your SVN client is configured correctly with regard to &#039;&#039;&#039;auto-props&#039;&#039;&#039;, which is a mechanism that takes care of line endings and MIME filetypes according to wildcards (for example, setting some flags for *.txt files and other flags for *.sh). Go [http://www.mediawiki.org/wiki/Subversion/auto-props here] for a better explanation, and check the &#039;Subversion client flags&#039; page (linked below) for auto-props adopted by RobotCub developers.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* http://eris.liralab.it/wiki/Getting_Subversion&lt;br /&gt;
* http://eris.liralab.it/wiki/GettingYARP_svn&lt;br /&gt;
* http://eris.liralab.it/wiki/Getting_the_iCub_software&lt;br /&gt;
* http://eris.liralab.it/wiki/Subversion_client_flags&lt;br /&gt;
&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Kpetkov</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ICub_software&amp;diff=2937</id>
		<title>ICub software</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ICub_software&amp;diff=2937"/>
		<updated>2010-09-28T13:57:38Z</updated>

		<summary type="html">&lt;p&gt;Kpetkov: installing iCub Simulator in Windows - initial version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Effective August 2009, YARP and iCub software repositories have been moved to SourceForge.net servers and must be downloaded with Subversion (SVN).&lt;br /&gt;
&lt;br /&gt;
It is recommended that you rename your old (CVS) iCub and yarp2 directories and do a fresh download of the new SVN repositories.&lt;br /&gt;
&lt;br /&gt;
== Preliminaries ==&lt;br /&gt;
&lt;br /&gt;
You should install an SVN client on your system if you do not have one already. For Windows, [http://tortoisesvn.tigris.org/ TortoiseSVN] is recommended. If you run Linux or other UNIX flavours, chances are high that you can just go ahead using &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; in command line (if that is not the case, install it with &amp;lt;code&amp;gt;apt-get install subversion&amp;lt;/code&amp;gt; or equivalent).&lt;br /&gt;
&lt;br /&gt;
Furthermore, you should install [http://www.cmake.org/ CMake].&lt;br /&gt;
&lt;br /&gt;
== YARP ==&lt;br /&gt;
&lt;br /&gt;
=== Browsing the yarp2 repository online ===&lt;br /&gt;
&lt;br /&gt;
http://yarp0.svn.sf.net/viewvc/yarp0/trunk/yarp2/&lt;br /&gt;
&lt;br /&gt;
=== Getting the yarp2 repository in Windows ===&lt;br /&gt;
&lt;br /&gt;
Inside TortoiseSVN, use the file manager to browse to the location where you would like to download the code. Right click on an empty region of the window and select &amp;quot;SVN checkout&amp;quot; from the contextual menu.&lt;br /&gt;
&lt;br /&gt;
Type the following string in the entry &amp;quot;URL of repository&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2&lt;br /&gt;
&lt;br /&gt;
No password or username will be required.&lt;br /&gt;
&lt;br /&gt;
Note: if you use Cygwin, refer to Linux instructions instead.&lt;br /&gt;
&lt;br /&gt;
=== Installing yarp2 in Windows ===&lt;br /&gt;
&lt;br /&gt;
Note: all environment variables should have &#039;/&#039; and NOT &#039;\&#039; (except in the PATH enviroment variable)! The directories do not need to be the same as the ones presented here, just be sure to alter the environment variables correctly.&lt;br /&gt;
&lt;br /&gt;
# Download ACE and GLS from http://eris.liralab.it/iCub/downloads/packages/windows/msvc8/ ; unzip them to anywhere (don&#039;t forget where :)).&lt;br /&gt;
# If you want GUIs, download GTKMM from http://live.gnome.org/gtkmm/MSWindows and use the installer.&lt;br /&gt;
# Create environment variable: ACE_ROOT, GTK_BASEPATH, GTKMM_BASEPATH, GSL_DIR.&lt;br /&gt;
# Add this to the PATH environment variable: %ACE_ROOT%/lib (important: make sure you put it at the beginning of the PATH environment variable, to avoid conflicts with other existing ACE versions on the system)&lt;br /&gt;
# ACE_ROOT is ACE dir (e.g., C:/ace_wrappers).&lt;br /&gt;
# GTK_BASEPATH and GTKMM_BASEPATH is GTKMM dir (C:/gtkmm).&lt;br /&gt;
# GSL_DIR is GSL dir (C:/gsl-1.8).&lt;br /&gt;
# Set the YARP_ROOT, YARP_DIR environment variables.&lt;br /&gt;
# Add this to the PATH enviroment variable: %YARP_DIR%/bin/Release (and/or Debug). Note: these directories will be created later&lt;br /&gt;
# YARP_ROOT is yarp dir (C:/yarp2).&lt;br /&gt;
# YARP_DIR is yarp build dir (C:/yarp2/build).&lt;br /&gt;
# Use CMake to build the YARP SLN files. Point the source code to the yarp2 dir, and build to the yarp2/build dir (which will be created now).&lt;br /&gt;
# In CMake, check: CREATE_DEVICE_LIBRARY_MODULES, CREATE_LIB_MATH and, optionally, CREATE_GUIS (don&#039;t uncheck anything!).&lt;br /&gt;
# Click: Configure, Configure, Generate.&lt;br /&gt;
# Go to your YARP_DIR and open YARP.sln with Visual Studio&lt;br /&gt;
# Go to Build-&amp;gt;Batch Build&lt;br /&gt;
# Check ALL_BUILD (Release and/or Debug) and Build!&lt;br /&gt;
&lt;br /&gt;
=== Getting the yarp2 repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
Paste the following command in a console terminal:&lt;br /&gt;
  svn co https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2&lt;br /&gt;
This will create a new directory called &#039;&#039;&#039;yarp2&#039;&#039;&#039; that contains the software. Your environment variables &amp;lt;code&amp;gt;YARP_DIR&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;YARP_ROOT&amp;lt;/code&amp;gt; should be set to that directory (e.g., &amp;lt;code&amp;gt;/home/yourname/yarp2&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Updating the yarp2 repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
   cd $YARP_ROOT&lt;br /&gt;
   svn update&lt;br /&gt;
&lt;br /&gt;
=== Downloading YARP as a single file ===&lt;br /&gt;
&lt;br /&gt;
If for whatever reason you cannot use SVN on a machine, or you do not want the very latest revision of the repository, you may just download a single file containing YARP here: [http://eris.liralab.it/yarp/specs/dox/download.html]. Pre-compiled binaries are also available.&lt;br /&gt;
&lt;br /&gt;
== iCub ==&lt;br /&gt;
&lt;br /&gt;
=== Browsing the iCub repository online ===&lt;br /&gt;
&lt;br /&gt;
http://robotcub.svn.sf.net/viewvc/robotcub/trunk/iCub/&lt;br /&gt;
&lt;br /&gt;
=== Getting the iCub repository in Windows ===&lt;br /&gt;
&lt;br /&gt;
Inside TortoiseSVN, use the file manager to browse to the location where you would like to download the code. Right click on an empty region of the window and select &amp;quot;SVN checkout&amp;quot; from the contextual menu.&lt;br /&gt;
&lt;br /&gt;
Type the following string in the entry &amp;quot;URL of repository&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  https://robotcub.svn.sourceforge.net/svnroot/robotcub/trunk/iCub&lt;br /&gt;
&lt;br /&gt;
No password or username will be required.&lt;br /&gt;
&lt;br /&gt;
Note: if you use Cygwin, refer to Linux instructions instead.&lt;br /&gt;
&lt;br /&gt;
=== Installing iCub in Windows ===&lt;br /&gt;
&lt;br /&gt;
# Create enviroment variable: ICUB_ROOT, ICUB_DIR.&lt;br /&gt;
# ICUB_ROOT is iCub dir (e.g., C:/icub).&lt;br /&gt;
# ICUB_DIR is iCub build dir (C:/icub/main/build).&lt;br /&gt;
# Install OpenCV 1.0, available at http://sourceforge.net/projects/opencvlibrary/files/ . Make sure that the variable OPENCV_DIR was created and add %OPENCV_DIR%/bin to the PATH environment variable.&lt;br /&gt;
# If you intend to use the iKin kinematics modules (normally you don&#039;t - this is only needed on servers), then download IPOPT, unzip it and create the environment variable IPOPT_DIR, e.g. C:\Ipopt-3.7.0-win32-msvc8-yarp&lt;br /&gt;
# Use CMake to build the iCub SLN files. Point the source code to the icub/main dir, and build to the icub/main/build dir (which will be created now).&lt;br /&gt;
# In CMake, check YARP_AUTO_LINK (not sure why?) and the modules you might want working (don&#039;t unheck anything!).&lt;br /&gt;
# Click: Configure, Configure, Generate.&lt;br /&gt;
# Go to your ICUB_DIR open iCub.sln&lt;br /&gt;
# Go to Build-&amp;gt;Batch Build&lt;br /&gt;
# Check ALL_BUILD (Release and/or Debug) and Build! (sometimes frameGrabberGui2 will not compile correctly)&lt;br /&gt;
&lt;br /&gt;
=== Getting the iCub repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
Paste the following command in a console terminal:&lt;br /&gt;
  svn co https://robotcub.svn.sourceforge.net/svnroot/robotcub/trunk/iCub&lt;br /&gt;
This will create a new directory called &#039;&#039;&#039;iCub&#039;&#039;&#039; that contains the software. Your environment variables &amp;lt;code&amp;gt;ICUB_DIR&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ICUB_ROOT&amp;lt;/code&amp;gt; should be set to that directory (e.g., &amp;lt;code&amp;gt;/home/yourname/iCub&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Updating the iCub repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
   cd $ICUB_ROOT&lt;br /&gt;
   svn update&lt;br /&gt;
&lt;br /&gt;
=== Downloading iCub snapshot files ===&lt;br /&gt;
&lt;br /&gt;
Periodic snapshots of the iCub repository are available at http://eris.liralab.it/iCub/downloads/src/&lt;br /&gt;
&lt;br /&gt;
Note that there are two types of files:&lt;br /&gt;
* iCub-src-x.y.z.tar.gz: the whole iCub repository, version x.y.z&lt;br /&gt;
* iCub-dep-x.y.z.txt: a list of the libraries, software packages and environment variables that are required to compile the code in snapshot x.y.z, including YARP version number.&lt;br /&gt;
&lt;br /&gt;
== iCub Simulator ==&lt;br /&gt;
&lt;br /&gt;
=== Installing iCub_SIM in Windows ===&lt;br /&gt;
&lt;br /&gt;
To install iCub Simulator (optional):&lt;br /&gt;
# Download the SDL (Simple DirectMedia Layer) from http://www.libsdl.org/ (Development Libraries), unzip it somewhere and note down the directory&lt;br /&gt;
# Download ODE from http://eris.liralab.it/iCub/downloads/packages/windows/msvc8/, unzip it somewhere as well&lt;br /&gt;
# Create environment variables SDLDIR, ODE_DIR:&lt;br /&gt;
## ODE_DIR is ODE dir (e.g., C:/ode-0.11.1).&lt;br /&gt;
## SDLDIR is SDL dir (C:/SDL-1.2.14).&lt;br /&gt;
# Add %SDLDIR%/lib to the PATH variable.&lt;br /&gt;
# Re-Run CMAKE with the ODE, OPENCV and SDL variables checked.&lt;br /&gt;
# Compile project iCub_SIM&lt;br /&gt;
&lt;br /&gt;
== Compiling the repositories ==&lt;br /&gt;
&lt;br /&gt;
To compile the yarp2 (respectively, iCub) repository, go to &amp;lt;code&amp;gt;YARP_DIR&amp;lt;/code&amp;gt; (respectively, &amp;lt;code&amp;gt;ICUB_DIR&amp;lt;/code&amp;gt;) and &#039;&#039;&#039;generate the project files&#039;&#039;&#039; with the CMake program. In Linux you do this with the command&lt;br /&gt;
  ccmake .&lt;br /&gt;
and you obtain a Makefile, while in Windows you do it with the CMake GUI and you obtain Microsoft Visual Studio solution files (&amp;lt;code&amp;gt;sln&amp;lt;/code&amp;gt; extension).&lt;br /&gt;
&lt;br /&gt;
Having generated your project file, only the actual compilation remains to be done. In Linux type &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;, in Windows build the VS solution.&lt;br /&gt;
&lt;br /&gt;
== Committing changes to the repositories ==&lt;br /&gt;
&lt;br /&gt;
If you are a developer and you need to add/modify files within the repository, you need two things:&lt;br /&gt;
* a SourceForge.net account; once you have that, send an email to the [http://sourceforge.net/project/memberlist.php?group_id=139262 RobotCub project administrators] to join the project&lt;br /&gt;
* make sure that your SVN client is configured correctly with regard to &#039;&#039;&#039;auto-props&#039;&#039;&#039;, which is a mechanism that takes care of line endings and MIME filetypes according to wildcards (for example, setting some flags for *.txt files and other flags for *.sh). Go [http://www.mediawiki.org/wiki/Subversion/auto-props here] for a better explanation, and check the &#039;Subversion client flags&#039; page (linked below) for auto-props adopted by RobotCub developers.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* http://eris.liralab.it/wiki/Getting_Subversion&lt;br /&gt;
* http://eris.liralab.it/wiki/GettingYARP_svn&lt;br /&gt;
* http://eris.liralab.it/wiki/Getting_the_iCub_software&lt;br /&gt;
* http://eris.liralab.it/wiki/Subversion_client_flags&lt;br /&gt;
&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Kpetkov</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ICub_software&amp;diff=2936</id>
		<title>ICub software</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ICub_software&amp;diff=2936"/>
		<updated>2010-09-28T13:51:44Z</updated>

		<summary type="html">&lt;p&gt;Kpetkov: /* iCub */ installing iCub in Windows - initial version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Effective August 2009, YARP and iCub software repositories have been moved to SourceForge.net servers and must be downloaded with Subversion (SVN).&lt;br /&gt;
&lt;br /&gt;
It is recommended that you rename your old (CVS) iCub and yarp2 directories and do a fresh download of the new SVN repositories.&lt;br /&gt;
&lt;br /&gt;
== Preliminaries ==&lt;br /&gt;
&lt;br /&gt;
You should install an SVN client on your system if you do not have one already. For Windows, [http://tortoisesvn.tigris.org/ TortoiseSVN] is recommended. If you run Linux or other UNIX flavours, chances are high that you can just go ahead using &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; in command line (if that is not the case, install it with &amp;lt;code&amp;gt;apt-get install subversion&amp;lt;/code&amp;gt; or equivalent).&lt;br /&gt;
&lt;br /&gt;
Furthermore, you should install [http://www.cmake.org/ CMake].&lt;br /&gt;
&lt;br /&gt;
== YARP ==&lt;br /&gt;
&lt;br /&gt;
=== Browsing the yarp2 repository online ===&lt;br /&gt;
&lt;br /&gt;
http://yarp0.svn.sf.net/viewvc/yarp0/trunk/yarp2/&lt;br /&gt;
&lt;br /&gt;
=== Getting the yarp2 repository in Windows ===&lt;br /&gt;
&lt;br /&gt;
Inside TortoiseSVN, use the file manager to browse to the location where you would like to download the code. Right click on an empty region of the window and select &amp;quot;SVN checkout&amp;quot; from the contextual menu.&lt;br /&gt;
&lt;br /&gt;
Type the following string in the entry &amp;quot;URL of repository&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2&lt;br /&gt;
&lt;br /&gt;
No password or username will be required.&lt;br /&gt;
&lt;br /&gt;
Note: if you use Cygwin, refer to Linux instructions instead.&lt;br /&gt;
&lt;br /&gt;
=== Installing yarp2 in Windows ===&lt;br /&gt;
&lt;br /&gt;
Note: all environment variables should have &#039;/&#039; and NOT &#039;\&#039; (except in the PATH enviroment variable)! The directories do not need to be the same as the ones presented here, just be sure to alter the environment variables correctly.&lt;br /&gt;
&lt;br /&gt;
# Download ACE and GLS from http://eris.liralab.it/iCub/downloads/packages/windows/msvc8/ ; unzip them to anywhere (don&#039;t forget where :)).&lt;br /&gt;
# If you want GUIs, download GTKMM from http://live.gnome.org/gtkmm/MSWindows and use the installer.&lt;br /&gt;
# Create environment variable: ACE_ROOT, GTK_BASEPATH, GTKMM_BASEPATH, GSL_DIR.&lt;br /&gt;
# Add this to the PATH environment variable: %ACE_ROOT%/lib (important: make sure you put it at the beginning of the PATH environment variable, to avoid conflicts with other existing ACE versions on the system)&lt;br /&gt;
# ACE_ROOT is ACE dir (e.g., C:/ace_wrappers).&lt;br /&gt;
# GTK_BASEPATH and GTKMM_BASEPATH is GTKMM dir (C:/gtkmm).&lt;br /&gt;
# GSL_DIR is GSL dir (C:/gsl-1.8).&lt;br /&gt;
# Set the YARP_ROOT, YARP_DIR environment variables.&lt;br /&gt;
# Add this to the PATH enviroment variable: %YARP_DIR%/bin/Release (and/or Debug). Note: these directories will be created later&lt;br /&gt;
# YARP_ROOT is yarp dir (C:/yarp2).&lt;br /&gt;
# YARP_DIR is yarp build dir (C:/yarp2/build).&lt;br /&gt;
# Use CMake to build the YARP SLN files. Point the source code to the yarp2 dir, and build to the yarp2/build dir (which will be created now).&lt;br /&gt;
# In CMake, check: CREATE_DEVICE_LIBRARY_MODULES, CREATE_LIB_MATH and, optionally, CREATE_GUIS (don&#039;t uncheck anything!).&lt;br /&gt;
# Click: Configure, Configure, Generate.&lt;br /&gt;
# Go to your YARP_DIR and open YARP.sln with Visual Studio&lt;br /&gt;
# Go to Build-&amp;gt;Batch Build&lt;br /&gt;
# Check ALL_BUILD (Release and/or Debug) and Build!&lt;br /&gt;
&lt;br /&gt;
=== Getting the yarp2 repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
Paste the following command in a console terminal:&lt;br /&gt;
  svn co https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2&lt;br /&gt;
This will create a new directory called &#039;&#039;&#039;yarp2&#039;&#039;&#039; that contains the software. Your environment variables &amp;lt;code&amp;gt;YARP_DIR&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;YARP_ROOT&amp;lt;/code&amp;gt; should be set to that directory (e.g., &amp;lt;code&amp;gt;/home/yourname/yarp2&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Updating the yarp2 repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
   cd $YARP_ROOT&lt;br /&gt;
   svn update&lt;br /&gt;
&lt;br /&gt;
=== Downloading YARP as a single file ===&lt;br /&gt;
&lt;br /&gt;
If for whatever reason you cannot use SVN on a machine, or you do not want the very latest revision of the repository, you may just download a single file containing YARP here: [http://eris.liralab.it/yarp/specs/dox/download.html]. Pre-compiled binaries are also available.&lt;br /&gt;
&lt;br /&gt;
== iCub ==&lt;br /&gt;
&lt;br /&gt;
=== Browsing the iCub repository online ===&lt;br /&gt;
&lt;br /&gt;
http://robotcub.svn.sf.net/viewvc/robotcub/trunk/iCub/&lt;br /&gt;
&lt;br /&gt;
=== Getting the iCub repository in Windows ===&lt;br /&gt;
&lt;br /&gt;
Inside TortoiseSVN, use the file manager to browse to the location where you would like to download the code. Right click on an empty region of the window and select &amp;quot;SVN checkout&amp;quot; from the contextual menu.&lt;br /&gt;
&lt;br /&gt;
Type the following string in the entry &amp;quot;URL of repository&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  https://robotcub.svn.sourceforge.net/svnroot/robotcub/trunk/iCub&lt;br /&gt;
&lt;br /&gt;
No password or username will be required.&lt;br /&gt;
&lt;br /&gt;
Note: if you use Cygwin, refer to Linux instructions instead.&lt;br /&gt;
&lt;br /&gt;
=== Installing iCub in Windows ===&lt;br /&gt;
&lt;br /&gt;
# Create enviroment variable: ICUB_ROOT, ICUB_DIR.&lt;br /&gt;
# ICUB_ROOT is iCub dir (e.g., C:/icub).&lt;br /&gt;
# ICUB_DIR is iCub build dir (C:/icub/main/build).&lt;br /&gt;
# Install OpenCV 1.0, available at http://sourceforge.net/projects/opencvlibrary/files/ . Make sure that the variable OPENCV_DIR was created and add %OPENCV_DIR%/bin to the PATH environment variable.&lt;br /&gt;
# If you intend to use the iKin kinematics modules (normally you don&#039;t - this is only needed on servers), then download IPOPT, unzip it and create the environment variable IPOPT_DIR, e.g. C:\Ipopt-3.7.0-win32-msvc8-yarp&lt;br /&gt;
# Use CMake to build the iCub SLN files. Point the source code to the icub/main dir, and build to the icub/main/build dir (which will be created now).&lt;br /&gt;
# In CMake, check YARP_AUTO_LINK (not sure why?) and the modules you might want working (don&#039;t unheck anything!).&lt;br /&gt;
# Click: Configure, Configure, Generate.&lt;br /&gt;
# Go to your ICUB_DIR open iCub.sln&lt;br /&gt;
# Go to Build-&amp;gt;Batch Build&lt;br /&gt;
# Check ALL_BUILD (Release and/or Debug) and Build! (sometimes frameGrabberGui2 will not compile correctly)&lt;br /&gt;
&lt;br /&gt;
=== Getting the iCub repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
Paste the following command in a console terminal:&lt;br /&gt;
  svn co https://robotcub.svn.sourceforge.net/svnroot/robotcub/trunk/iCub&lt;br /&gt;
This will create a new directory called &#039;&#039;&#039;iCub&#039;&#039;&#039; that contains the software. Your environment variables &amp;lt;code&amp;gt;ICUB_DIR&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ICUB_ROOT&amp;lt;/code&amp;gt; should be set to that directory (e.g., &amp;lt;code&amp;gt;/home/yourname/iCub&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Updating the iCub repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
   cd $ICUB_ROOT&lt;br /&gt;
   svn update&lt;br /&gt;
&lt;br /&gt;
=== Downloading iCub snapshot files ===&lt;br /&gt;
&lt;br /&gt;
Periodic snapshots of the iCub repository are available at http://eris.liralab.it/iCub/downloads/src/&lt;br /&gt;
&lt;br /&gt;
Note that there are two types of files:&lt;br /&gt;
* iCub-src-x.y.z.tar.gz: the whole iCub repository, version x.y.z&lt;br /&gt;
* iCub-dep-x.y.z.txt: a list of the libraries, software packages and environment variables that are required to compile the code in snapshot x.y.z, including YARP version number.&lt;br /&gt;
&lt;br /&gt;
== Compiling the repositories ==&lt;br /&gt;
&lt;br /&gt;
To compile the yarp2 (respectively, iCub) repository, go to &amp;lt;code&amp;gt;YARP_DIR&amp;lt;/code&amp;gt; (respectively, &amp;lt;code&amp;gt;ICUB_DIR&amp;lt;/code&amp;gt;) and &#039;&#039;&#039;generate the project files&#039;&#039;&#039; with the CMake program. In Linux you do this with the command&lt;br /&gt;
  ccmake .&lt;br /&gt;
and you obtain a Makefile, while in Windows you do it with the CMake GUI and you obtain Microsoft Visual Studio solution files (&amp;lt;code&amp;gt;sln&amp;lt;/code&amp;gt; extension).&lt;br /&gt;
&lt;br /&gt;
Having generated your project file, only the actual compilation remains to be done. In Linux type &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;, in Windows build the VS solution.&lt;br /&gt;
&lt;br /&gt;
== Committing changes to the repositories ==&lt;br /&gt;
&lt;br /&gt;
If you are a developer and you need to add/modify files within the repository, you need two things:&lt;br /&gt;
* a SourceForge.net account; once you have that, send an email to the [http://sourceforge.net/project/memberlist.php?group_id=139262 RobotCub project administrators] to join the project&lt;br /&gt;
* make sure that your SVN client is configured correctly with regard to &#039;&#039;&#039;auto-props&#039;&#039;&#039;, which is a mechanism that takes care of line endings and MIME filetypes according to wildcards (for example, setting some flags for *.txt files and other flags for *.sh). Go [http://www.mediawiki.org/wiki/Subversion/auto-props here] for a better explanation, and check the &#039;Subversion client flags&#039; page (linked below) for auto-props adopted by RobotCub developers.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* http://eris.liralab.it/wiki/Getting_Subversion&lt;br /&gt;
* http://eris.liralab.it/wiki/GettingYARP_svn&lt;br /&gt;
* http://eris.liralab.it/wiki/Getting_the_iCub_software&lt;br /&gt;
* http://eris.liralab.it/wiki/Subversion_client_flags&lt;br /&gt;
&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Kpetkov</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ICub_software&amp;diff=2935</id>
		<title>ICub software</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ICub_software&amp;diff=2935"/>
		<updated>2010-09-28T13:44:31Z</updated>

		<summary type="html">&lt;p&gt;Kpetkov: change section level&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Effective August 2009, YARP and iCub software repositories have been moved to SourceForge.net servers and must be downloaded with Subversion (SVN).&lt;br /&gt;
&lt;br /&gt;
It is recommended that you rename your old (CVS) iCub and yarp2 directories and do a fresh download of the new SVN repositories.&lt;br /&gt;
&lt;br /&gt;
== Preliminaries ==&lt;br /&gt;
&lt;br /&gt;
You should install an SVN client on your system if you do not have one already. For Windows, [http://tortoisesvn.tigris.org/ TortoiseSVN] is recommended. If you run Linux or other UNIX flavours, chances are high that you can just go ahead using &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; in command line (if that is not the case, install it with &amp;lt;code&amp;gt;apt-get install subversion&amp;lt;/code&amp;gt; or equivalent).&lt;br /&gt;
&lt;br /&gt;
Furthermore, you should install [http://www.cmake.org/ CMake].&lt;br /&gt;
&lt;br /&gt;
== YARP ==&lt;br /&gt;
&lt;br /&gt;
=== Browsing the yarp2 repository online ===&lt;br /&gt;
&lt;br /&gt;
http://yarp0.svn.sf.net/viewvc/yarp0/trunk/yarp2/&lt;br /&gt;
&lt;br /&gt;
=== Getting the yarp2 repository in Windows ===&lt;br /&gt;
&lt;br /&gt;
Inside TortoiseSVN, use the file manager to browse to the location where you would like to download the code. Right click on an empty region of the window and select &amp;quot;SVN checkout&amp;quot; from the contextual menu.&lt;br /&gt;
&lt;br /&gt;
Type the following string in the entry &amp;quot;URL of repository&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2&lt;br /&gt;
&lt;br /&gt;
No password or username will be required.&lt;br /&gt;
&lt;br /&gt;
Note: if you use Cygwin, refer to Linux instructions instead.&lt;br /&gt;
&lt;br /&gt;
=== Installing yarp2 in Windows ===&lt;br /&gt;
&lt;br /&gt;
Note: all environment variables should have &#039;/&#039; and NOT &#039;\&#039; (except in the PATH enviroment variable)! The directories do not need to be the same as the ones presented here, just be sure to alter the environment variables correctly.&lt;br /&gt;
&lt;br /&gt;
# Download ACE and GLS from http://eris.liralab.it/iCub/downloads/packages/windows/msvc8/ ; unzip them to anywhere (don&#039;t forget where :)).&lt;br /&gt;
# If you want GUIs, download GTKMM from http://live.gnome.org/gtkmm/MSWindows and use the installer.&lt;br /&gt;
# Create environment variable: ACE_ROOT, GTK_BASEPATH, GTKMM_BASEPATH, GSL_DIR.&lt;br /&gt;
# Add this to the PATH environment variable: %ACE_ROOT%/lib (important: make sure you put it at the beginning of the PATH environment variable, to avoid conflicts with other existing ACE versions on the system)&lt;br /&gt;
# ACE_ROOT is ACE dir (e.g., C:/ace_wrappers).&lt;br /&gt;
# GTK_BASEPATH and GTKMM_BASEPATH is GTKMM dir (C:/gtkmm).&lt;br /&gt;
# GSL_DIR is GSL dir (C:/gsl-1.8).&lt;br /&gt;
# Set the YARP_ROOT, YARP_DIR environment variables.&lt;br /&gt;
# Add this to the PATH enviroment variable: %YARP_DIR%/bin/Release (and/or Debug). Note: these directories will be created later&lt;br /&gt;
# YARP_ROOT is yarp dir (C:/yarp2).&lt;br /&gt;
# YARP_DIR is yarp build dir (C:/yarp2/build).&lt;br /&gt;
# Use CMake to build the YARP SLN files. Point the source code to the yarp2 dir, and build to the yarp2/build dir (which will be created now).&lt;br /&gt;
# In CMake, check: CREATE_DEVICE_LIBRARY_MODULES, CREATE_LIB_MATH and, optionally, CREATE_GUIS (don&#039;t uncheck anything!).&lt;br /&gt;
# Click: Configure, Configure, Generate.&lt;br /&gt;
# Go to your YARP_DIR and open YARP.sln with Visual Studio&lt;br /&gt;
# Go to Build-&amp;gt;Batch Build&lt;br /&gt;
# Check ALL_BUILD (Release and/or Debug) and Build!&lt;br /&gt;
&lt;br /&gt;
=== Getting the yarp2 repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
Paste the following command in a console terminal:&lt;br /&gt;
  svn co https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2&lt;br /&gt;
This will create a new directory called &#039;&#039;&#039;yarp2&#039;&#039;&#039; that contains the software. Your environment variables &amp;lt;code&amp;gt;YARP_DIR&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;YARP_ROOT&amp;lt;/code&amp;gt; should be set to that directory (e.g., &amp;lt;code&amp;gt;/home/yourname/yarp2&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Updating the yarp2 repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
   cd $YARP_ROOT&lt;br /&gt;
   svn update&lt;br /&gt;
&lt;br /&gt;
=== Downloading YARP as a single file ===&lt;br /&gt;
&lt;br /&gt;
If for whatever reason you cannot use SVN on a machine, or you do not want the very latest revision of the repository, you may just download a single file containing YARP here: [http://eris.liralab.it/yarp/specs/dox/download.html]. Pre-compiled binaries are also available.&lt;br /&gt;
&lt;br /&gt;
== iCub ==&lt;br /&gt;
&lt;br /&gt;
=== Browsing the iCub repository online ===&lt;br /&gt;
&lt;br /&gt;
http://robotcub.svn.sf.net/viewvc/robotcub/trunk/iCub/&lt;br /&gt;
&lt;br /&gt;
=== Getting the iCub repository in Windows ===&lt;br /&gt;
&lt;br /&gt;
Inside TortoiseSVN, use the file manager to browse to the location where you would like to download the code. Right click on an empty region of the window and select &amp;quot;SVN checkout&amp;quot; from the contextual menu.&lt;br /&gt;
&lt;br /&gt;
Type the following string in the entry &amp;quot;URL of repository&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  https://robotcub.svn.sourceforge.net/svnroot/robotcub/trunk/iCub&lt;br /&gt;
&lt;br /&gt;
No password or username will be required.&lt;br /&gt;
&lt;br /&gt;
Note: if you use Cygwin, refer to Linux instructions instead.&lt;br /&gt;
&lt;br /&gt;
=== Getting the iCub repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
Paste the following command in a console terminal:&lt;br /&gt;
  svn co https://robotcub.svn.sourceforge.net/svnroot/robotcub/trunk/iCub&lt;br /&gt;
This will create a new directory called &#039;&#039;&#039;iCub&#039;&#039;&#039; that contains the software. Your environment variables &amp;lt;code&amp;gt;ICUB_DIR&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ICUB_ROOT&amp;lt;/code&amp;gt; should be set to that directory (e.g., &amp;lt;code&amp;gt;/home/yourname/iCub&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Updating the iCub repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
   cd $ICUB_ROOT&lt;br /&gt;
   svn update&lt;br /&gt;
&lt;br /&gt;
=== Downloading iCub snapshot files ===&lt;br /&gt;
&lt;br /&gt;
Periodic snapshots of the iCub repository are available at http://eris.liralab.it/iCub/downloads/src/&lt;br /&gt;
&lt;br /&gt;
Note that there are two types of files:&lt;br /&gt;
* iCub-src-x.y.z.tar.gz: the whole iCub repository, version x.y.z&lt;br /&gt;
* iCub-dep-x.y.z.txt: a list of the libraries, software packages and environment variables that are required to compile the code in snapshot x.y.z, including YARP version number.&lt;br /&gt;
&lt;br /&gt;
== Compiling the repositories ==&lt;br /&gt;
&lt;br /&gt;
To compile the yarp2 (respectively, iCub) repository, go to &amp;lt;code&amp;gt;YARP_DIR&amp;lt;/code&amp;gt; (respectively, &amp;lt;code&amp;gt;ICUB_DIR&amp;lt;/code&amp;gt;) and &#039;&#039;&#039;generate the project files&#039;&#039;&#039; with the CMake program. In Linux you do this with the command&lt;br /&gt;
  ccmake .&lt;br /&gt;
and you obtain a Makefile, while in Windows you do it with the CMake GUI and you obtain Microsoft Visual Studio solution files (&amp;lt;code&amp;gt;sln&amp;lt;/code&amp;gt; extension).&lt;br /&gt;
&lt;br /&gt;
Having generated your project file, only the actual compilation remains to be done. In Linux type &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;, in Windows build the VS solution.&lt;br /&gt;
&lt;br /&gt;
== Committing changes to the repositories ==&lt;br /&gt;
&lt;br /&gt;
If you are a developer and you need to add/modify files within the repository, you need two things:&lt;br /&gt;
* a SourceForge.net account; once you have that, send an email to the [http://sourceforge.net/project/memberlist.php?group_id=139262 RobotCub project administrators] to join the project&lt;br /&gt;
* make sure that your SVN client is configured correctly with regard to &#039;&#039;&#039;auto-props&#039;&#039;&#039;, which is a mechanism that takes care of line endings and MIME filetypes according to wildcards (for example, setting some flags for *.txt files and other flags for *.sh). Go [http://www.mediawiki.org/wiki/Subversion/auto-props here] for a better explanation, and check the &#039;Subversion client flags&#039; page (linked below) for auto-props adopted by RobotCub developers.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* http://eris.liralab.it/wiki/Getting_Subversion&lt;br /&gt;
* http://eris.liralab.it/wiki/GettingYARP_svn&lt;br /&gt;
* http://eris.liralab.it/wiki/Getting_the_iCub_software&lt;br /&gt;
* http://eris.liralab.it/wiki/Subversion_client_flags&lt;br /&gt;
&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Kpetkov</name></author>
	</entry>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ICub_software&amp;diff=2934</id>
		<title>ICub software</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=ICub_software&amp;diff=2934"/>
		<updated>2010-09-28T13:43:03Z</updated>

		<summary type="html">&lt;p&gt;Kpetkov: installing yarp2 in windows - initial version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Effective August 2009, YARP and iCub software repositories have been moved to SourceForge.net servers and must be downloaded with Subversion (SVN).&lt;br /&gt;
&lt;br /&gt;
It is recommended that you rename your old (CVS) iCub and yarp2 directories and do a fresh download of the new SVN repositories.&lt;br /&gt;
&lt;br /&gt;
== Preliminaries ==&lt;br /&gt;
&lt;br /&gt;
You should install an SVN client on your system if you do not have one already. For Windows, [http://tortoisesvn.tigris.org/ TortoiseSVN] is recommended. If you run Linux or other UNIX flavours, chances are high that you can just go ahead using &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt; in command line (if that is not the case, install it with &amp;lt;code&amp;gt;apt-get install subversion&amp;lt;/code&amp;gt; or equivalent).&lt;br /&gt;
&lt;br /&gt;
Furthermore, you should install [http://www.cmake.org/ CMake].&lt;br /&gt;
&lt;br /&gt;
== YARP ==&lt;br /&gt;
&lt;br /&gt;
=== Browsing the yarp2 repository online ===&lt;br /&gt;
&lt;br /&gt;
http://yarp0.svn.sf.net/viewvc/yarp0/trunk/yarp2/&lt;br /&gt;
&lt;br /&gt;
=== Getting the yarp2 repository in Windows ===&lt;br /&gt;
&lt;br /&gt;
Inside TortoiseSVN, use the file manager to browse to the location where you would like to download the code. Right click on an empty region of the window and select &amp;quot;SVN checkout&amp;quot; from the contextual menu.&lt;br /&gt;
&lt;br /&gt;
Type the following string in the entry &amp;quot;URL of repository&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2&lt;br /&gt;
&lt;br /&gt;
No password or username will be required.&lt;br /&gt;
&lt;br /&gt;
Note: if you use Cygwin, refer to Linux instructions instead.&lt;br /&gt;
&lt;br /&gt;
==== Installing yarp2 in Windows ====&lt;br /&gt;
&lt;br /&gt;
Note: all environment variables should have &#039;/&#039; and NOT &#039;\&#039; (except in the PATH enviroment variable)! The directories do not need to be the same as the ones presented here, just be sure to alter the environment variables correctly.&lt;br /&gt;
&lt;br /&gt;
# Download ACE and GLS from http://eris.liralab.it/iCub/downloads/packages/windows/msvc8/ ; unzip them to anywhere (don&#039;t forget where :)).&lt;br /&gt;
# If you want GUIs, download GTKMM from http://live.gnome.org/gtkmm/MSWindows and use the installer.&lt;br /&gt;
# Create environment variable: ACE_ROOT, GTK_BASEPATH, GTKMM_BASEPATH, GSL_DIR.&lt;br /&gt;
# Add this to the PATH environment variable: %ACE_ROOT%/lib (important: make sure you put it at the beginning of the PATH environment variable, to avoid conflicts with other existing ACE versions on the system)&lt;br /&gt;
# ACE_ROOT is ACE dir (e.g., C:/ace_wrappers).&lt;br /&gt;
# GTK_BASEPATH and GTKMM_BASEPATH is GTKMM dir (C:/gtkmm).&lt;br /&gt;
# GSL_DIR is GSL dir (C:/gsl-1.8).&lt;br /&gt;
# Set the YARP_ROOT, YARP_DIR environment variables.&lt;br /&gt;
# Add this to the PATH enviroment variable: %YARP_DIR%/bin/Release (and/or Debug). Note: these directories will be created later&lt;br /&gt;
# YARP_ROOT is yarp dir (C:/yarp2).&lt;br /&gt;
# YARP_DIR is yarp build dir (C:/yarp2/build).&lt;br /&gt;
# Use CMake to build the YARP SLN files. Point the source code to the yarp2 dir, and build to the yarp2/build dir (which will be created now).&lt;br /&gt;
# In CMake, check: CREATE_DEVICE_LIBRARY_MODULES, CREATE_LIB_MATH and, optionally, CREATE_GUIS (don&#039;t uncheck anything!).&lt;br /&gt;
# Click: Configure, Configure, Generate.&lt;br /&gt;
# Go to your YARP_DIR and open YARP.sln with Visual Studio&lt;br /&gt;
# Go to Build-&amp;gt;Batch Build&lt;br /&gt;
# Check ALL_BUILD (Release and/or Debug) and Build!&lt;br /&gt;
&lt;br /&gt;
=== Getting the yarp2 repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
Paste the following command in a console terminal:&lt;br /&gt;
  svn co https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2&lt;br /&gt;
This will create a new directory called &#039;&#039;&#039;yarp2&#039;&#039;&#039; that contains the software. Your environment variables &amp;lt;code&amp;gt;YARP_DIR&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;YARP_ROOT&amp;lt;/code&amp;gt; should be set to that directory (e.g., &amp;lt;code&amp;gt;/home/yourname/yarp2&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Updating the yarp2 repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
   cd $YARP_ROOT&lt;br /&gt;
   svn update&lt;br /&gt;
&lt;br /&gt;
=== Downloading YARP as a single file ===&lt;br /&gt;
&lt;br /&gt;
If for whatever reason you cannot use SVN on a machine, or you do not want the very latest revision of the repository, you may just download a single file containing YARP here: [http://eris.liralab.it/yarp/specs/dox/download.html]. Pre-compiled binaries are also available.&lt;br /&gt;
&lt;br /&gt;
== iCub ==&lt;br /&gt;
&lt;br /&gt;
=== Browsing the iCub repository online ===&lt;br /&gt;
&lt;br /&gt;
http://robotcub.svn.sf.net/viewvc/robotcub/trunk/iCub/&lt;br /&gt;
&lt;br /&gt;
=== Getting the iCub repository in Windows ===&lt;br /&gt;
&lt;br /&gt;
Inside TortoiseSVN, use the file manager to browse to the location where you would like to download the code. Right click on an empty region of the window and select &amp;quot;SVN checkout&amp;quot; from the contextual menu.&lt;br /&gt;
&lt;br /&gt;
Type the following string in the entry &amp;quot;URL of repository&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
  https://robotcub.svn.sourceforge.net/svnroot/robotcub/trunk/iCub&lt;br /&gt;
&lt;br /&gt;
No password or username will be required.&lt;br /&gt;
&lt;br /&gt;
Note: if you use Cygwin, refer to Linux instructions instead.&lt;br /&gt;
&lt;br /&gt;
=== Getting the iCub repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
Paste the following command in a console terminal:&lt;br /&gt;
  svn co https://robotcub.svn.sourceforge.net/svnroot/robotcub/trunk/iCub&lt;br /&gt;
This will create a new directory called &#039;&#039;&#039;iCub&#039;&#039;&#039; that contains the software. Your environment variables &amp;lt;code&amp;gt;ICUB_DIR&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ICUB_ROOT&amp;lt;/code&amp;gt; should be set to that directory (e.g., &amp;lt;code&amp;gt;/home/yourname/iCub&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Updating the iCub repository in Linux ===&lt;br /&gt;
&lt;br /&gt;
   cd $ICUB_ROOT&lt;br /&gt;
   svn update&lt;br /&gt;
&lt;br /&gt;
=== Downloading iCub snapshot files ===&lt;br /&gt;
&lt;br /&gt;
Periodic snapshots of the iCub repository are available at http://eris.liralab.it/iCub/downloads/src/&lt;br /&gt;
&lt;br /&gt;
Note that there are two types of files:&lt;br /&gt;
* iCub-src-x.y.z.tar.gz: the whole iCub repository, version x.y.z&lt;br /&gt;
* iCub-dep-x.y.z.txt: a list of the libraries, software packages and environment variables that are required to compile the code in snapshot x.y.z, including YARP version number.&lt;br /&gt;
&lt;br /&gt;
== Compiling the repositories ==&lt;br /&gt;
&lt;br /&gt;
To compile the yarp2 (respectively, iCub) repository, go to &amp;lt;code&amp;gt;YARP_DIR&amp;lt;/code&amp;gt; (respectively, &amp;lt;code&amp;gt;ICUB_DIR&amp;lt;/code&amp;gt;) and &#039;&#039;&#039;generate the project files&#039;&#039;&#039; with the CMake program. In Linux you do this with the command&lt;br /&gt;
  ccmake .&lt;br /&gt;
and you obtain a Makefile, while in Windows you do it with the CMake GUI and you obtain Microsoft Visual Studio solution files (&amp;lt;code&amp;gt;sln&amp;lt;/code&amp;gt; extension).&lt;br /&gt;
&lt;br /&gt;
Having generated your project file, only the actual compilation remains to be done. In Linux type &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;, in Windows build the VS solution.&lt;br /&gt;
&lt;br /&gt;
== Committing changes to the repositories ==&lt;br /&gt;
&lt;br /&gt;
If you are a developer and you need to add/modify files within the repository, you need two things:&lt;br /&gt;
* a SourceForge.net account; once you have that, send an email to the [http://sourceforge.net/project/memberlist.php?group_id=139262 RobotCub project administrators] to join the project&lt;br /&gt;
* make sure that your SVN client is configured correctly with regard to &#039;&#039;&#039;auto-props&#039;&#039;&#039;, which is a mechanism that takes care of line endings and MIME filetypes according to wildcards (for example, setting some flags for *.txt files and other flags for *.sh). Go [http://www.mediawiki.org/wiki/Subversion/auto-props here] for a better explanation, and check the &#039;Subversion client flags&#039; page (linked below) for auto-props adopted by RobotCub developers.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* http://eris.liralab.it/wiki/Getting_Subversion&lt;br /&gt;
* http://eris.liralab.it/wiki/GettingYARP_svn&lt;br /&gt;
* http://eris.liralab.it/wiki/Getting_the_iCub_software&lt;br /&gt;
* http://eris.liralab.it/wiki/Subversion_client_flags&lt;br /&gt;
&lt;br /&gt;
[[Category:Vislab]]&lt;/div&gt;</summary>
		<author><name>Kpetkov</name></author>
	</entry>
</feed>