[GEM-dev] [ pd-gem-Bugs-2100872 ] does not compile with recent ffmpeg svn

SourceForge.net noreply at sourceforge.net
Mon Sep 8 22:33:32 CEST 2008


Bugs item #2100872, was opened at 2008-09-08 20:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=2100872&group_id=64325

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: build-system
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: does not compile with recent ffmpeg svn

Initial Comment:
pkg-config --modversion libavcodec
 51.71.0

make:
g++ -c   -g -O2 -fPIC -freg-struct-return -O3 -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx  -I/usr/X11R6/include -I/usr/local/include/ffmpeg -I/usr/local/include/lqt   -I/usr/local/include/lqt   -I/usr/local/include/avifile-0.7   -I..   filmFFMPEG.cpp -o ../Objects/filmFFMPEG.o

compile errors:

/usr/local/include/ffmpeg/avcodec.h:2288: warning: ‘ImgReSampleContext’ is deprecated (declared at /usr/local/include/ffmpeg/avcodec.h:2282)
/usr/local/include/ffmpeg/avcodec.h:2298: warning: ‘ImgReSampleContext’ is deprecated (declared at /usr/local/include/ffmpeg/avcodec.h:2282)
filmFFMPEG.cpp: In member function ‘virtual void filmFFMPEG::close()’:
filmFFMPEG.cpp:71: error: cannot convert ‘AVCodecContext**’ to ‘AVCodecContext*’ for argument ‘1’ to ‘int avcodec_close(AVCodecContext*)’
filmFFMPEG.cpp: In member function ‘virtual bool filmFFMPEG::open(char*, int)’:
filmFFMPEG.cpp:104: error: request for member ‘codec_id’ in ‘stream->AVStream::codec’, which is of non-class type ‘AVCodecContext*’
filmFFMPEG.cpp:106: error: request for member ‘codec_type’ in ‘stream->AVStream::codec’, which is of non-class type ‘AVCodecContext*’
filmFFMPEG.cpp:120: error: cannot convert ‘AVCodecContext**’ to ‘AVCodecContext*’ for argument ‘1’ to ‘int avcodec_open(AVCodecContext*, AVCodec*)’
filmFFMPEG.cpp:140: error: request for member ‘time_base’ in ‘stream->AVStream::codec’, which is of non-class type ‘AVCodecContext*’
filmFFMPEG.cpp:173: error: request for member ‘width’ in ‘stream->AVStream::codec’, which is of non-class type ‘AVCodecContext*’
filmFFMPEG.cpp:174: error: request for member ‘height’ in ‘stream->AVStream::codec’, which is of non-class type ‘AVCodecContext*’
filmFFMPEG.cpp: In member function ‘virtual pixBlock* filmFFMPEG::getFrame()’:
filmFFMPEG.cpp:256: error: request for member ‘frame_number’ in ‘stream->AVStream::codec’, which is of non-class type ‘AVCodecContext*’
filmFFMPEG.cpp:267: error: cannot convert ‘AVCodecContext**’ to ‘AVCodecContext*’ for argument ‘1’ to ‘int avcodec_decode_video(AVCodecContext*, AVFrame*, int*, uint8_t*, int)’
filmFFMPEG.cpp:310: error: request for member ‘width’ in ‘stream->AVStream::codec’, which is of non-class type ‘AVCodecContext*’
filmFFMPEG.cpp:311: error: request for member ‘height’ in ‘stream->AVStream::codec’, which is of non-class type ‘AVCodecContext*’
filmFFMPEG.cpp:312: error: request for member ‘pix_fmt’ in ‘stream->AVStream::codec’, which is of non-class type ‘AVCodecContext*’
filmFFMPEG.cpp:315: warning: ‘img_convert’ is deprecated (declared at /usr/local/include/ffmpeg/avcodec.h:2450)
filmFFMPEG.cpp:315: warning: ‘img_convert’ is deprecated (declared at /usr/local/include/ffmpeg/avcodec.h:2450)
filmFFMPEG.cpp:320: error: request for member ‘frame_number’ in ‘stream->AVStream::codec’, which is of non-class type ‘AVCodecContext*’
make[1]: *** [filmFFMPEG.o] Error 1
make[1]: Leaving directory `gem-0.91.1/src/Pixes'
make: *** [Pixes] Error 2



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=2100872&group_id=64325




More information about the GEM-dev mailing list