-
Notifications
You must be signed in to change notification settings - Fork 167
Development OSX setup
The high level description of the setting up a development environment can be found here. This walks you through the process specifically for OSX.
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
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".
SDL - http://www.libsdl.org/release/SDL-1.2.15.dmg
git clone git://github.com/TauLabs/TauLabs.git
cd TauLabs
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
SDL.framework needs to be copied to /Library/Frameworks (probably as root)
At least on Yosemite the file TauLabs/tools/Qt5.3.1/5.3/clang_64/mkspecs/qdevice.pri needs some tweaking. Change "!host_build:QMAKE_MAC_SDK = macosx10.8" to " ... = maxos10.10" if You get the error message "Project ERROR: Could not resolve SDK path for 'macosx10.8'".
You should be ready to go. Type make all
to compile the entire project. Type make
to see a list of possible make arguments. Use 'make package' to create a .dmg containing everything, ready to install.