degeron / qmmp

Automatically exported from code.google.com/p/qmmp
0 stars 0 forks source link

compilation of qmmp-0.7.0 is broken #585

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The compilation of qmmp-0.7.0 with cmake is broken. The error message is

[ 72%] Generating moc_m3uplaylistformat.cxx
/usr/local/src/qmmp-0.7.0/src/plugins/PlayListFormats/m3u/m3uplaylistformat.h:36
: Error: Undefined interface
make[2]: *** [src/plugins/PlayListFormats/m3u/moc_m3uplaylistformat.cxx] 
Ошибка 1
make[1]: *** 
[src/plugins/PlayListFormats/m3u/CMakeFiles/m3uplaylistformat.dir/all] 
Ошибка 2
make: *** [all] Ошибка 2

I have tried to compile it on Slackware Linux (slackware-current, x86 
architecture) with Qt 4.8.4, cmake version 2.8.10.2, gcc-4.8.0.

Replacing cmake with qmake seems to help.

Original issue reported on code.google.com by andrej.panov on 11 Apr 2013 at 2:39

GoogleCodeExporter commented 9 years ago
Looks like cmake uses headers and libraries from previous version. Please, 
remove all qmmp and qmmpui headers from /usr/include and /usr/local/include

Original comment by trialuser02 on 11 Apr 2013 at 4:16

GoogleCodeExporter commented 9 years ago
I had the same problem. Removing the headers from 
/usr/local/include/qmmp,qmmpui fixed it. 

Works great now....Thanks! 

Original comment by writetoa...@gmail.com on 7 May 2013 at 4:27

GoogleCodeExporter commented 9 years ago

Original comment by trialuser02 on 7 May 2013 at 5:01