Difference between revisions of "Installation/MacOSX"

From PaparazziUAV
Jump to navigation Jump to search
Line 1: Line 1:
The task of building Paparazzi on for Apple MacOS X is on going.
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.
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.


Line 23: Line 24:
# make clean
# make clean
# make
# make
# edit sw/airborne/Makefile and add to the INCLUDES "-I /opt/local/include"


==Configuration==
==Configuration==
Line 28: Line 30:


==Running Paparazzi==
==Running Paparazzi==
Paparazzi can be started by running ./paparazzi.osx
The Paparazzi GCS can be started by running the command
./paparazzi.osx &
 
==Changing the gtk look and feel==
# sudo port install gtk-theme-switch
# Run /opt/local/bin/switch2 to select a different theme
More detailed instructions can be found at http://gtk.php.net/manual/en/html/tutorials/tutorials.installation.macosx-stepbystep.html
 
Additional themes can be downloaded from http://art.gnome.org/themes/gtk2

Revision as of 05:14, 8 January 2011

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. svn co http://svn.tls.cena.fr/svn/ivy/ivy-ocaml/trunk ~/ivy-ocaml
  10. cd ~/ivy-ocaml
  11. make
  12. sudo make install
  13. git clone git://github.com/esden/summon-arm-toolchain.git summon-arm-toolchain-git
  14. cd summon-arm-toolchain-git
  15. edit summon-arm-toolchain and update PREFIX=<your preferred install location>, USE_LINARO=1 and LIBSTM32_EN=1
  16. ./summon-arm-toolchain # Go have another coffee or lunch
  17. edit /etc/profile and add the install bin path to the PATH and MANPATH (PATH=$PATH:<any other stuff>:<PREFIX>/bin and MANPATH=$MANPATH:<any other stuff>:<PREFIX>/share/man
  18. cd <GIT>/paparazzi
  19. make clean
  20. make
  21. edit sw/airborne/Makefile and add to the INCLUDES "-I /opt/local/include"

Configuration

edit <GIT>/conf/control_panel.xml and set the ivy_bus variable to be <your IP Network>:2010

Running Paparazzi

The Paparazzi GCS can be started by running the command

./paparazzi.osx &

Changing the gtk look and feel

  1. sudo port install gtk-theme-switch
  2. Run /opt/local/bin/switch2 to select a different theme

More detailed instructions can be found at http://gtk.php.net/manual/en/html/tutorials/tutorials.installation.macosx-stepbystep.html

Additional themes can be downloaded from http://art.gnome.org/themes/gtk2