Skip to content
Lukas W edited this page Jan 16, 2014 · 2 revisions

Dependencies

The following dependencies should be met before compiling LMMS:

Required libraries:

  • Qt >= 4.3.0 with devel-files (4.4.x recommended)

Optional, but strongly recommended (with devel-files each):

  • JACK
  • libvorbis & libogg
  • libalsa
  • SDL
  • libsamplerate (>= 0.1.7)
  • libsndfile
  • WINE
  • stk, libstk
  • libfluidsynth
  • fftw3

For building, you'll also need:

  • GCC with g++
  • CMake (>= 2.4.5 required, >=2.6.0 recommended)

Building on Linux

Note for Ubuntu users: You may run into problems compiling LMMS on Ubuntu 12.04 or above, as the ia32-libs package has been removed from the repositories. See this page for more information: http://askubuntu.com/questions/107230/what-happened-to-the-ia32-libs-package

Instructions on compiling and installing LMMS:

  1. Assuming you have already fetched the sources (see Accessing git repository if not), switch to the source root directory, and create two new directories needed for you build.
	mkdir build target
	cd build
  1. Then configure LMMS with CMake, using the previously created target directory.
	cmake .. -DCMAKE_INSTALL_PREFIX=../target
  1. Now compile LMMS: (People with more than one CPU core can use make's -j2 option to compile some files in parallel instead, accelerating the process. Otherwise make is just fine. )
	make -j2
  1. Finally you can install LMMS (Optional):
	make install
  1. and, of course, run it:

    ../target/bin/lmms