For Mac OSX, People now have most success with YARP/iCub using the homebrew package manager. If you are lucky, installing YARP could be as easy as:
ruby -e "$(curl -fsSLk https://gist.github.com/raw/323731/install_homebrew.rb)" brew install yarp
See http://mxcl.github.com/homebrew/ In summary: open a terminal (Applications->Utilities->Terminal), and do:
ruby -e "$(curl -fsSLk https://gist.github.com/raw/323731/install_homebrew.rb)"
You should then be able to run commands like:
To install many libraries (including YARP), you'll need to have XCode installed. It may also be necessary to move any "fink"/"macport" libraries out of the way, if you have used those package managers in the past. For example, if you have a "/sw" directory, consider moving it.
Install homebrew and XCode, then from a terminal do:
brew install yarp
Fabien Benureau ran into this problem:
- YARP installation omits some header files.
- Appears to be related to case-sensitivity of filesystem, see cmake bug report here http://itk.org/Bug/view.php?id=10366
- Install YARP.
- Then see http://blog.juxi.net/index.php/2011/05/17/icub-mbp-setup-pt-3/
- The iCub simulator should work well with iCub revision 12798 or later, and YARP version 2.3.8 or later.
Glitches for various iCub dependencies now follow. Ideally, these glitches should get fixed "upstream"
gfortran (needed for ipopt)
This problem should now be fixed through a change to $ICUB_SRC/main/conf/FindIPOPT.cmake - thanks Konstantinos Theofilis
Reported by Ingo Keller:
following links I created after installing gfortran by "brew install gfortran". ln -s /usr/local/Cellar/gfortran/4.2.4-5664/lib/gcc/i686-apple-darwin10/4.2.1/x86_64/libgfortran.a /usr/local/lib/libgfortran.a ln -s /usr/local/Cellar/gfortran/4.2.4-5664/lib/gcc/i686-apple-darwin10/4.2.1/x86_64/libgfortranbegin.a /usr/local/lib/libgfortranbegin.a ln -s /usr/local/Cellar/gfortran/4.2.4-5664/lib/gcc/i686-apple-darwin10/4.2.1/x86_64/libgfortranbegin.la /usr/local/lib/libgfortranbegin.la The problem to the fix was an appearing of "-lgfortranbegin not found" while compiling ipopt depending modules.