This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
icub:yarp_icubsrv [2012/11/12 17:34] – ramirezk | icub:yarp_icubsrv [2012/11/12 17:35] (current) – [YARP installation on the icubsrv (Laptop that comes with the iCub)] ramirezk | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== YARP installation on the icubsrv (Laptop that comes with the iCub) ====== | ||
+ | |||
+ | |||
+ | Make sure that the following programs are installed: | ||
+ | |||
+ | sudo apt-get install cmake libace-dev subversion cmake-curses-gui libgtk2.0-dev libgsl0-dev libreadline-dev g++ libncurses5-dev libgtkmm-2.4-dev libglademm-2.4-dev libcv-dev libhighgui-dev libcvaux-dev libode-dev | ||
+ | | ||
+ | Optional: Install OpenCV from sources: | ||
+ | |||
+ | Download OpenCV from here: [[http:// | ||
+ | this steps: | ||
+ | |||
+ | ===== 1) Get the yarp repositories. ===== | ||
+ | |||
+ | Make sure that the yarp source that you will download is inside: | ||
+ | |||
+ | cd / | ||
+ | |||
+ | NOTE: Please, first make sure that there is no folder named: yarp inside this directory, if so, | ||
+ | move the folder away | ||
+ | mv yarp yarp.cvs | ||
+ | | ||
+ | and download the yarp sources: | ||
+ | cd / | ||
+ | svn co https:// | ||
+ | | ||
+ | Make sure to that the environment variables of yarp are set up correctly | ||
+ | gedit / | ||
+ | export YARP_ROOT=/ | ||
+ | | ||
+ | ===== 2) Create YARP make files ===== | ||
+ | |||
+ | cd / | ||
+ | mkdir build | ||
+ | cd build | ||
+ | ccmake ../ | ||
+ | | ||
+ | Hit ' | ||
+ | |||
+ | CMAKE_BUILD_TYPE to " | ||
+ | CREATE_GUIS, | ||
+ | CREATE_LIB_MATH, | ||
+ | CREATE_YMANAGER, | ||
+ | CREATE_GYARPMANAGER, | ||
+ | |||
+ | Hit ' | ||
+ | |||
+ | ===== 3) Compile YARP ===== | ||
+ | |||
+ | cd / | ||
+ | make | ||
+ | | ||
+ | **IMPORTANT: | ||