Installation, make
Posted: Tue Aug 15, 2006 12:17 pm
Hello,
I get the following faults when executing make:
zm_mpeg.cpp: In member function `void VideoStream::SetupCodec(int, int, int,
int, int)':
zm_mpeg.cpp:88: error: cannot convert `AVCodecContext**' to `AVCodecContext*'
in initialization
zm_mpeg.cpp:109: error: 'struct AVCodecContext' has no member named 'frame_rate
'
zm_mpeg.cpp:110: error: 'struct AVCodecContext' has no member named '
frame_rate_base'
zm_mpeg.cpp: In member function `void VideoStream::OpenStream()':
zm_mpeg.cpp:161: error: cannot convert `AVCodecContext**' to `AVCodecContext*'
in initialization
zm_mpeg.cpp: In destructor `VideoStream::~VideoStream()':
zm_mpeg.cpp:256: error: cannot convert `AVCodecContext**' to `AVCodecContext*'
for argument `1' to `int avcodec_close(AVCodecContext*)'
zm_mpeg.cpp: In member function `double VideoStream::EncodeFrame(uint8_t*, int,
bool, unsigned int)':
zm_mpeg.cpp:303: error: cannot convert `AVCodecContext**' to `AVCodecContext*'
in initialization
make[2]: *** [zm_mpeg.o] Fehler 1
make[2]: Leaving directory `/usr/local/ZoneMinder-1.22.2/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/local/ZoneMinder-1.22.2'
make: *** [all] Fehler 2
debian:/usr/local/ZoneMinder-1.22.2#
Does anybody have an idea?
I work under Debian.
Reiner
I get the following faults when executing make:
zm_mpeg.cpp: In member function `void VideoStream::SetupCodec(int, int, int,
int, int)':
zm_mpeg.cpp:88: error: cannot convert `AVCodecContext**' to `AVCodecContext*'
in initialization
zm_mpeg.cpp:109: error: 'struct AVCodecContext' has no member named 'frame_rate
'
zm_mpeg.cpp:110: error: 'struct AVCodecContext' has no member named '
frame_rate_base'
zm_mpeg.cpp: In member function `void VideoStream::OpenStream()':
zm_mpeg.cpp:161: error: cannot convert `AVCodecContext**' to `AVCodecContext*'
in initialization
zm_mpeg.cpp: In destructor `VideoStream::~VideoStream()':
zm_mpeg.cpp:256: error: cannot convert `AVCodecContext**' to `AVCodecContext*'
for argument `1' to `int avcodec_close(AVCodecContext*)'
zm_mpeg.cpp: In member function `double VideoStream::EncodeFrame(uint8_t*, int,
bool, unsigned int)':
zm_mpeg.cpp:303: error: cannot convert `AVCodecContext**' to `AVCodecContext*'
in initialization
make[2]: *** [zm_mpeg.o] Fehler 1
make[2]: Leaving directory `/usr/local/ZoneMinder-1.22.2/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/local/ZoneMinder-1.22.2'
make: *** [all] Fehler 2
debian:/usr/local/ZoneMinder-1.22.2#
Does anybody have an idea?
I work under Debian.
Reiner