Difference between revisions of "PrepareWindows"

From Wiki for iCub and Friends
Jump to: navigation, search
(Remove outdated content)
 
Line 1: Line 1:
These instructions explain how to set up your system to compile YARP and iCub. Here we assume you are using Windows Xp.
 
  
Important: in Windows cmake almost always use environment variables to check availability of the libraries and locate them on the disk. Instructions for installation of each single library explain what environment variable you need.
 
 
'''New''': our repository now contains binaries for most of the required packages, to speed up compilation of our software we recommend you download these zip files.
 
 
http://wiki.icub.org/iCub/downloads/packages/windows
 
 
'''Important''': make sure you download the binaries that match the compiler you use e.g. msvc8 for VS2005, msvc9 for VS 2008, or ''common'' for libraries that are compatible with all compilers.
 
 
== Development environment ==
 
 
You need:
 
* cmake 2.6 (www.cmake.org)
 
* Microsoft Visual Studio 2005 (aka msvc8) or 2008 (aka msvc9).
 
 
If you don't know what cmake is and you are wondering why you need it, please wait until [[CMake_icub | Section 6.6]] of the Manual. Of course you can jump there if you really can't wait.
 
 
== Libraries ==
 
 
=== ACE ===
 
 
In windows you have to get the sources and compiled ace on your system.
 
 
* Which version of ace should I use? Follow this link to find out what is the most suitable version of ace depending on your system:  [[Which version of ACE]].
 
* Follow these instructions to compile ace: [[Compiling ACE]].
 
 
'''Environment variable you should have after this procedure''': ACE_ROOT
 
 
'''After this procedure you should have updated your system path to include''': %ACE_ROOT%/lib
 
 
=== GUIs ===
 
 
GUIs are written using GTK+/GTKMM and Qt3.
 
 
GTK+ and GTKMM:
 
* [[GTK on Windows]]
 
'''Environment variable you should have after this procedure''': GTK_BASEPATH, GTKMM_BASEPATH
 
 
QT3:
 
* [[Qt3 on Windows]]
 
'''Environment variable you should have after this procedure''': QTDIR
 
 
'''After this procedure you should have updated your system path to include''': %QTDIR%/bin
 
 
 
OpenGL:
 
* Nothing special opengl is already available somehow (need to be investigated :D ).
 
'''Environment variable you should have after this procedure''': nothing new.
 
 
GLUT:
 
* [[GLUT on Windows]]
 
 
'''Environment variable you should have after this procedure''': GLUT_DIR
 
'''After this procedure you should have updated your system path to include''': %GLUT_DIR%
 
 
=== Gnu Scientific Library ===
 
 
YARP and some modules in iCub make use of the Gnu Scientific Library.
 
 
Follow instructions here:
 
* [[Installing GSL on Windows | Installing GSL on Windows]]
 
 
 
'''Environment variable you should have after this procedure''': GSL_DIR
 
 
=== OpenCV ===
 
 
Software in iCub makes extensive use of opencv. Follow instructions here:
 
* [[Installing OpenCV on Windows | Installing OpenCV on Windows]]
 
'''Environment variable you should have after this procedure''': OPENCV_DIR
 
 
'''After this procedure you should have updated your system path to include''': %OPENCV_DIR%/bin
 
 
=== IPOPT ===
 
Inverse kinematics modules need the IPOPT library. This is not a requirement but it could be a useful feature. See instructions here:
 
 
* [[Installing IPOPT]]
 
'''Environment variable you should have after this procedure''': IPOPT_DIR
 
 
== Simulator related packages ==
 
The simulator will also need ode and sdl. See the simulator instructions on how to do it, [[ODE|Simulator libraries]].
 
 
'''Environment variable you should have after this procedure''': ODE_DIR and SDLDIR
 
 
'''After this procedure you should have updated your system path to include''': %SDLDIR%/lib
 

Latest revision as of 13:04, 27 April 2020