Problem Compiling 1.25 [zm_ffmpeg_camera.cpp and ffmpeg]
Posted: Sun Nov 27, 2011 11:57 pm
Hello!
Im trying to compiling zm 1.25.0 but i get this error and i don't know why, because i have all libav* libraries, and his development versions (*-dev)
I have a Debian Squeeze, trying to upgrade from zm 1.23.x ... what lib provides avcodec_decode_video2 ?? I think it is missing.
Im trying to compiling zm 1.25.0 but i get this error and i don't know why, because i have all libav* libraries, and his development versions (*-dev)
Code: Select all
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -g -O2 -MT zm_ffmpeg_camera.o -MD -MP -MF .deps/zm_ffmpeg_camera.Tpo -c -o zm_ffmpeg_camera.o zm_ffmpeg_camera.cpp
zm_ffmpeg_camera.cpp: In member function ‘virtual int FfmpegCamera::Capture(Image&)’:
zm_ffmpeg_camera.cpp:172: error: ‘avcodec_decode_video2’ was not declared in this scope
make[1]: *** [zm_ffmpeg_camera.o] Error 1
make[1]: se sale del directorio `/root/zm1.25.0/src'
make: *** [install-recursive] Error 1