Page 1 of 1

1.21.4 install problem

Posted: Wed Nov 16, 2005 2:25 pm
by jhyoulin
I get this error message after 'make':

Code: Select all

In file included from zm_event.cpp:29:
zm_mpeg.h:31:29: error: ffmpeg/avformat.h: No such file or directory
zm_mpeg.h:41: error: use of enum 'PixelFormat' without previous declaration
zm_mpeg.h:42: error: ISO C++ forbids declaration of 'AVOutputFormat' with no type
zm_mpeg.h:42: error: expected ';' before '*' token
zm_mpeg.h:43: error: ISO C++ forbids declaration of 'AVFormatContext' with no type
zm_mpeg.h:43: error: expected ';' before '*' token
zm_mpeg.h:44: error: ISO C++ forbids declaration of 'AVStream' with no type
zm_mpeg.h:44: error: expected ';' before '*' token
zm_mpeg.h:45: error: ISO C++ forbids declaration of 'AVFrame' with no type
zm_mpeg.h:45: error: expected ';' before '*' token
zm_mpeg.h:46: error: ISO C++ forbids declaration of 'AVFrame' with no type
zm_mpeg.h:46: error: expected ';' before '*' token
zm_mpeg.h:47: error: ISO C++ forbids declaration of 'uint8_t' with no type
zm_mpeg.h:47: error: expected ';' before '*' token
zm_mpeg.h:62: error: 'uint8_t' has not been declared
zm_event.cpp: In static member function 'static void Event::StreamMpeg(int, const char*, int, int, int, int)':
zm_event.cpp:632: error: no matching function for call to 'VideoStream::EncodeFrame(JSAMPLE*, int, bool&, unsigned int&)'
zm_mpeg.h:62: note: candidates are: double VideoStream::EncodeFrame(int*, int, bool, unsigned int)
make[2]: *** [zm_event.o] Error 1
make[2]: Leaving directory `/var/www/html/zm-1.21.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/www/html/zm-1.21.4'
make: *** [all] Error 2
What is the problem?

my linux distribution:fedora core 4
my gcc version:4.0.1
ffmpeg version:CVS

Posted: Wed Nov 16, 2005 4:14 pm
by SyRenity
Hi.

You probably didn't installed the FFMPEG headers and libraries, and only ran "make install". Try to run "make installlib" (note the triple l!) for the FFMPEG CVS, it should resolve the issue.

Posted: Wed Nov 16, 2005 5:29 pm
by jhyoulin
SyRenity wrote:Hi.

You probably didn't installed the FFMPEG headers and libraries, and only ran "make install". Try to run "make installlib" (note the triple l!) for the FFMPEG CVS, it should resolve the issue.
thank you ever so much!