Code: Select all
In file included from /home/gregmj/ZoneMinder-1.26.5/src/zm_event.cpp:34:0:
/home/gregmj/ZoneMinder-1.26.5/src/zm_mpeg.h:43:7: error: use of enum ‘PixelFormat’ without previous declaration
enum PixelFormat pf;
^
/home/gregmj/ZoneMinder-1.26.5/src/zm_mpeg.h:44:2: error: ‘AVOutputFormat’ does not name a type
AVOutputFormat *of;
^
/home/gregmj/ZoneMinder-1.26.5/src/zm_mpeg.h:45:2: error: ‘AVFormatContext’ does not name a type
AVFormatContext *ofc;
^
/home/gregmj/ZoneMinder-1.26.5/src/zm_mpeg.h:46:2: error: ‘AVStream’ does not name a type
AVStream *ost;
^
/home/gregmj/ZoneMinder-1.26.5/src/zm_mpeg.h:47:2: error: ‘AVFrame’ does not name a type
AVFrame *opicture;
^
/home/gregmj/ZoneMinder-1.26.5/src/zm_mpeg.h:48:2: error: ‘AVFrame’ does not name a type
AVFrame *tmp_opicture;
^
/home/gregmj/ZoneMinder-1.26.5/src/zm_event.cpp: In member function ‘bool EventStream::sendFrame(int)’:
/home/gregmj/ZoneMinder-1.26.5/src/zm_event.cpp:1205:24: warning: unused variable ‘filestat’ [-Wunused-variable]
static struct stat filestat;
^
make[2]: *** [src/CMakeFiles/zm.dir/zm_event.cpp.o] Error 1
make[2]: Leaving directory `/home/gregmj/ZoneMinder-1.26.5'
make[1]: *** [src/CMakeFiles/zm.dir/all] Error 2
make[1]: Leaving directory `/home/gregmj/ZoneMinder-1.26.5'
make: *** [all] Error 2
http://www.zoneminder.com/wiki/index.ph ... mpeg_again
But I'm not clear what I need to put there. In case it helps here's a directory listing:
Code: Select all
$ ls /usr/include/ffmpeg
libavcodec libavfilter libavresample libpostproc libswscale
libavdevice libavformat libavutil libswresample