On Apr 8, 2005 5:38 PM, Will Dormann <[EMAIL PROTECTED]> 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@mythtv.org > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users > OK Fixed it now I think, unfortunately I'm not bright enough to make patch files, so I'll describe the changes ;) 1) in mythmusic\settings.pro: Added the line: INCLUDEPATH += /usr/include/mythtv after the isEmpty stuff
2) in mythmusic\mythmusic\mainvisual.h: changed line 65 to: class MainVisual : public QWidget, public MythTV::Visual (Added MythTV namespace to class extension definition) I doubt these are 'fixes'..but now my mythmusic cvs (as of 30 minutes ago) compiles and builds... and I'm about to run it Ta -- - Ciaran (I now have far too many G-Mail invites available, anyone who wants one, gets one) _______________________________________________ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users