Skip to content
Tres Finocchiaro edited this page Jun 2, 2017 · 35 revisions

Xcode

  • Xcode>=4.6.3* is required for compilation.

    * If recently upgraded OS make sure your XCode isn't outdated by running open -a XCode, or via Applications.

  • Xcode Command Line Utilities* must be activated.

    sudo xcode-select --install
    sudo xcodebuild -license

    *Alternately via Applications, Xcode, Xcode Preferences menu, Downloads tab, Command Line Tools, Install

Homebrew

  • Homebrew* or an equivelent package manager is required for fetching libraries
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    *Alternately, you may use MacPorts instead.

Qt5

brew install git cmake pkgconfig fftw libogg libvorbis libsndfile libsamplerate jack \
sdl libgig libsoundio stk portaudio node fltk qt@5.5

brew install --build-from-source https://github.com/LMMS/lmms/raw/master/cmake/apple/fluid-synth.rb

Note: If compiling on 10.8, the stk.rb and libgig.rb brew formula needs a patch

brew reinstall --build-from-source https://gist.githubusercontent.com/tresf/efa2cf88156c1f14c1b39c315f1f3ec0/raw/stk.rb
brew reinstall --build-from-source https://gist.githubusercontent.com/tresf/efb74f1ec9b600c8aa4e823cc855bef2/raw/libgig.rb

Qt4

brew install git cmake pkgconfig fftw libogg libvorbis libsndfile libsamplerate jack \
sdl libgig libsoundio stk portaudio node fltk cartr/qt4/qt

brew install --build-from-source https://github.com/LMMS/lmms/raw/master/cmake/apple/fluid-synth.rb

    ...done installing? Next, clone the source code

Troubleshooting

Library Loading Issues

export DYLD_PRINT_LIBRARIES=1
/Applications/LMMS.app/Contents/MacOS/lmms  # or build/LMMS.app/Contents/MacOS/lmms

   ...want to add something?