lastfm / lastfm-desktop

The official Last.fm desktop application suite
http://www.last.fm
GNU General Public License v3.0
461 stars 94 forks source link

cannot compile 2.1.39 on Linux #73

Open cielavenir opened 4 years ago

cielavenir commented 4 years ago

Debian jessie vagrant. (host machine has qmake qt5, so cannot generate makefile)

sudo apt-get install libavformat-dev libgpod-nogtk-dev liblastfm-dev libqt4-dev libqtwebkit-dev pkg-config zlib1g-dev libqt4-sql-sqlite git g++ make libphonon-dev
git clone https://github.com/lastfm/lastfm-desktop.git
cd lastfm-desktop/
git checkout 2.1.39
qmake -r
make -j4

Error:

compiling Mpris2/MediaPlayer2Player.cpp
Mpris2/MediaPlayer2Player.cpp:27:38: fatal error: ../Services/RadioService.h: No such file or directory
 #include "../Services/RadioService.h"
                                      ^
compilation terminated.
Makefile:1608: recipe for target '_build/MediaPlayer2Player.o' failed
make[1]: *** [_build/MediaPlayer2Player.o] Error 1

i.e. You cleaned RadioService in wrong way.