[mythtv-users] SVN 13224 - new error mytharchivehelper

A JM vbtalent at gmail.com
Tue Apr 17 02:18:00 UTC 2007


All was going well until I got a different error this time? Any ideas?

cd mytharchivehelper && make -f Makefile
make[2]: Entering directory
`/home/mythtv/mythplugins/mytharchive/mytharchivehelper'
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/usr/include/qt3 -I/usr/X11R6/include -I/usr/X11R6/include -o main.o
main.cpp
main.cpp:29:28: error: ffmpeg/avcodec.h: No such file or directory
main.cpp:30:29: error: ffmpeg/avformat.h: No such file or directory
main.cpp:31:35: error: libmythtv/programinfo.h: No such file or directory
main.cpp: In function 'int grabThumbnail(QString, QString, QString, int)':
main.cpp:1674: error: 'av_register_all' was not declared in this scope
main.cpp:1676: error: 'AVFormatContext' was not declared in this scope
main.cpp:1676: error: 'inputFC' was not declared in this scope
main.cpp:1681: error: 'av_open_input_file' was not declared in this scope
main.cpp:1689: error: 'av_find_stream_info' was not declared in this scope
main.cpp:1693: error: 'av_close_input_file' was not declared in this scope
main.cpp:1704: error: 'AVStream' was not declared in this scope
main.cpp:1704: error: 'st' was not declared in this scope
main.cpp:1705: error: 'CODEC_TYPE_VIDEO' was not declared in this scope
main.cpp:1711: error: 'av_q2d' was not declared in this scope
main.cpp:1713: error: 'av_q2d' was not declared in this scope
main.cpp:1725: error: 'AVCodecContext' was not declared in this scope
main.cpp:1725: error: 'codecCtx' was not declared in this scope
main.cpp:1728: error: 'AVCodec' was not declared in this scope
main.cpp:1728: error: 'codec' was not declared in this scope
main.cpp:1728: error: 'avcodec_find_decoder' was not declared in this scope
main.cpp:1737: error: 'avcodec_open' was not declared in this scope
main.cpp:1746: error: 'AVFrame' was not declared in this scope
main.cpp:1746: error: 'frame' was not declared in this scope
main.cpp:1746: error: 'avcodec_alloc_frame' was not declared in this scope
main.cpp:1747: error: 'AVPacket' was not declared in this scope
main.cpp:1747: error: expected `;' before 'pkt'
main.cpp:1748: error: 'AVPicture' was not declared in this scope
main.cpp:1748: error: expected `;' before 'orig'
main.cpp:1749: error: expected `;' before 'retbuf'
main.cpp:1750: error: 'orig' was not declared in this scope
main.cpp:1751: error: 'retbuf' was not declared in this scope
main.cpp:1760: error: 'pkt' was not declared in this scope
main.cpp:1760: error: 'av_read_frame' was not declared in this scope
main.cpp:1769: error: 'avcodec_flush_buffers' was not declared in this scope
main.cpp:1770: error: 'avcodec_decode_video' was not declared in this scope
main.cpp:1775: error: 'av_free_packet' was not declared in this scope
main.cpp:1803: error: 'PIX_FMT_RGBA32' was not declared in this scope
main.cpp:1803: error: 'avpicture_fill' was not declared in this scope
main.cpp:1805: error: expected primary-expression before ')' token
main.cpp:1805: error: expected primary-expression before ')' token
main.cpp:1806: error: 'avpicture_deinterlace' was not declared in this scope
main.cpp:1809: error: expected primary-expression before ')' token
main.cpp:1809: error: 'img_convert' was not declared in this scope
main.cpp:1845: error: 'av_free_packet' was not declared in this scope
main.cpp:1852: error: 'av_free' was not declared in this scope
main.cpp:1855: error: 'avcodec_close' was not declared in this scope
main.cpp:1858: error: 'av_close_input_file' was not declared in this scope
main.cpp: At global scope:
main.cpp:1863: error: 'AVFormatContext' was not declared in this scope
main.cpp:1863: error: 'inputFC' was not declared in this scope
main.cpp:1863: error: expected primary-expression before 'int'
main.cpp:1863: error: initializer expression list treated as compound expression
main.cpp:1864: error: expected ',' or ';' before '{' token
main.cpp: In function 'long long int getFrameCount(const QString&, float)':
main.cpp:1884: error: 'long long int getFrameCount(const QString&,
float)' redeclared as different kind of symbol
main.cpp:1863: error: previous declaration of 'long long int getFrameCount'
main.cpp:1899: error: invalid use of undefined type 'struct ProgramInfo'
../mytharchive/archiveutil.h:12: error: forward declaration of 'struct
ProgramInfo'
main.cpp:1899: error: 'MARK_GOP_BYFRAME' was not declared in this scope
main.cpp:1906: error: invalid use of undefined type 'struct ProgramInfo'
../mytharchive/archiveutil.h:12: error: forward declaration of 'struct
ProgramInfo'
main.cpp:1906: error: 'MARK_GOP_START' was not declared in this scope
main.cpp:1915: error: invalid use of undefined type 'struct ProgramInfo'
../mytharchive/archiveutil.h:12: error: forward declaration of 'struct
ProgramInfo'
main.cpp:1915: error: 'MARK_KEYFRAME' was not declared in this scope
main.cpp: In function 'int getFileInfo(QString, QString, int)':
main.cpp:1939: error: 'av_register_all' was not declared in this scope
main.cpp:1941: error: 'AVFormatContext' was not declared in this scope
main.cpp:1941: error: 'inputFC' was not declared in this scope
main.cpp:1942: error: 'AVInputFormat' was not declared in this scope
main.cpp:1942: error: 'fmt' was not declared in this scope
main.cpp:1945: error: 'av_find_input_format' was not declared in this scope
main.cpp:1950: error: 'av_open_input_file' was not declared in this scope
main.cpp:1960: error: 'av_find_stream_info' was not declared in this scope
main.cpp:1966: error: 'av_close_input_file' was not declared in this scope
main.cpp:1971: error: 'av_estimate_timings' was not declared in this scope
main.cpp:1974: error: 'dump_format' was not declared in this scope
main.cpp:1991: error: 'AVStream' was not declared in this scope
main.cpp:1991: error: 'st' was not declared in this scope
main.cpp:1994: error: 'avcodec_string' was not declared in this scope
main.cpp:1998: error: 'CODEC_TYPE_VIDEO' was not declared in this scope
main.cpp:2012: error: 'av_q2d' was not declared in this scope
main.cpp:2014: error: 'av_q2d' was not declared in this scope
main.cpp:2020: error: 'av_q2d' was not declared in this scope
main.cpp:2031: error: 'AV_NOPTS_VALUE' was not declared in this scope
main.cpp:2034: error: 'AV_TIME_BASE' was not declared in this scope
main.cpp:2037: error: 'av_rescale' was not declared in this scope
main.cpp:2049: error: 'AV_NOPTS_VALUE' was not declared in this scope
main.cpp:2051: error: 'AV_TIME_BASE' was not declared in this scope
main.cpp:2062: error: 'getFrameCount' cannot be used as a function
main.cpp:2073: error: 'getFrameCount' cannot be used as a function
main.cpp:2087: error: 'CODEC_TYPE_AUDIO' was not declared in this scope
main.cpp:2107: error: 'AV_NOPTS_VALUE' was not declared in this scope
main.cpp:2110: error: 'AV_TIME_BASE' was not declared in this scope
main.cpp:2113: error: 'av_rescale' was not declared in this scope
main.cpp:2123: error: 'CODEC_TYPE_SUBTITLE' was not declared in this scope
main.cpp:2137: error: 'CODEC_TYPE_DATA' was not declared in this scope
main.cpp:2168: error: 'av_close_input_file' was not declared in this scope
make[2]: *** [main.o] Error 1
make[2]: Leaving directory
`/home/mythtv/mythplugins/mytharchive/mytharchivehelper'
make[1]: *** [sub-mytharchivehelper] Error 2
make[1]: Leaving directory `/home/mythtv/mythplugins/mytharchive'
make: *** [sub-mytharchive] Error 2


More information about the mythtv-users mailing list