Question about building LMMS with JACK support

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

There are those two options in the CMakeList file:

OPTION(WANT_JACK "Include JACK (Jack Audio Connection Kit) support" ON)
OPTION(WANT_WEAKJACK "Loosely link JACK libraries" ON)

What does it mean to “loosely link the librairies”?

What’s the better choice here (or what’s the pros and cons of each)?
Assuming youre on Linux you need to install JACK before compiling LMMS.
Then as far as I understand things the compiling then will go kinda automatic.

The compiler will see jack, and build LMMS with JACK support.

You also need to install certain files. They are called dev files on opensuse which I use.

Files like this:

libjack-devel - Development package for jack

This package contains the files needed to compile programs that communicate with jack clients/servers.

I do not know if other distro call it dev files too, but what ever they are called you need them for compiling.

https://github.com/LMMS/lmms/wiki/Compiling
Hi, thx for your reply.

I’ve been able to build LMMS with those two options to ON. And it works with JACK without any issue.

I just wonder if it was also a possibility to build with only the first one to ON, and what it’d change. I suppose that if JACK support always needed both of these options to ON, there wouldn’t be two options here, no?

I could try with only the first option to ON to start with… I haven’t tried yet. I’m not quite motivated, just curious, as I use LMMS with ALSA directly most of the time. Hence this post.

Linux indeed! Debian 12.