This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
icub:icub_pc [2012/11/28 15:11] – jansohn | icub:icub_pc [2013/01/08 13:26] (current) – ramirezk | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Installing iCub on a PC ====== | ||
+ | 1) Make sure that the following packages are installed: | ||
+ | |||
+ | sudo apt-get install libace-dev libgtkmm-2.4-dev libglademm-2.4-dev libqt3-mt-dev libgsl0-dev qt4-qmake libqt4-dev | ||
+ | | ||
+ | Ensure that OpenCV is installed. If you need to install it: [[http:// | ||
+ | | ||
+ | Install IPOPT: | ||
+ | |||
+ | Install | ||
+ | sudo apt-get install libsdl1.2-dev freeglut3-dev | ||
+ | | ||
+ | Install ODE: [[icub: | ||
+ | | ||
+ | |||
+ | 2) Download the complete iCub repository (takes a long time): | ||
+ | |||
+ | mkdir -p ~/ | ||
+ | cd ~/local/src | ||
+ | svn co https:// | ||
+ | | ||
+ | Or download only the main sources: | ||
+ | | ||
+ | mkdir -p ~/ | ||
+ | cd ~/ | ||
+ | svn co https:// | ||
+ | svn co https:// | ||
+ | | ||
+ | 3) Configure iCub | ||
+ | cd $ICUB_ROOT/ | ||
+ | mkdir build && cd build | ||
+ | ccmake -D CMAKE_BUILD_TYPE=Release -D ENABLE_icubmod_cartesiancontrollerclient=ON -D ENABLE_icubmod_cartesiancontrollerserver=ON -D ENABLE_icubmod_debugInterfaceClient=ON -D ENABLE_icubmod_gazecontrollerclient=ON -D ICUB_INSTALL_APPLICATIONS=ON -D USE_ODE_DOUBLE=ON .. | ||
+ | |||
+ | Hit ' | ||
+ | CMAKE_BUILD_TYPE to " | ||
+ | ENABLE_icubmod_cartesiancontrollerclient ON | ||
+ | ENABLE_icubmod_cartesiancontrollerserver ON | ||
+ | ENABLE_icubmod_debug_InterfaceClient | ||
+ | ENABLE_icubmod_gazecontrollerclient | ||
+ | ICUB_INSTALL_APPLICATIONS | ||
+ | USE_ODE_DOUBLE | ||
+ | |||
+ | Hit ' | ||
+ | |||
+ | 4) Compile iCub | ||
+ | make | ||
+ | sudo make install | ||
+ | make install_applications | ||
+ | | ||
+ | ==== ERRORS during iCub installation: | ||
+ | |||
+ | 1) From Ubuntu 12.10 on qt3 has been removed from the repositories. To still install this package open | ||
+ | sudo gedit / | ||
+ | and add the line | ||
+ | deb http:// | ||
+ | After updating the catalogue you will be able to install libqt3-mt-dev and its dependencies. | ||
+ | sudo apt-get update && sudo apt-get install libqt3-mt-dev | ||
+ | | ||
+ | 2) If you have the following error, while testing the iCub_SIM: | ||
+ | iCub_SIM: error while loading shared libraries: libode.so.3: | ||
+ | | ||
+ | This error will be fixed with: | ||
+ | sudo ldconfig | ||
+ | | ||
+ | |