LMMS 1.2 beta on Linux (ubuntu 14.04) with Carla and VST

Having trouble with LMMS? Ask about it here.
hello,

I'm looking for LMMS 1.2 beta because the 1.13 version I have doesn't support the copy of a group of pattern. This new feature in 1.2 is very useful. At the moment I'm using partly the 1.13 version on Linux Mint 17.3, and the 1.2 windows version, the problem is the windows version isn't supporting the LV2 and LADSPA plugins I'm using so it's quite complicated to switch from one to an other.

I've tried to compiled it on my system but there are so many errors I think a package would be easier to install :)
I managed to compile it myself! :D

I needed maybe a few more dependencies, and I've used the official Qt5, and not the version from my distribution so now it's correct.

I've done this for the cmake:

cmake .. -DCMAKE_INSTALL_PREFIX=/opt/lmms12/ -DWANT_QT5=ON -DWANT_VST=ON -DWANT_CARLA=ON -DCMAKE_PREFIX_PATH=~/Qt/5.7/gcc_64/

also I needed to add this line in Cmakelists.txt:

SET(CMAKE_CXX_FLAGS "-std=c++0x")

For the rest, I found the howto in https://github.com/LMMS/lmms/wiki/Compiling

You can find my .deb package on:
https://mega.nz/#!0txmlYoA!9abZo_V5zSNC ... rHWrOh9eZE (new link with package compiled with Qt 4)

I've noticed since my version is compiled with Qt 5.7, it won't work on mint / ubuntu which has version 5.5 :( (I can't use it into my other computer) => See my message later, it works now.

I might try to compile a new, better version later... meanwhile if you install Qt from qt.io, it should work for you.

(after installation, just go into /opt/lmms12/bin and start lmms from there)
garvalf wrote:
Sun May 21, 2017 9:26 pm
I managed to compile it myself! :D
Well done! But there may be some things you should know:
Master has new induced problems
among others You cant flip automations. They loose handle
Check the current 'criticals' on hub.
Someone on DiscordApp adviced me to use the 1.2 stable branch, so it's the one I'm using right now.

I can compile it on ubuntu/linux mint with Qt installed from their original website. But the generated binaries are not compatible on other computers running the same OS, unless people install themselves Qt as well. Do you know how I could compile LMMS just by using the official debian / ubuntu qt 5 packages?
garvalf wrote:
Fri May 26, 2017 6:08 am
Do you know how I could compile LMMS just by using the official debian / ubuntu qt 5 packages?
No, in fact lmms on linux is next to a hit/miss by chance. There are so many distros, and the packmen are simply not adding everything. Linux has evolved into a nightmare, imo
I am not 100% sure I am using QT5, but I managed to install rc 1.2, by compiling it my self on openSUSE leap 42.1

I did not use any qt specific command during compile, because as far as I can tell leap does not use qt 4.

Image
musikbear wrote:
Fri May 26, 2017 11:58 am
garvalf wrote:
Fri May 26, 2017 6:08 am
Do you know how I could compile LMMS just by using the official debian / ubuntu qt 5 packages?
No, in fact lmms on linux is next to a hit/miss by chance. There are so many distros, and the packmen are simply not adding everything. Linux has evolved into a nightmare, imo

I might ask people from kxstudio, they might help about this.
I did not use any qt specific command during compile, because as far as I can tell leap does not use qt 4.
yeah, the problem is on my system, if I don't install the official Qt package, it simply doesn't finish the cmake configuration, and it doesn't work either if I give them the Qt path (which I believe is /usr/lib/x86_64-linux-gnu/qt5/). Now I see the version from kxstudio is using Qt 4.8. And I think Carla is using Qt 5
garvalf wrote:
Fri May 26, 2017 3:32 pm
I might ask people from kxstudio, they might help about this.
Perhaps, or try a distro specific forum, or even contact the packman, if possible ..
Well, it seems Qt5 is not compulsory.
I was still missing some packages on the other system which I've used for the compilation.
(sudo apt install libsamplerate0-dev libfluidsynth-dev libsoundio-dev)

Then:

Code: Select all

cmake .. -DCMAKE_INSTALL_PREFIX=/opt/lmms12/ -DWANT_VST=ON -DWANT_CARLA=ON
But it halts at 30%, saying:

Code: Select all

[ 31%] Building CXX object plugins/LadspaEffect/caps/CMakeFiles/caps.dir/SweepVF.cc.o
In file included from /tmp/lmms/plugins/LadspaEffect/caps/SweepVF.cc:33:0:
/tmp/lmms/plugins/LadspaEffect/caps/basics.h: In member function ‘sample_t Plugin::getport_unclamped(int)’:
/tmp/lmms/plugins/LadspaEffect/caps/basics.h:187:21: error: ‘isinf’ was not declared in this scope
     return (isinf (v) || isnan(v)) ? 0 : v;
and now it's beyond my knowledge... (I've tried both with g++ 5 and 4.8, it's the same, both with Qt 4 and Qt 5)
I've been back on the first computer, and I've compiled LMMS with Qt4, so now it works on most recent versions of Ubuntu/Mint.The second computer has maybe something missing in it, I don't know what.

Here is the new link for the package (made with checkinstall so it's not a clean package): https://mega.nz/#!0txmlYoA!9abZo_V5zSNC ... rHWrOh9eZE

It can be used along with lmm 1.13. The binary be installed into /opt/lmms12/bin/lmms so you'll have to launch it by hand and / or make a symbolic link if you wish.

In the case some parts of the screen remain black, just close lmms and start it again.

(edit: the wav export doesn't work well in this version for me, the sound has problems and lmms crashed during the export, so I still have to use lmms 1.13 to export audio)