[GEM-dev] filmFFMPEG problems (linux)

B. Bogart ben at ekran.org
Mon Sep 25 23:48:21 CEST 2006


Hey all,

I just did a cvs checkout today and am compiling gem on my debian/etch box
at school. Here is the bail:

g++ -c -g -O2 -fPIC -freg-struct-return -O3 -fno-builtin -falign-loops=16
-funroll-loops -ffast-math -mmmx  -I/usr/include/ffmpeg
-I/usr/include/ffmpeg -I/usr/include/lqt -I/usr/include/lqt  
-I/usr/include/avifile-0.7   -I/usr/include/FTGL -I/usr/include/freetype2 
 -I..  -I/usr/include/FTGL -I/usr/include/freetype2 filmMPEG3.cpp -o
filmMPEG3.o
../Pixes/filmFFMPEG.h:69: error: ISO C++ forbids declaration of
‘AVFormatContext’ with no type
../Pixes/filmFFMPEG.h:69: error: expected ‘;’ before ‘*’ token
../Pixes/filmFFMPEG.h:72: error: ‘AVPacket’ does not name a type
filmFFMPEG.cpp: In constructor ‘filmFFMPEG::filmFFMPEG(int)’:
filmFFMPEG.cpp:45: error: ‘av_register_all’ was not declared in this scope
filmFFMPEG.cpp:51: error: ‘m_Format’ was not declared in this scope
filmFFMPEG.cpp: In member function ‘virtual void filmFFMPEG::close()’:
filmFFMPEG.cpp:66: error: ‘m_Format’ was not declared in this scope
filmFFMPEG.cpp:72: error: ‘av_close_input_file’ was not declared in this
scope
filmFFMPEG.cpp: In member function ‘virtual bool filmFFMPEG::open(char*,
int)’:
filmFFMPEG.cpp:86: error: ‘AVStream’ was not declared in this scope
filmFFMPEG.cpp:86: error: ‘stream’ was not declared in this scope
filmFFMPEG.cpp:88: error: ‘m_Format’ was not declared in this scope
filmFFMPEG.cpp:88: error: ‘av_open_input_file’ was not declared in this scope
filmFFMPEG.cpp:96: error: ‘av_find_stream_info’ was not declared in this
scope
filmFFMPEG.cpp:162: error: ‘av_seek_frame’ was not declared in this scope
filmFFMPEG.cpp:175: error: ‘m_Pkt’ was not declared in this scope
filmFFMPEG.cpp:196: error: ‘AVERROR_UNKNOWN’ was not declared in this scope
filmFFMPEG.cpp:197: error: ‘AVERROR_IO’ was not declared in this scope
filmFFMPEG.cpp:198: error: ‘AVERROR_NUMEXPECTED’ was not declared in this
scope
filmFFMPEG.cpp:199: error: ‘AVERROR_INVALIDDATA’ was not declared in this
scope
filmFFMPEG.cpp:200: error: ‘AVERROR_NOMEM’ was not declared in this scope
filmFFMPEG.cpp:201: error: ‘AVERROR_NOFMT’ was not declared in this scope
filmFFMPEG.cpp:202: error: ‘AVERROR_NOTSUPP’ was not declared in this scope
filmFFMPEG.cpp: In member function ‘virtual pixBlock*
filmFFMPEG::getFrame()’:
filmFFMPEG.cpp:219: error: ‘m_Format’ was not declared in this scope
filmFFMPEG.cpp:231: error: ‘av_seek_frame’ was not declared in this scope
filmFFMPEG.cpp:239: error: ‘AVStream’ was not declared in this scope
filmFFMPEG.cpp:239: error: ‘stream’ was not declared in this scope
filmFFMPEG.cpp:242: error: ‘m_Pkt’ was not declared in this scope
filmFFMPEG.cpp:242: error: ‘av_read_packet’ was not declared in this scope
filmFFMPEG.cpp:247: error: ‘m_Pkt’ was not declared in this scope
filmFFMPEG.cpp:273: error: ‘m_Pkt’ was not declared in this scope
filmFFMPEG.cpp:273: error: ‘av_free_packet’ was not declared in this scope
filmFFMPEG.cpp: In member function ‘virtual int
filmFFMPEG::changeImage(int, int)’:
filmFFMPEG.cpp:311: error: ‘m_Format’ was not declared in this scope
make[1]: *** [filmFFMPEG.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/bbogart/pd-stuff/cvs/Gem/src/Pixes'
make: *** [Pixes] Error 2

Here is the ffmpeg I have installed:

ii  ffmpeg         20060814-0.1

Thanks all.

.b.






More information about the GEM-dev mailing list