Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.45 KB

BUILD_OSX.md

File metadata and controls

22 lines (14 loc) · 1.45 KB

Please read the general build guide for information on dependencies required for all platforms. Only OS X specific instructions are found in this file.

###Homebrew Homebrew is an excellent package manager for OS X. It makes install of all hifi dependencies very simple.

brew tap highfidelity/homebrew-formulas
brew install cmake openssl tbb libsoxr
brew install highfidelity/formulas/qt5
brew link qt5 --force

We have a homebrew formulas repository that you can use/tap to install some of the dependencies. In the code block above qt5 is installed from a formula in this repository.

Our qt5 homebrew formula is for a patched version of Qt 5.3.x stable that removes wireless network scanning that can reduce real-time audio performance. We recommended you use this formula to install Qt.

###Xcode If Xcode is your editor of choice, you can ask CMake to generate Xcode project files instead of Unix Makefiles.

cmake .. -GXcode

After running cmake, you will have the make files or Xcode project file necessary to build all of the components. Open the hifi.xcodeproj file, choose ALL_BUILD from the Product > Scheme menu (or target drop down), and click Run.

If the build completes successfully, you will have built targets for all components located in the build/${target_name}/Debug directories.