-
Notifications
You must be signed in to change notification settings - Fork 167
Development OSX setup
This is a work in progress. If you see anything wrong or have extra info, please fix or add it.
This page describes the procedures for setting up a OSX machine to compile TauLabs firmware and GCS software. This setup is based on the [OpenPilot OSX setup]http://wiki.openpilot.org/display/Doc/OS+X%3A+Building+and+Packaging).
In a terminal window, type:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
brew doctor
Install wget to be able to use make XXX_install
brew install wget
git clone git://github.com/TauLabs/TauLabs.git
Xcode. If you do not already have Xcode, the latest version can be gotten from the Apple app store. For Command Line Tools Installation for Xcode >= 4.0: Start Xcode and go through the initial setup. Once Xcode is running, go to Xcode > Preferences > Downloads > Components and install "Command Line Tools".
Qt libraries 5.0 or higher - http://qt-project.org/downloads
Qt Creator - http://qt-project.org/downloads
Arm Toolchain - https://launchpad.net/gcc-arm-embedded/+download
SDL - http://www.libsdl.org/release/SDL-1.2.15.dmg
Install all the downloaded programs.
Wget must be installed to use the following commands
Qt build tools (Be careful to enter the path prompt by the script)
make qt_sdk_install
Arm cross compilation toolchain
make arm_sdk_install
Clone the repository to your computer. You should be ready to go. Type make all
to compile the entire project. Type make
to see a list of possible make arguments.