llelectronics / videoPlayer

Video player for sailfish os
27 stars 19 forks source link

How to compile? #30

Open probonopd opened 5 years ago

probonopd commented 5 years ago

How to compile videoPlayer?

https://github.com/probonopd/videoPlayer/blob/eb7a5bb5ae85bfac9b7f93b62672fc183596554f/.travis.yml is not working for me yet:

src/harbour-videoPlayer.cpp:36:25: fatal error: sailfishapp.h: No such file or directory
 #include <sailfishapp.h>
                         ^
compilation terminated.
make: *** [harbour-videoPlayer.o] Error 1
make: *** Waiting for unfinished jobs....
llelectronics commented 5 years ago

You need sailfishapp.h from https://github.com/sailfishos/libsailfishapp like I see you are downloading it in the script. It should work then. Are you sure that libsailfishapp compiled successfully and the sailfishapp.h file is available? Are the paths setup correctly for it to find it in the system?

probonopd commented 5 years ago

The build log shows Project ERROR: mlite5 development package not found but I don't know where to get that from. How are you building this?

jbruechert commented 5 years ago

Are you sure its possible to run this app on a normal linux system? Since it's targeted to SailfishOS, I think you will be missing some proprietary components at least at runtime. Anyway, mlite can be found here: https://git.merproject.org/mer-core/mlite

Btw there is a Kirigami version of this app, which is missing a lot of features, but should work on almost any linux system (https://invent.kde.org/jbbgameich/videoplayer)