ffmpeg/avformat.h: No such file o directory

Support and queries relating to all previous versions of ZoneMinder
Locked
decibel83
Posts: 80
Joined: Tue Dec 06, 2005 5:22 pm

ffmpeg/avformat.h: No such file o directory

Post by decibel83 »

I'm trying to compile ZoneMinder 1.23.2, but I'm having this problem:

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
My configure command is the following:

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
Could you help me please?
Thank you very much!
Bye.
User avatar
ttsoares
Posts: 31
Joined: Sat Dec 10, 2005 11:06 pm
Contact:

The solution

Post by ttsoares »

The fact is a secondary aspect of Reality.
Locked