[mythtv-users] Problem compiling plugins

Michael Rice mikerice1969 at gmail.com
Mon Mar 10 05:14:35 UTC 2008


On 3/9/08, Scott Baker <scott.baker at gmail.com> wrote:
> I'm running FC6 on my myth box and I am not able to compile
> MythPlugins 0.21 as I get a strange compile error. Can anyone shed
> some light on this?
>
> make[2]: Entering directory `/root/src/mythplugins-0.21/mytharchive/mytharchive'
> g++ -c -pipe -march=athlon -pthread -I/usr/include/kde/artsc
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wno-switch
> -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor
> -D__STDC_CONSTANT_MACROS -Wall -W -fomit-frame-pointer -O3
> -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC  -D_GNU_SOURCE
> -DPREFIX=\"/usr/local\" -DMMX -Di386 -D_FILE_OFFSET_BITS=64
> -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED
> -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include
> -I/usr/local/include -I/usr/include -I/usr/local/include/mythtv
> -I/usr/local/include/mythtv/ffmpeg
> -I/usr/local/include/mythtv/libmythtv -I/usr/lib/qt-3.3/include -o
> main.o main.cpp
> main.cpp: In function 'void runCreateDVD()':
> main.cpp:133: error: 'DialogCode' was not declared in this scope
> main.cpp:133: error: expected `;' before 'res'
> main.cpp:138: error: 'kDialogCodeRejected' was not declared in this scope
> main.cpp:138: error: 'res' was not declared in this scope
> main.cpp: In function 'void runCreateArchive()':
> main.cpp:180: error: 'DialogCode' was not declared in this scope
> main.cpp:180: error: expected `;' before 'res'

I don't know for sure whether it's your problem or not but I learned
awhile ago that you have to first compile AND INSTALL mythtv before
you can compile the plugins.  If you just compile you'll have some
problems.


More information about the mythtv-users mailing list