I'm not experienced in C, qt and cmake.
I spent last 10 hours trying to build this project: https://github.com/moonlight-stream/moonlight-qt
May main goal is to build it myself and run it on Ubuntu.
README describes that in order to build I need to install all those libraries:
openssl-devel qt5-devel SDL2-devel ffmpeg-devel qt5-qtquickcontrols2-devel libva-devel libvdpau-devel opus-devel pulseaudio-libs-devel alsa-lib-devel SDL2_ttf-devel
I were trying to build it on Ubuntu, but I found out, that those libraries cannot be installed by simple "apt" command. I tried with ubuntu's libraries, but (for example) after install "libssl-dev", cmake I installed the newest Fedora, then using yum I installed libs and built project successfully.
After that, I copied binaries to my Ubuntu system, but I couldn't run it. A lot of shared libraries are missing on my Ubuntu. Also qt version of my Ubuntu is older than used to build on Fedora.
Compiled version downloaded from github "releases" tab for Ubuntu works well.
Because I don't know exactly how to solve my problem, I have 3 questions:
- Do it makes sense to build under Fedora and run under Ubuntu?
- Can I somehow force "make" command to include all those shared libraries and qt-related libraries to project?
- If not, maybe I can install yum on Ubuntu and then I could easily install recommended libs?
yum
'sopenssl-devel
isapt
'slibssl-dev
, for instance. You can't take a list of packages intended for one family and expect them to "just work" on another without some translation. Once you DO have the libraries you need though, compiling should not be a problem.