Code: Select all
make[2]: Entering directory `/home/mattia/ZoneMinder-1.23.2/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zmc.o -MD -MP -MF .deps/zmc.Tpo -c -o zmc.o zmc.cpp
In file included from zm_stream.h:27,
from zm_event.h:36,
from zm_zone.h:27,
from zm_monitor.h:29,
from zmc.cpp:27:
zm_mpeg.h:29:29: error: ffmpeg/avformat.h: Nessun file o directory
zm_mpeg.h:31:28: error: ffmpeg/swscale.h: Nessun file o directory
zm_mpeg.h:63: error: use of enum ‘PixelFormat’ without previous declaration
zm_mpeg.h:64: error: ISO C++ forbids declaration of ‘AVOutputFormat’ with no type
zm_mpeg.h:64: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:65: error: ISO C++ forbids declaration of ‘AVFormatContext’ with no type
zm_mpeg.h:65: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:66: error: ISO C++ forbids declaration of ‘AVStream’ with no type
zm_mpeg.h:66: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:67: error: ISO C++ forbids declaration of ‘AVFrame’ with no type
zm_mpeg.h:67: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:68: error: ISO C++ forbids declaration of ‘AVFrame’ with no type
zm_mpeg.h:68: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:69: error: ISO C++ forbids declaration of ‘uint8_t’ with no type
zm_mpeg.h:69: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:85: error: ‘uint8_t’ has not been declared
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/home/mattia/ZoneMinder-1.23.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mattia/ZoneMinder-1.23.2'
make: *** [all] Error 2
Code: Select all
./configure --with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin ZM_DB_PASS=zmpass ZM_DB_USER=zmuser ZM_DB_HOST=localhost ZM_DB_NAME=zm --with-webuser=www-data --with-webgroup=www-data
Thank you very much!
Bye.