Short Answer:
I think Kubuntu is a good choice to continue with.
Thanks, I tried compiling on Kubuntu 24.04 and it worked almost without problems.
Then I tried running it on Kubuntu 18.04 and it didn't even start, complaining about GLIBC_2.34 not found.
And 7 similar errors about GLIBC and GLIBCXX just with different version number each time.
Then I wanted to install newer GLIBC, so I asked Google how to do it and the first 3 posts warned me that my computer may explode if I try to do that.
So much for user friendliness of Linux.
They are exactly the same as MacOS, every version being incompatible with the previous and the next.
/rant over
I'll keep compiling under Kubuntu 18.04.