[mythtv-users] Mythmusic CVS won't compile

Ciaran ciaranj at gmail.com
Fri Apr 8 17:04:49 UTC 2005


On Apr 8, 2005 5:38 PM, Will Dormann <wd at pobox.com> wrote:
> 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
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>  
For what its worth I've also just run into this :( I fixed the 
'missing' visual header  by adding it as aspecific include in the
mythmusic.pro file, but then I ran into your next set of errors, and
I'm not even close to vague familiarity with the code to fix em :(


-- 
- Ciaran
(I now have far too many G-Mail invites available, anyone who wants
one, gets one)


More information about the mythtv-users mailing list