LMMS needs coders

Anything that doesn't fit into other topics goes here!
69 posts
Gps wrote:
Mon Mar 21, 2022 3:16 pm
for opensuse you replace, sudo apt get with sudo zypper. :)
Hate that. If you have to do that the code i have on pastebin wont work, but afaik it has worked for every distro of linux
Musikbear wrote something about C++17 with a qt layer.
C++ will be part of your linux -That should just work, qT is a dependency and is added through the setup script from pastebin.
somebody on the Linux musicians forum talking about a broken arpeggio in LMMS 1.2.2.
It works fine. But some peeps dont understand arpeggio, and expect more than the functional LMMS arp does, mainly they expect to get chord-arpeggio from scratch, but in fact they need to set that up as i showed back in 2012;

That aside, here is the pastebin script you need to get all dependencies and to run compile in linux c++

OBS'!
Dont copy the script from here go to pastebin!
Thank you, but I think we have a slight bit of miscommunication.

OpenSUSE does not use apt get, it uses zypper to install software. That does not matter, for the dependencies though.
OpenSUSE is not debian (ubuntu) based like mint, slackware is openSUSE's mommy :P
That why there is this on the github:

https://github.com/LMMS/lmms/wiki/dependencies-opensuse

So for coding I wont be using qt, only for compiling ?

You wrote C++17, with a UI-middlelayer named qT, to code. I am trying to figure out the qt part, and what to install.
Are the things needed to set up the coding thingy, the same as the dependencies for compiling ?

On that github page:
but Tumbleweed no longer requires them.
Thats the openSUSE I am using.
Gps wrote:
Mon Mar 21, 2022 5:55 pm
So for coding I wont be using qt, only for compiling ?
You are writing qT-code.
qT is a SDK (software-devellopment-kit) for the UI that LMMS uses.
https://www.qt.io/
All you see on the screen in LMMS are qT-vidgets
In the qT-framework we then have the LMMS code
I am trying to figure out the qt part, and what to install.
Are the things needed to set up the coding thingy, the same as the dependencies for compiling ?
Here is the qT part of the pastebin-script

qtbase5-dev qttools5-dev-tools qttools5-dev \
libqt5x11extras5-dev libxcb-keysyms1-dev libxcb-util0-dev
You run the script in CLI.
Zypper i guess, is for program installation but these are not programs, they are SDKs or parts, Classes and packages
If you have copied LMMS-Master to your linux distro, you run the script from CLI inside your build-folder. If the script fails because of the distro you use, then i am completely stumped. I wont know squad to do next. The script must run

Roadmap:
Install git!
Run git command to copy all LMMS code-files to your desktop (Se guide for cmds)
Now you have C++ and all LMMS-code
Run the script in CLI inside your build-folder
After that you have all dependencies, including qT, and running

Code: Select all

cmake .. -DCMAKE_INSTALL_PREFIX=../target/ -DWANT_QT5=ON
make -j4
Should simply result in LMMS opening!
Mine do not build an .exe, that fails, because my VB cant build 😶
-and i have NO idea why -Maby because its out of virtual space, there are warnings about that.....🙄
Thank you, now my confusion is gone. :)

So about 95% is the same as when you compile LMMS. That makes sense I think.

While typing this reply, I checked if git was installed, and It was not. (no cli needed for that)

So I installed git, without using the cli.

Now that command, but I will find it. Something gitclone, from the depths of my memory. :P
Easy to find.

And about zypper yes, zypper = apt.
(I googled out of curiosity, and its even possible to install apt on openSUSE, There is an unofficial package for it)

I am not worried about it not working, suse is not a distro that does weird things, and for openSUSE problems, I have the openSUSE forum. Although I am not a big fan of the cli, on Linux you most of the time, at least will get an use full message / error, if something is not working.

Thank you for pointing out I need to run the script, from the cli in while being in the build folder.
That should save me a command not found message.

After installing git, I realized something.
If I want to do this in a VM, I first need to install openSUSE in a VM, and then install git there. :lol:

Reminds me of me installing win10 in a virtual machine, and within weeks of running it, having win 10 complaining about the hard disk being full..., because of windows updates.

Don't we love computers? :P
Gps wrote:
Tue Mar 22, 2022 5:15 am
If I want to do this in a VM,
Trust me you DONT!
You have a serious advantage because you have a linux-environment!
Only reason for VM would be if you simply cant run the dependency-script in openSUSE

Around the import:

Code: Select all

# Get local copy of project
git clone https://LMMS/lmms
That should import everything of Master, and it should make correct structure, so you get a Build-folder where you can run our pastebin script
I do trust you, but the operating system I would run in the Virtual machine would also be Linux.
It was just a thought, to keep my system clean, but I am also worried it will only complicate things, so lets not do that. :)

Although I am a bit surprised this is harder,if even possible, on windows, let me quote somebody.
Windows is written for users, Linux is written for coders.

The Linux I am using (openSUSE) has two flavors. One is for developers and is called Tumbleweed. The other one Leap, is more aimed at home users, who just want things to work, who want to stay away from any CLI as far as possible, and don't need the latest of everything.

Although I installed Tumbleweed (a rolling release), so I will always have the latest kernel and drivers for gaming, Tumbleweed is mend for developers.

There will be issues sometimes, when updating your system. :)
Gps wrote:
Tue Mar 22, 2022 5:11 pm

am a bit surprised this is harder,if even possible, on windows,
The reason is that there is no factory c++ environment so you need to use a program. For something as big as LMMS, that program is MS Visual-studio MSVS
The very task to just install MSVS and add the parts that is needed for your project, is a study of its own.
There hour long videos titled "Installing and configuring MSVS"
And that is before we even have thought about qT.. 🤦‍♂️
Now let us know when you have your own git repository and have cloned LMMS-Master to your PC

like: https://github.com/LMMS/lmms/wiki/Acces ... repository
That would be here right ?

https://github.com/Gps2010?tab=repositories

I just deleted a gist LMMS related. 2015.... and ...


Code: Select all

git clone --recursive https://github.com/LMMS/lmms.git
Cloning into 'lmms'...

Code: Select all

Resolving deltas: 100% (10868/10868), done.
Submodule path 'src/3rdparty/qt5-x11embed/3rdparty/ECM': checked out '6604694848d8f313fe96e3b1a8d0b4ddd07eb51d'
Submodule path 'src/3rdparty/ringbuffer': checked out '1c46ef34a28d4637b43fb6d5ebb31d38c05f4bd8'
Submodule path 'src/3rdparty/rpmalloc/rpmalloc': checked out '80daac0d539ab2a8edfd5ca24b1e0c77a4974bbb'
Submodule path 'src/3rdparty/weakjack/weakjack': checked out 'fd11655be3b2efd6082968ecfe53f9cfe88bda2b'
Now to run those scripts?
If I was really good in C++ I would have helped. But these days I'm stuck with learning C++ for CryEngine. :P
Gps wrote:
Wed Mar 23, 2022 1:42 am
That would be here right ?
https://github.com/Gps2010?tab=repositories
Yes and no.
You do have a github-account -good'!
Now you need to first Clone LMMS-Master to your own github
I have
https://github.com/musikBear?tab=repositories
I have 2 active repos (dont go through my trash :p )
So mine is similar to yours
Go to https://github.com/Gps2010?tab=repositories
Here you clone current Master to your own gitHub-repo
Click green button New in 1. part of the picture below
Image
In the picture i have taken parts from 3 steps on 3 different githup-pages if it is impossible to understand i can split it up..
after you clicked New You get something like second part of the picture
Observe the url: https://github.com/[b]new[/b]
I use import-a-repository
In the formula -Insert the url to Master
https://github.com/LMMS/lmms
Name your new repository (GPS/lmms would be fine)
Click Begin Import
It takes time
After ~1 hour or so, you have a shiny new LMMS Master clone in your own repository
That one you then downloads to your own HD

I know the guide https://github.com/LMMS/lmms/wiki/Acces ... repository
is ambiguous, but i am not allowed to edit it -.......politics
Now to run those scripts?
Those you run locally, after you have made you local LMMS project structure with git cmd:

Code: Select all

git clone --recursive https://github.com/LMMS/lmms.git
Lets first focus on getting a new gitHub repository with LMMS/lmms cloned
69 posts