Cross Compile LMMS/Visual Studio Code build?

Having trouble with LMMS? Ask about it here.
Hello All,
I am working on a contribution to the LMMS code base and I would like to figure out how to build from source (in either ubuntu or preferably Visual Studio) so that I can test what I have written.

I have followed the build instructions found here: https://github.com/LMMS/lmms/wiki/Compiling

when I reach the stage of installing qt5, using the
$ sudo apt install qtbase5-dev
command, I am told I have unmet dependencies, and the package 'libqt5opengl5-dev' is reccomended.
Issuing and apt install on this package shows a recursive dependency then to qtbase5-dev

Is this a normal occurance? Is there a way to fix this issue?
Thank you for reading
Pmerry96
Pmerry96 wrote:
Sat Aug 01, 2020 4:46 pm
Hello All,
I am working on a contribution to the LMMS code base and I would like to figure out how to build from source (in either ubuntu or preferably Visual Studio) so that I can test what I have written.

I have followed the build instructions found here: https://github.com/LMMS/lmms/wiki/Compiling

when I reach the stage of installing qt5, using the
$ sudo apt install qtbase5-dev
command, I am told I have unmet dependencies, and the package 'libqt5opengl5-dev' is reccomended.
Issuing and apt install on this package shows a recursive dependency then to qtbase5-dev

Is this a normal occurance? Is there a way to fix this issue?
Thank you for reading
Pmerry96
Is it normal? No, dpkg is far and away the best package manager around and is one of the things that I love about Debian, which Ubuntu derives its code base from. That package is a recommend though, not a dependency, so maybe try qtbase again with the

Code: Select all

--no-install-recommends
flag.
Alternately, have you tried aptitude in interactive mode?
Can you show us your sources.list?
Pmerry96 wrote:
Sat Aug 01, 2020 4:46 pm
Hello All,
Hi, Welcome to the Forum Pmerry96 !
Here are all important links:
viewtopic.php?f=1&t=4740
-A few rules and useful forum instructions
I am working on a contribution to the LMMS code base and I would like to figure out how to build from source (in either ubuntu or preferably Visual Studio) so that I can test what I have written.
I have followed the build instructions found here: https://github.com/LMMS/lmms/wiki/Compiling
To make a long story short
I had issues
I wrote my own
It was meant to go into wiki, but was barred off halfway through, cause wiki died/
Perhaps you can still use it
https://lmms.io/wiki/index.php?title=Fr ... virtualBox
The worst part is that i never got to make a code-page, only explain the various parts, but this is the code

Code: Select all

sudo apt-get install build-essential cmake libsndfile1-dev libfftw3-dev \
libvorbis-dev libogg-dev libmp3lame-dev libasound2-dev libjack-jackd2-dev \
libsamplerate0-dev libsdl-dev libstk0-dev stk libfluidsynth-dev portaudio19-dev \
libfltk1.3-dev libxinerama-dev libxft-dev libgig-dev git perl libxml2-utils \
libxml-perl liblist-moreutils-perl qtbase5-dev qttools5-dev-tools qttools5-dev \
libqt5x11extras5-dev libxcb-keysyms1-dev libxcb-util0-dev
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install gcc-multilib g++-multilib libqt5x11extras5-dev qtbase5-private-dev \
libxcb-util0-dev libxcb-keysyms1-dev
sudo apt-get install wine-stable libwine-dev libwine-dev:i386
sudo add-apt-repository -y ppa:kxstudio-debian/libs
sudo add-apt-repository -y ppa:kxstudio-debian/apps
sudo apt-get update
sudo apt-get install -y carla
git clone --recurse-submodules -b master https://github.com/lmms/lmms
cd lmms
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=../target/ -DWANT_QT5=ON
make -j4