The best place to *find* answers to programming/development questions, imo, however it's the *worst* place to *ask* questions (if your first question/comment doesn't get any up-rating/response, then u can't ask anymore questions--ridiculously unrealistic), but again, a great reference for *finding* answers.

My Music (Nickleus)

20120109

how to compile and install vestige (vstige) vst plugin for lmms 0.4.12

UPDATE 20130205: How to install LMMS 0.4.14-rc1 with VST support on Ubuntu 12.04 (Precise Pangolin) (without having to compile anything!)


in ubuntu 11.10 i couldnt install lmms or lmms-vst because it was complaining about a wine dependency--wine1.2--even though wine1.3 was installed:
lmms : Depends: wine1.2 but it is not going to be installed 
E: Unable to correct problems, you have held broken packages
so i had to compile and install lmms from the source code:
http://lmms.sourceforge.net/download.php

basically follow this guide: http://lmms.sourceforge.net/wiki/index.php/Compiling_LMMS

but here's exactly how i had to do it to get it to work, AND get the vestige vst-plugin (libvestige.so) to get installed (because it doesnt get installed by default):
when i tried cmake-ing the project the first time i got the following dependency errors:


CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FREETYPE_LIBRARY (ADVANCED)
    linked by target "RemoteZynAddSubFx" in directory /home/nick/binl/lmms-0.4.12/plugins/zynaddsubfx
X11_Xft_LIB (ADVANCED)
    linked by target "RemoteZynAddSubFx" in directory /home/nick/binl/lmms-0.4.12/plugins/zynaddsubfx
X11_Xinerama_LIB (ADVANCED)
    linked by target "RemoteZynAddSubFx" in directory /home/nick/binl/lmms-0.4.12/plugins/zynaddsubfx
-- Configuring incomplete, errors occurred!


so i  had to install some things to make the errors go away:
sudo apt-get install libqt4-dev qt4-dev-tools build-essential libxft-dev libfreetype6-dev libxinerama1 libxinerama-dev

then i got the source code using github:
cd

git clone git://lmms.git.sf.net/gitroot/lmms/lmms
cd lmms
git checkout -b stable-0.4 origin/stable-0.4

then i created the vestige buildfiles (so it would get installed when we run cmake on the whole project):
cd plugins/vestige

cmake .

then i compiled and installed lmms:
cd ../..
mkdir build
cd build
cmake ../
make
sudo make install

now start lmms.
when you run it for the first time you'll need to do some configuration. i set the following:
audio settings > audio interface: ALSA
midi settings > midi interface: ALSA-Sequencer

here are a whole load of awesome, FREE, vst plugins, by DSK Instruments.

thanks to IRC user Gegsite for his help too =)

6 comments:

  1. Hello Nickleus, I am running open suse and have compiled lmms, except i get this error when i first launch the clone i have compiled,


    The plugin "tripleoscillator" wasn't found or could not be loaded!
    Reason: "Cannot load library /usr/local/lib64/lmms/tripleoscillator: (/usr/local/lib64/lmms/libtripleoscillator.so: cannot open shared object file: No such file or directory)"


    how would i go about making a directory for lmms to recognize where the plug-ins are located?

    ReplyDelete
    Replies
    1. I'm not familiar with open suse, but the error message is just telling you that libtripleoscillator.so can't be found in /usr/local/lib64/lmms/.

      Delete
    2. "launch the clone i have compiled,"
      does this mean when you start the lmms you compiled?

      Delete
  2. I get a memory acces error after a few minutes playing...? Any suggestions?

    ReplyDelete
  3. Thank you so much! I kept having an error with X11_Xinerama_LIB and you fixed it. Much appreciated!

    ReplyDelete
  4. Hi everyone, Here's how to install LMMS 0.4.14-rc1 with VST support on Ubuntu 12.04 (Precise Pangolin) (without having to compile anything!):
    http://nickleusmusic.blogspot.no/2013/02/how-to-install-lmms-0414-rc1-with-vst.html

    ReplyDelete