[mythtv] Help w/ error building mytharchivehelper from 0.20-fixes branch
Michael T. Dean
mtdean at thirdcontact.com
Sat Apr 14 01:56:13 UTC 2007
On 04/13/2007 09:50 PM, Mark Bobak wrote:
> I'm trying to build mythplugins for 0.20-fixes branch, and I'm running
> into problems compiling mytharchivehelper. First, I had problems w/
> the build not being to locate some include files, i.e. programinfo.h
> and mythdbcon.h. I managed to hack the Makefile to add the correct -I
> specifiers, and eliminated those errors, but I'm still stuck on:
> g++ -c -pipe -Wall -W -fomit-frame-pointer -D_REENTRANT -D_GNU_SOURCE
> -DPREFIX=\"\" -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I.
> -I/include -I/usr/kde/3.3/include -I/include -I/include/mythtv
> -I/home/mythtv/Downloads/myth-svn/mythtv/libs
> -I/home/mythtv/Downloads/myth-svn/mythtv/libs/libmyth
> -I/usr/include/qt3 -I/usr/X11R6/include -I/usr/X11R6/include -o main.o
> main.cpp
> main.cpp: In function 'int getFileInfo(QString, QString, int)':
> main.cpp:1871: error: 'av_estimate_timings' was not declared in this scope
> make: *** [main.o] Error 1
>
> And, since I'm a C guy, but not a C++ guy, this is where I get stuck.
> I can deal with resolving locations of include files....
>
> Can anyone offer me a clue?
This is really a -users list question, but a) don't hack the Makefile
and b) install mythtv before compiling mythplugins (which will allow you
to compile without hacking the Makefile).
Mike
More information about the mythtv-dev
mailing list