Installation/MacOSX

From PaparazziUAV
Revision as of 21:17, 7 January 2011 by Rbdavison (talk | contribs)
Jump to navigation Jump to search

The task of building Paparazzi on for Apple MacOS X is on going. The current installation instructions are as follows. As the process evolves and the more people begin to use it the process will become easier and more simplified.

Installation

  1. Latest XCode http://developer.apple.com
  2. MacPorts http://www.macports.org/install.php
  3. sudo port install git-core xml-light caml-ocamlnet libftdi lablgtk2 gmp mpfr libmpc # Go get a coffee… have a sleep. this takes quite long time
  4. sudo port upgrade --enforce-variants libftdi +universal
  5. git clone -o <username> git@github.com:<your github username>/paparazzi.git <-- See the Paparazzi GIT page
  6. svn co http://svn.tls.cena.fr/svn/ivy/ivy-c/trunk ~/ivy-c
  7. cd ~/ivy-c
  8. sudo make -f Makefile.osx PREFIX=/opt/local install
  9. cd <GIT>/paparazzi/sw/lib/ocaml/ivy
  10. make
  11. sudo make install
  12. cd <GIT>/paparazzi
  13. make clean
  14. make
  15. git clone git://github.com/esden/summon-arm-toolchain.git summon-arm-toolchain-git
  16. cd summon-arm-toolchain-git
  17. edit summon-arm-toolchain and update PREFIX=<your preferred install location>, USE_LINARO=1 and LIBSTM32_EN=1
  18. ./summon-arm-toolchain # Go have another coffee or lunch