Skip to content
Tres Finocchiaro edited this page Dec 20, 2017 · 34 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. Or if that's missing, hunt down the installer from Apple Downloads.

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 lame libsndfile libsamplerate jack \
sdl libgig libsoundio stk portaudio node fltk qt5

brew install --build-from-source https://gist.githubusercontent.com/tresf/c9260c43270abd4ce66ff40359588435/raw/fluid-synth.rb

Note: If compiling on 10.8, the stk.rb and libgig.rb brew formula needs a patch and the older cmake and node are required

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
brew reinstall --build-from-source https://github.com/tresf/homebrew-core/raw/8aeeb4b5929aa91307f904fae3d42b4fc54387d0/Formula/cmake.rb
brew reinstall --build-from-source https://raw.githubusercontent.com/tresf/homebrew-core/2f6bd4138f9af6b26b5bcb066f944c9491fb106d/Formula/node.rb
brew install [email protected]

Qt4

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

brew install --build-from-source https://gist.githubusercontent.com/tresf/c9260c43270abd4ce66ff40359588435/raw/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?