[mythtv-users] Mythmusic CVS won't compile

Will Dormann wd at pobox.com
Fri Apr 8 16:38:27 UTC 2005


Hello,

I'm runing a CVS version of mythtv from April 7th.   Mythtv and all of 
the other add-ons compiled fine except for mythmusic.

The error I get is this:

cd mythmusic && qmake mythmusic.pro -o Makefile cd mythmusic && make -f 
Makefile make[1]: Entering directory 
`/mnt/store/src/mythtv/mythtvcvs/mythmusic/mythmusic' g++ -c -pipe -Wall 
-W -O3 -march=pentiumpro -fomit-frame-pointer -D_REENTRANT -fPIC 
-D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DHAVE_MMX -DQT_NO_DEBUG 
-DQT_THREAD_SUPPORT -DQT_PLUGIN -I/usr/qt/3/mkspecs/linux-g++ -I. 
-I/usr/local/include -I/usr/include/cdda -I/usr/qt/3/include -o 
cddecoder.o cddecoder.cpp In file included from 
/usr/local/include/mythtv/audiooutput.h:9, from cddecoder.cpp:12: 
/usr/local/include/mythtv/output.h:16:20: visual.h: No such file or 
directory

If I manually symlink visual.h from /usr/local/includes/mythtv to the 
mythmusic directory, the compile gets a bit further:

g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer 
-D_REENTRANT -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DHAVE_MMX 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN 
-I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/local/include 
-I/usr/include/cdda -I/usr/qt/3/include -o main.o main.cpp In file 
included from playbackbox.h:12, from main.cpp:18: mainvisual.h:66: 
error: parse error before `{' token mainvisual.h:67: error: virtual 
outside class declaration mainvisual.h:67: error: non-member function 
`const char* className()' cannot have `const' method qualifier
(errors continue)


Just for the hell of it I tried compiling the 0.17 release version of 
mythmusic and I get the same errors.   0.17 mythmusic compiled against 
the 0.17 mythtv works fine.


Does anybody know what the problem might be?   Something wrong with the 
include files installed by the CVS version of mythtv?


Thanks.
-WD


More information about the mythtv-users mailing list