Compiling latest LMMS on latest Ubuntu

Having trouble with LMMS? Ask about it here.
Hello there,

I've followed everything in https://github.com/LMMS/lmms/wiki/Compiling
but when I run (in the build directory): cmake .. -DCMAKE_INSTALL_PREFIX=../target/

I get:

Checking submodules...
-- Checking qt5-x11embed...
-- Found src/3rdparty/qt5-x11embed/CMakeLists.txt
-- Checking rpmalloc...
-- Found src/3rdparty/rpmalloc/rpmalloc/configure.py
-- Checking zynaddsubfx...
-- Found plugins/zynaddsubfx/zynaddsubfx/CMakeLists.txt
-- Checking game-music-emu...
-- Found plugins/FreeBoy/game-music-emu/CMakeLists.txt
-- Checking adplug...
-- Found plugins/OpulenZ/adplug/Makefile.am
-- Checking veal...
-- Found plugins/LadspaEffect/calf/veal/Makefile.am
-- Checking exprtk...
-- Found plugins/Xpressive/exprtk/Makefile
-- Checking ladspa...
-- Found plugins/LadspaEffect/swh/ladspa/Makefile.am
-- Checking tap-plugins...
-- Found plugins/LadspaEffect/tap/tap-plugins/Makefile
-- Checking weakjack...
-- Found src/3rdparty/weakjack/weakjack/.gitignore
-- Checking mingw-std-threads...
-- Found src/3rdparty/mingw-std-threads/LICENSE
-- Checking wiki...
-- Found doc/wiki/Home.md
-- Checking ringbuffer...
-- Found src/3rdparty/ringbuffer/CMakeLists.txt
-- Done validating submodules.


Configuring LMMS
--------------------------
* Project version : 1.2.1.577
* Major version : 1
* Minor version : 2
* Release version : 1
* Stage version :
* Build version : 577
*

Optional Version Usage:
--------------------------
* Override version: -DFORCE_VERSION=x.x.x-x
* Ignore Git information: -DFORCE_VERSION=internal

PROCESSOR: x86_64
Machine: x86_64-linux-gnu
-- Target host is 64 bit
-- Checking for module 'carla-native-plugin'
-- No package 'carla-native-plugin' found
-- Checking for module 'carla-standalone>=1.9.5'
-- No package 'carla-standalone' found
-- Found STK: /usr/lib/x86_64-linux-gnu/libstk.so
-- Found Portaudio: portaudio;asound;m;pthread
-- Could NOT find SOUNDIO (missing: SOUNDIO_LIBRARY SOUNDIO_INCLUDE_DIR)
-- Found OggVorbis: /usr/lib/x86_64-linux-gnu/libogg.so;/usr/lib/x86_64-linux-gnu/libvorbis.so;/usr/lib/x86_64-linux-gnu/libvorbisfile.so;/usr/lib/x86_64-linux-gnu/libvorbisenc.so
-- Found ALSA: /usr/lib/x86_64-linux-gnu/libasound.so
-- Old winegcc detected, trying to use workaround linking
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find X11_XCB (missing: X11_XCB_LIBRARY X11_XCB_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
src/3rdparty/qt5-x11embed/3rdparty/ECM/find-modules/FindX11_XCB.cmake:88 (find_package_handle_standard_args)
src/3rdparty/qt5-x11embed/CMakeLists.txt:11 (find_package)


-- Configuring incomplete, errors occurred!

Thanks in advance for any help!
GisRev wrote:
Fri Jan 24, 2020 9:53 am
Hello there,
Hi, Welcome to the Forum GisRev !
Here are all important links:
http://lmms.io/forum/viewtopic.php?f=1&t=4740
-A few rules and useful forum instructions
but when I run (in the build directory):
Building lmms is not simple. If you have the slightest flaw in any part of your distro, you will fail.
Often its the wine-build -version or parts, but it is so NOT worth the hazzle!

If you do not plan to do code-work, then there is NO sane reason to try and build -Its a d r a g -Believe me!
I strongly advice you to dl the lmms AppImage for Linux!
https://lmms.io/download/#linux
OBS!
Remember that is you want VSTsupport, you must install wine for your distro, before you install the AppImage!
I am on openSUSE and have tried to compile LMMS. ( sometimes with success, sometime getting errors of which even the LMMS devs had no idea on what was wrong)

I can only say musicbear is right.

There are programs easy to compile youre self, LMMS is not one of them, :)

I have talked with package builders, and they also confirm its hard.

So unless you have a good reason of why you need to compile it yourself, don't do it, use the appimage file.