Trouble Installing ZoneMinder on CentOS5.
Trouble Installing ZoneMinder on CentOS5.
Hello I have installed CentOS5 and I believe all the dependencies needed and also ffmpeg.
Trying to install ZM 1.25.0
I use the configure line:
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-ffmpeg=/usr/local/share/ffmpeg
And when I try to "make" I receive:
make all-recursive
make[1]: Entering directory `/ZoneMinder-1.25.0'
Making all in src
make[2]: Entering directory `/ZoneMinder-1.25.0/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/local/share/ffmpeg/include -Wall -Wno-sign-compare -fno-inline -I/usr/local/share/ffmpeg/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:105:44: error: missing binary operator before token "("
zm_ffmpeg_camera.h:39: error: ISO C++ forbids declaration of âAVFormatContextâ with no type
zm_ffmpeg_camera.h:39: error: expected â;â before â*â token
zm_ffmpeg_camera.h:41: error: ISO C++ forbids declaration of âAVCodecContextâ with no type
zm_ffmpeg_camera.h:41: error: expected â;â before â*â token
zm_ffmpeg_camera.h:42: error: ISO C++ forbids declaration of âAVCodecâ with no type
zm_ffmpeg_camera.h:42: error: expected â;â before â*â token
zm_ffmpeg_camera.h:44: error: ISO C++ forbids declaration of âAVFrameâ with no type
zm_ffmpeg_camera.h:44: error: expected â;â before â*â token
zm_ffmpeg_camera.h:45: error: ISO C++ forbids declaration of âAVFrameâ with no type
zm_ffmpeg_camera.h:45: error: expected â;â before â*â token
zm_ffmpeg_camera.cpp: In constructor âFfmpegCamera::FfmpegCamera(int, const std::string&, int, int, int, int, int, int, int, bool)â:
zm_ffmpeg_camera.cpp:35: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:37: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:38: error: âmCodecâ was not declared in this scope
zm_ffmpeg_camera.cpp:40: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:41: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp: In destructor âvirtual FfmpegCamera::~FfmpegCamera()â:
zm_ffmpeg_camera.cpp:46: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:46: error: âav_freepâ was not declared in this scope
zm_ffmpeg_camera.cpp:47: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:51: error: âsws_freeContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:54: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:56: error: âavcodec_closeâ was not declared in this scope
zm_ffmpeg_camera.cpp:59: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:61: error: âav_close_input_fileâ was not declared in this scope
zm_ffmpeg_camera.cpp: In member function âvoid FfmpegCamera::Initialise()â:
zm_ffmpeg_camera.cpp:78: error: âAV_LOG_DEBUGâ was not declared in this scope
zm_ffmpeg_camera.cpp:78: error: âav_log_set_levelâ was not declared in this scope
zm_ffmpeg_camera.cpp:80: error: âAV_LOG_QUIETâ was not declared in this scope
zm_ffmpeg_camera.cpp:80: error: âav_log_set_levelâ was not declared in this scope
zm_ffmpeg_camera.cpp:82: error: âav_register_allâ was not declared in this scope
zm_ffmpeg_camera.cpp: In member function âvirtual int FfmpegCamera::PrimeCapture()â:
zm_ffmpeg_camera.cpp:94: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:94: error: âav_open_input_fileâ was not declared in this scope
zm_ffmpeg_camera.cpp:95: error: âerrnoâ was not declared in this scope
zm_ffmpeg_camera.cpp:98: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:98: error: âav_find_stream_infoâ was not declared in this scope
zm_ffmpeg_camera.cpp:99: error: âerrnoâ was not declared in this scope
zm_ffmpeg_camera.cpp:103: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:108: error: âCODEC_TYPE_VIDEOâ was not declared in this scope
zm_ffmpeg_camera.cpp:118: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:118: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:121: error: âmCodecâ was not declared in this scope
zm_ffmpeg_camera.cpp:121: error: âavcodec_find_decoderâ was not declared in this scope
zm_ffmpeg_camera.cpp:125: error: âmCodecâ was not declared in this scope
zm_ffmpeg_camera.cpp:125: error: âavcodec_openâ was not declared in this scope
zm_ffmpeg_camera.cpp:129: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:129: error: âavcodec_alloc_frameâ was not declared in this scope
zm_ffmpeg_camera.cpp:132: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:135: error: âPIX_FMT_RGB24â was not declared in this scope
zm_ffmpeg_camera.cpp:135: error: âavpicture_get_sizeâ was not declared in this scope
zm_ffmpeg_camera.cpp:138: error: âAVPictureâ was not declared in this scope
zm_ffmpeg_camera.cpp:138: error: expected primary-expression before â)â token
zm_ffmpeg_camera.cpp:138: error: âavpicture_fillâ was not declared in this scope
zm_ffmpeg_camera.cpp:141: error: âSWS_BICUBICâ was not declared in this scope
zm_ffmpeg_camera.cpp:141: error: âsws_getCachedContextâ was not declared in this scope
zm_ffmpeg_camera.cpp: In member function âvirtual int FfmpegCamera::Capture(Image&)â:
zm_ffmpeg_camera.cpp:159: error: âAVPacketâ was not declared in this scope
zm_ffmpeg_camera.cpp:159: error: expected `;' before âpacketâ
zm_ffmpeg_camera.cpp:163: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:163: error: âpacketâ was not declared in this scope
zm_ffmpeg_camera.cpp:163: error: âav_read_frameâ was not declared in this scope
zm_ffmpeg_camera.cpp:172: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:172: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:172: error: âavcodec_decode_video2â was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âsws_scaleâ was not declared in this scope
zm_ffmpeg_camera.cpp:188: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:188: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:193: error: âav_free_packetâ was not declared in this scope
make[2]: *** [zm_ffmpeg_camera.o] Error 1
make[2]: Leaving directory `/ZoneMinder-1.25.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ZoneMinder-1.25.0'
make: *** [all] Error 2
I have tried following this walkthrough:
http://www.zoneminder.com/wiki/index.php/CentOS
With no luck... at first I had much trouble installing ffmpeg as described in that walkthrough.
When I followed that walkthrough for everything except ffmpeg (I installed that using a walkthrough on the ffmpeg site) I ran into the issue I am having now.
ffmpeg seems to be installed correctly at this point.
If anyone knows what is up or has any suggestions please let me know. Thank you.
Trying to install ZM 1.25.0
I use the configure line:
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-ffmpeg=/usr/local/share/ffmpeg
And when I try to "make" I receive:
make all-recursive
make[1]: Entering directory `/ZoneMinder-1.25.0'
Making all in src
make[2]: Entering directory `/ZoneMinder-1.25.0/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/local/share/ffmpeg/include -Wall -Wno-sign-compare -fno-inline -I/usr/local/share/ffmpeg/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:105:44: error: missing binary operator before token "("
zm_ffmpeg_camera.h:39: error: ISO C++ forbids declaration of âAVFormatContextâ with no type
zm_ffmpeg_camera.h:39: error: expected â;â before â*â token
zm_ffmpeg_camera.h:41: error: ISO C++ forbids declaration of âAVCodecContextâ with no type
zm_ffmpeg_camera.h:41: error: expected â;â before â*â token
zm_ffmpeg_camera.h:42: error: ISO C++ forbids declaration of âAVCodecâ with no type
zm_ffmpeg_camera.h:42: error: expected â;â before â*â token
zm_ffmpeg_camera.h:44: error: ISO C++ forbids declaration of âAVFrameâ with no type
zm_ffmpeg_camera.h:44: error: expected â;â before â*â token
zm_ffmpeg_camera.h:45: error: ISO C++ forbids declaration of âAVFrameâ with no type
zm_ffmpeg_camera.h:45: error: expected â;â before â*â token
zm_ffmpeg_camera.cpp: In constructor âFfmpegCamera::FfmpegCamera(int, const std::string&, int, int, int, int, int, int, int, bool)â:
zm_ffmpeg_camera.cpp:35: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:37: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:38: error: âmCodecâ was not declared in this scope
zm_ffmpeg_camera.cpp:40: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:41: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp: In destructor âvirtual FfmpegCamera::~FfmpegCamera()â:
zm_ffmpeg_camera.cpp:46: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:46: error: âav_freepâ was not declared in this scope
zm_ffmpeg_camera.cpp:47: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:51: error: âsws_freeContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:54: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:56: error: âavcodec_closeâ was not declared in this scope
zm_ffmpeg_camera.cpp:59: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:61: error: âav_close_input_fileâ was not declared in this scope
zm_ffmpeg_camera.cpp: In member function âvoid FfmpegCamera::Initialise()â:
zm_ffmpeg_camera.cpp:78: error: âAV_LOG_DEBUGâ was not declared in this scope
zm_ffmpeg_camera.cpp:78: error: âav_log_set_levelâ was not declared in this scope
zm_ffmpeg_camera.cpp:80: error: âAV_LOG_QUIETâ was not declared in this scope
zm_ffmpeg_camera.cpp:80: error: âav_log_set_levelâ was not declared in this scope
zm_ffmpeg_camera.cpp:82: error: âav_register_allâ was not declared in this scope
zm_ffmpeg_camera.cpp: In member function âvirtual int FfmpegCamera::PrimeCapture()â:
zm_ffmpeg_camera.cpp:94: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:94: error: âav_open_input_fileâ was not declared in this scope
zm_ffmpeg_camera.cpp:95: error: âerrnoâ was not declared in this scope
zm_ffmpeg_camera.cpp:98: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:98: error: âav_find_stream_infoâ was not declared in this scope
zm_ffmpeg_camera.cpp:99: error: âerrnoâ was not declared in this scope
zm_ffmpeg_camera.cpp:103: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:108: error: âCODEC_TYPE_VIDEOâ was not declared in this scope
zm_ffmpeg_camera.cpp:118: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:118: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:121: error: âmCodecâ was not declared in this scope
zm_ffmpeg_camera.cpp:121: error: âavcodec_find_decoderâ was not declared in this scope
zm_ffmpeg_camera.cpp:125: error: âmCodecâ was not declared in this scope
zm_ffmpeg_camera.cpp:125: error: âavcodec_openâ was not declared in this scope
zm_ffmpeg_camera.cpp:129: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:129: error: âavcodec_alloc_frameâ was not declared in this scope
zm_ffmpeg_camera.cpp:132: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:135: error: âPIX_FMT_RGB24â was not declared in this scope
zm_ffmpeg_camera.cpp:135: error: âavpicture_get_sizeâ was not declared in this scope
zm_ffmpeg_camera.cpp:138: error: âAVPictureâ was not declared in this scope
zm_ffmpeg_camera.cpp:138: error: expected primary-expression before â)â token
zm_ffmpeg_camera.cpp:138: error: âavpicture_fillâ was not declared in this scope
zm_ffmpeg_camera.cpp:141: error: âSWS_BICUBICâ was not declared in this scope
zm_ffmpeg_camera.cpp:141: error: âsws_getCachedContextâ was not declared in this scope
zm_ffmpeg_camera.cpp: In member function âvirtual int FfmpegCamera::Capture(Image&)â:
zm_ffmpeg_camera.cpp:159: error: âAVPacketâ was not declared in this scope
zm_ffmpeg_camera.cpp:159: error: expected `;' before âpacketâ
zm_ffmpeg_camera.cpp:163: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:163: error: âpacketâ was not declared in this scope
zm_ffmpeg_camera.cpp:163: error: âav_read_frameâ was not declared in this scope
zm_ffmpeg_camera.cpp:172: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:172: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:172: error: âavcodec_decode_video2â was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âsws_scaleâ was not declared in this scope
zm_ffmpeg_camera.cpp:188: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:188: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:193: error: âav_free_packetâ was not declared in this scope
make[2]: *** [zm_ffmpeg_camera.o] Error 1
make[2]: Leaving directory `/ZoneMinder-1.25.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ZoneMinder-1.25.0'
make: *** [all] Error 2
I have tried following this walkthrough:
http://www.zoneminder.com/wiki/index.php/CentOS
With no luck... at first I had much trouble installing ffmpeg as described in that walkthrough.
When I followed that walkthrough for everything except ffmpeg (I installed that using a walkthrough on the ffmpeg site) I ran into the issue I am having now.
ffmpeg seems to be installed correctly at this point.
If anyone knows what is up or has any suggestions please let me know. Thank you.
-
- Posts: 678
- Joined: Wed Dec 16, 2009 4:32 pm
- Location: Israel
Re: Trouble Installing ZoneMinder on CentOS5.
Try adding CPPFLAGS="-D__STDC_CONSTANT_MACROS" to the end of your ./configure line
mastertheknife
mastertheknife
Kfir Itzhak.
Re: Trouble Installing ZoneMinder on CentOS5.
Same problem when trying to run make.
It gets a little further in the beginning but then:
-I/usr/local/share/ffmpeg/include -D__STDC_CONSTANT_MACROS -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:105:44: error: missing binary operator before token "("
zm_ffmpeg_camera.h:39: error: ISO C++ forbids declaration of âAVFormatContextâ with no type
zm_ffmpeg_camera.h:39: error: expected â;â before â*â token
zm_ffmpeg_camera.h:41: error: ISO C++ forbids declaration of âAVCodecContextâ with no type
zm_ffmpeg_camera.h:41: error: expected â;â before â*â token
zm_ffmpeg_camera.h:42: error: ISO C++ forbids declaration of âAVCodecâ with no type
zm_ffmpeg_camera.h:42: error: expected â;â before â*â token
zm_ffmpeg_camera.h:44: error: ISO C++ forbids declaration of âAVFrameâ with no type
zm_ffmpeg_camera.h:44: error: expected â;â before â*â token
zm_ffmpeg_camera.h:45: error: ISO C++ forbids declaration of âAVFrameâ with no type
zm_ffmpeg_camera.h:45: error: expected â;â before â*â token
zm_ffmpeg_camera.cpp: In constructor âFfmpegCamera::FfmpegCamera(int, const std::string&, int, int, int, int, int, int, int, bool)â:
zm_ffmpeg_camera.cpp:35: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:37: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:38: error: âmCodecâ was not declared in this scope
zm_ffmpeg_camera.cpp:40: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:41: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp: In destructor âvirtual FfmpegCamera::~FfmpegCamera()â:
zm_ffmpeg_camera.cpp:46: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:46: error: âav_freepâ was not declared in this scope
zm_ffmpeg_camera.cpp:47: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:51: error: âsws_freeContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:54: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:56: error: âavcodec_closeâ was not declared in this scope
zm_ffmpeg_camera.cpp:59: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:61: error: âav_close_input_fileâ was not declared in this scope
zm_ffmpeg_camera.cpp: In member function âvoid FfmpegCamera::Initialise()â:
zm_ffmpeg_camera.cpp:78: error: âAV_LOG_DEBUGâ was not declared in this scope
zm_ffmpeg_camera.cpp:78: error: âav_log_set_levelâ was not declared in this scope
zm_ffmpeg_camera.cpp:80: error: âAV_LOG_QUIETâ was not declared in this scope
zm_ffmpeg_camera.cpp:80: error: âav_log_set_levelâ was not declared in this scope
zm_ffmpeg_camera.cpp:82: error: âav_register_allâ was not declared in this scope
zm_ffmpeg_camera.cpp: In member function âvirtual int FfmpegCamera::PrimeCapture()â:
zm_ffmpeg_camera.cpp:94: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:94: error: âav_open_input_fileâ was not declared in this scope
zm_ffmpeg_camera.cpp:95: error: âerrnoâ was not declared in this scope
zm_ffmpeg_camera.cpp:98: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:98: error: âav_find_stream_infoâ was not declared in this scope
zm_ffmpeg_camera.cpp:99: error: âerrnoâ was not declared in this scope
zm_ffmpeg_camera.cpp:103: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:108: error: âCODEC_TYPE_VIDEOâ was not declared in this scope
zm_ffmpeg_camera.cpp:118: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:118: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:121: error: âmCodecâ was not declared in this scope
zm_ffmpeg_camera.cpp:121: error: âavcodec_find_decoderâ was not declared in this scope
zm_ffmpeg_camera.cpp:125: error: âmCodecâ was not declared in this scope
zm_ffmpeg_camera.cpp:125: error: âavcodec_openâ was not declared in this scope
zm_ffmpeg_camera.cpp:129: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:129: error: âavcodec_alloc_frameâ was not declared in this scope
zm_ffmpeg_camera.cpp:132: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:135: error: âPIX_FMT_RGB24â was not declared in this scope
zm_ffmpeg_camera.cpp:135: error: âavpicture_get_sizeâ was not declared in this scope
zm_ffmpeg_camera.cpp:138: error: âAVPictureâ was not declared in this scope
zm_ffmpeg_camera.cpp:138: error: expected primary-expression before â)â token
zm_ffmpeg_camera.cpp:138: error: âavpicture_fillâ was not declared in this scope
zm_ffmpeg_camera.cpp:141: error: âSWS_BICUBICâ was not declared in this scope
zm_ffmpeg_camera.cpp:141: error: âsws_getCachedContextâ was not declared in this scope
zm_ffmpeg_camera.cpp: In member function âvirtual int FfmpegCamera::Capture(Image&)â:
zm_ffmpeg_camera.cpp:159: error: âAVPacketâ was not declared in this scope
zm_ffmpeg_camera.cpp:159: error: expected `;' before âpacketâ
zm_ffmpeg_camera.cpp:163: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:163: error: âpacketâ was not declared in this scope
zm_ffmpeg_camera.cpp:163: error: âav_read_frameâ was not declared in this scope
zm_ffmpeg_camera.cpp:172: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:172: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:172: error: âavcodec_decode_video2â was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âsws_scaleâ was not declared in this scope
zm_ffmpeg_camera.cpp:188: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:188: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:193: error: âav_free_packetâ was not declared in this scope
make[2]: *** [zm_ffmpeg_camera.o] Error 1
make[2]: Leaving directory `/ZoneMinder-1.25.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ZoneMinder-1.25.0'
make: *** [all] Error 2
#
It gets a little further in the beginning but then:
-I/usr/local/share/ffmpeg/include -D__STDC_CONSTANT_MACROS -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:105:44: error: missing binary operator before token "("
zm_ffmpeg_camera.h:39: error: ISO C++ forbids declaration of âAVFormatContextâ with no type
zm_ffmpeg_camera.h:39: error: expected â;â before â*â token
zm_ffmpeg_camera.h:41: error: ISO C++ forbids declaration of âAVCodecContextâ with no type
zm_ffmpeg_camera.h:41: error: expected â;â before â*â token
zm_ffmpeg_camera.h:42: error: ISO C++ forbids declaration of âAVCodecâ with no type
zm_ffmpeg_camera.h:42: error: expected â;â before â*â token
zm_ffmpeg_camera.h:44: error: ISO C++ forbids declaration of âAVFrameâ with no type
zm_ffmpeg_camera.h:44: error: expected â;â before â*â token
zm_ffmpeg_camera.h:45: error: ISO C++ forbids declaration of âAVFrameâ with no type
zm_ffmpeg_camera.h:45: error: expected â;â before â*â token
zm_ffmpeg_camera.cpp: In constructor âFfmpegCamera::FfmpegCamera(int, const std::string&, int, int, int, int, int, int, int, bool)â:
zm_ffmpeg_camera.cpp:35: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:37: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:38: error: âmCodecâ was not declared in this scope
zm_ffmpeg_camera.cpp:40: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:41: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp: In destructor âvirtual FfmpegCamera::~FfmpegCamera()â:
zm_ffmpeg_camera.cpp:46: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:46: error: âav_freepâ was not declared in this scope
zm_ffmpeg_camera.cpp:47: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:51: error: âsws_freeContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:54: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:56: error: âavcodec_closeâ was not declared in this scope
zm_ffmpeg_camera.cpp:59: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:61: error: âav_close_input_fileâ was not declared in this scope
zm_ffmpeg_camera.cpp: In member function âvoid FfmpegCamera::Initialise()â:
zm_ffmpeg_camera.cpp:78: error: âAV_LOG_DEBUGâ was not declared in this scope
zm_ffmpeg_camera.cpp:78: error: âav_log_set_levelâ was not declared in this scope
zm_ffmpeg_camera.cpp:80: error: âAV_LOG_QUIETâ was not declared in this scope
zm_ffmpeg_camera.cpp:80: error: âav_log_set_levelâ was not declared in this scope
zm_ffmpeg_camera.cpp:82: error: âav_register_allâ was not declared in this scope
zm_ffmpeg_camera.cpp: In member function âvirtual int FfmpegCamera::PrimeCapture()â:
zm_ffmpeg_camera.cpp:94: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:94: error: âav_open_input_fileâ was not declared in this scope
zm_ffmpeg_camera.cpp:95: error: âerrnoâ was not declared in this scope
zm_ffmpeg_camera.cpp:98: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:98: error: âav_find_stream_infoâ was not declared in this scope
zm_ffmpeg_camera.cpp:99: error: âerrnoâ was not declared in this scope
zm_ffmpeg_camera.cpp:103: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:108: error: âCODEC_TYPE_VIDEOâ was not declared in this scope
zm_ffmpeg_camera.cpp:118: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:118: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:121: error: âmCodecâ was not declared in this scope
zm_ffmpeg_camera.cpp:121: error: âavcodec_find_decoderâ was not declared in this scope
zm_ffmpeg_camera.cpp:125: error: âmCodecâ was not declared in this scope
zm_ffmpeg_camera.cpp:125: error: âavcodec_openâ was not declared in this scope
zm_ffmpeg_camera.cpp:129: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:129: error: âavcodec_alloc_frameâ was not declared in this scope
zm_ffmpeg_camera.cpp:132: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:135: error: âPIX_FMT_RGB24â was not declared in this scope
zm_ffmpeg_camera.cpp:135: error: âavpicture_get_sizeâ was not declared in this scope
zm_ffmpeg_camera.cpp:138: error: âAVPictureâ was not declared in this scope
zm_ffmpeg_camera.cpp:138: error: expected primary-expression before â)â token
zm_ffmpeg_camera.cpp:138: error: âavpicture_fillâ was not declared in this scope
zm_ffmpeg_camera.cpp:141: error: âSWS_BICUBICâ was not declared in this scope
zm_ffmpeg_camera.cpp:141: error: âsws_getCachedContextâ was not declared in this scope
zm_ffmpeg_camera.cpp: In member function âvirtual int FfmpegCamera::Capture(Image&)â:
zm_ffmpeg_camera.cpp:159: error: âAVPacketâ was not declared in this scope
zm_ffmpeg_camera.cpp:159: error: expected `;' before âpacketâ
zm_ffmpeg_camera.cpp:163: error: âmFormatContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:163: error: âpacketâ was not declared in this scope
zm_ffmpeg_camera.cpp:163: error: âav_read_frameâ was not declared in this scope
zm_ffmpeg_camera.cpp:172: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:172: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:172: error: âavcodec_decode_video2â was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âsws_scaleâ was not declared in this scope
zm_ffmpeg_camera.cpp:188: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:188: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:193: error: âav_free_packetâ was not declared in this scope
make[2]: *** [zm_ffmpeg_camera.o] Error 1
make[2]: Leaving directory `/ZoneMinder-1.25.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ZoneMinder-1.25.0'
make: *** [all] Error 2
#
-
- Posts: 3
- Joined: Fri Mar 09, 2012 12:08 pm
Re: Trouble Installing ZoneMinder on CentOS5.
Please try the following:
open term and install git and svn (subversion) if not installed
get ffmpeg via git
...
build it
cd ffmpeg
./configure --enable-gpl --enable-shared --enable-pthreads
make
make install
OK.
may be that libs are installed in /usr/local/lib !
Not in /usr/lib64 if you run 64bit.
make shure that ffmpeg libs are in ld library path!
get zoneminder via svn like discribed on its homepage.
my config string:
CXXFLAGS=-D__STDC_CONSTANT_MACROS ./configure --with-webdir=/var/www/html/public/zm --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=your_zm_user ZM_DB_PASS=your_zm_password ZM_SSL_LIB=openssl --prefix=/opt/zm --with-extralibs="-L/usr/lib64 -L/usr/lib64/mysql" --with-ffmpeg=/opt/ffmpeg/share/ffmpeg CPPFLAGS="-D__STDC_CONSTANT_MACROS"
Note: I compiled ffmpeg to /opt/ffmpeg, so take care to change "--with-ffmpeg=/opt/ffmpeg/share/ffmpeg" and your usernames etc!!!
that worked for me!
regards
open term and install git and svn (subversion) if not installed
get ffmpeg via git
...
build it
cd ffmpeg
./configure --enable-gpl --enable-shared --enable-pthreads
make
make install
OK.
may be that libs are installed in /usr/local/lib !
Not in /usr/lib64 if you run 64bit.
make shure that ffmpeg libs are in ld library path!
get zoneminder via svn like discribed on its homepage.
my config string:
CXXFLAGS=-D__STDC_CONSTANT_MACROS ./configure --with-webdir=/var/www/html/public/zm --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=your_zm_user ZM_DB_PASS=your_zm_password ZM_SSL_LIB=openssl --prefix=/opt/zm --with-extralibs="-L/usr/lib64 -L/usr/lib64/mysql" --with-ffmpeg=/opt/ffmpeg/share/ffmpeg CPPFLAGS="-D__STDC_CONSTANT_MACROS"
Note: I compiled ffmpeg to /opt/ffmpeg, so take care to change "--with-ffmpeg=/opt/ffmpeg/share/ffmpeg" and your usernames etc!!!
that worked for me!
regards
-
- Posts: 5
- Joined: Wed Dec 07, 2011 10:45 pm
Re: Trouble Installing ZoneMinder on CentOS5.
Getting same result here.
RHEL 6.2 x86_64, g++=4.4.6-3
I used git to obtain ffmpeg and then compiled installed. Can run ffmpeg command with no errors.
Ideas?
RHEL 6.2 x86_64, g++=4.4.6-3
I used git to obtain ffmpeg and then compiled installed. Can run ffmpeg command with no errors.
Ideas?
-
- Posts: 3
- Joined: Fri Mar 09, 2012 12:08 pm
Re: Trouble Installing ZoneMinder on CentOS5.
I am currently using CentOS 6 with zoneminder from svn and ffmpeg from git
with zoneminder from the stable download i had no success.
with zoneminder from svn and ffmpeg from git
I had the same error as long --with-ffmpeg=..." in the zm ./configure string was not ok.
build ffmpeg with --prefix=/opt/ffmpeg
and add the libs (/opt/ffmpeg/lib) to e.g. /etc/ld.so.conf.d/ffmpeg.conf
run ldconfig
i also did:
ln -s /opt/ffmpeg/bin/* /usr/bin
then i added --with-ffmpeg=/opt/ffmpeg/share/ffmpeg in the zm configure string and it worked.
if zm fails to start after compilation and installation check if the mysql db is correctly installed:
mysql -u root -p
mysql> create database zm;
mysql> CREATE USER 'your_zm_user'@'localhost' IDENTIFIED BY 'your_zm_password_from_above';
mysql> grant CREATE, INSERT, SELECT, DELETE, UPDATE on zm.* to your_zm_user@localhost;
mysql -u root -p zm < db/zm_create.sql
Note: db/zm_create.sql is within the source tree.
type "zoneminder centos 6" in "google" to see a howto. not all steps are necessary but it helped me.
with zoneminder from the stable download i had no success.
with zoneminder from svn and ffmpeg from git
I had the same error as long --with-ffmpeg=..." in the zm ./configure string was not ok.
build ffmpeg with --prefix=/opt/ffmpeg
and add the libs (/opt/ffmpeg/lib) to e.g. /etc/ld.so.conf.d/ffmpeg.conf
run ldconfig
i also did:
ln -s /opt/ffmpeg/bin/* /usr/bin
then i added --with-ffmpeg=/opt/ffmpeg/share/ffmpeg in the zm configure string and it worked.
if zm fails to start after compilation and installation check if the mysql db is correctly installed:
mysql -u root -p
mysql> create database zm;
mysql> CREATE USER 'your_zm_user'@'localhost' IDENTIFIED BY 'your_zm_password_from_above';
mysql> grant CREATE, INSERT, SELECT, DELETE, UPDATE on zm.* to your_zm_user@localhost;
mysql -u root -p zm < db/zm_create.sql
Note: db/zm_create.sql is within the source tree.
type "zoneminder centos 6" in "google" to see a howto. not all steps are necessary but it helped me.
-
- Posts: 5
- Joined: Wed Dec 07, 2011 10:45 pm
Re: Trouble Installing ZoneMinder on CentOS5.
Still no joy.
I rebuilt ffmpeg with the /opt/ffmpeg prefix and still the same results.
here is my configure line:
CPPFLAGS=-D__STDC_CONSTANT_MACROS ./configure \
--with-webdir=/var/www/html/zm \
--with-cgidir=/var/www/cgi-bin \
--with-extralibs="-L/usr/lib64 -L/usr/lib64/mysql" \
--with-ffmpeg=/opt/ffmpeg/share/ffmpeg \
--with-webuser=apache \
--with-webgroup=apache \
ZM_SSL_LIB=openssl \
CPPFLAGS=-D__STDC_CONSTANT_MACROS \
CXXFLAGS="-D__STDC_CONSTANT_MACROS" \
ZM_DB_NAME=zm \
ZM_DB_USER=zmuser \
ZM_DB_PASS=zmpass \
ZM_DB_HOST=localhost
I rebuilt ffmpeg with the /opt/ffmpeg prefix and still the same results.
here is my configure line:
CPPFLAGS=-D__STDC_CONSTANT_MACROS ./configure \
--with-webdir=/var/www/html/zm \
--with-cgidir=/var/www/cgi-bin \
--with-extralibs="-L/usr/lib64 -L/usr/lib64/mysql" \
--with-ffmpeg=/opt/ffmpeg/share/ffmpeg \
--with-webuser=apache \
--with-webgroup=apache \
ZM_SSL_LIB=openssl \
CPPFLAGS=-D__STDC_CONSTANT_MACROS \
CXXFLAGS="-D__STDC_CONSTANT_MACROS" \
ZM_DB_NAME=zm \
ZM_DB_USER=zmuser \
ZM_DB_PASS=zmpass \
ZM_DB_HOST=localhost
-
- Posts: 3
- Joined: Fri Mar 09, 2012 12:08 pm
Re: Trouble Installing ZoneMinder on CentOS5.
On http://www.zoneminder.com/wiki/index.php/CentOS I read the following:
->"e.g. For CentOS 5.6 64-bit with support for ffmpeg. The whole command must be executed on one line. ..."
Have you tried to remove all the backslashes in your ./configure... command?
Configure command:
CPPFLAGS=-D__STDC_CONSTANT_MACROS ./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-extralibs="-L/usr/lib64 -L/usr/lib64/mysql" --with-ffmpeg=/opt/ffmpeg/share/ffmpeg --with-webuser=apache --with-webgroup=apache ZM_SSL_LIB=openssl ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass ZM_DB_HOST=localhost CPPFLAGS=-D__STDC_CONSTANT_MACROS CXXFLAGS="-D__STDC_CONSTANT_MACROS"
->"e.g. For CentOS 5.6 64-bit with support for ffmpeg. The whole command must be executed on one line. ..."
Have you tried to remove all the backslashes in your ./configure... command?
Configure command:
CPPFLAGS=-D__STDC_CONSTANT_MACROS ./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-extralibs="-L/usr/lib64 -L/usr/lib64/mysql" --with-ffmpeg=/opt/ffmpeg/share/ffmpeg --with-webuser=apache --with-webgroup=apache ZM_SSL_LIB=openssl ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass ZM_DB_HOST=localhost CPPFLAGS=-D__STDC_CONSTANT_MACROS CXXFLAGS="-D__STDC_CONSTANT_MACROS"
-
- Posts: 5
- Joined: Wed Dec 07, 2011 10:45 pm
Re: Trouble Installing ZoneMinder on CentOS5.
Rats, still no joy.
I tried it all on one line, no \ line continuation stuff.
I am guessing that it is something to do with the compiler version, 4.4.6-3.
From what I can tell it is not that it can't find things, but seems to be a syntax thing.
Thanks
I tried it all on one line, no \ line continuation stuff.
I am guessing that it is something to do with the compiler version, 4.4.6-3.
From what I can tell it is not that it can't find things, but seems to be a syntax thing.
Thanks
Re: Trouble Installing ZoneMinder on CentOS5.
short version: I have the same issue as flatlander & nvandal. Appears to be a 64-bit issue somewhere, but I haven't narrowed it down yet. Bottom line, ran exact same setup as tutorial (except ffmpeg to /opt) on 32-bit centos 5.8 and works like a charm so far. ZM service is running.
long version:
I'm testing Zoneminder out right so I had it loaded on a Centos 5.8 64-bit VM in virtualbox. I'm having the same issue as nvandal. Getting a ton of errors on zm_ffmpeg_camera.cpp when running 'make' exactly like those listed in his second post.
Steps taken so far:
My output from FFMPEG:
For the hell of it, I setup a 32-bit Centos 5.8 on a new VM because I had a feeling it's something 64-bit related. I followed the guide pretty much except installed ffmpeg to /opt/ffmpeg again. Just compiled no problem and the zm service started up no problem. Haven't gone further into testing yet than starting ZM service, but figured I'd pass on what I learned first.
Working configure command used on 32-bit:
So bottom line: Same process in the guide, compiles on 32-bit, but fails on 64-bit. I usually use software from repo's so I'm at a loss of what to try next. Open to any suggestions or can provide any more details if someone has an idea. I'm just going to leave the 64-bit VM there, so if anyone updates this thread with ideas/suggestions I'll give it a shot.
I'm going to move forward with testing it on 32-bit for now, and may try CentOS 6 64-bit tomorrow to see if I can get that to work. We've had some vandalism recently in our neighborhood so we are looking to get a security solution up and running ASAP to try catch the bastards!
long version:
I'm testing Zoneminder out right so I had it loaded on a Centos 5.8 64-bit VM in virtualbox. I'm having the same issue as nvandal. Getting a ton of errors on zm_ffmpeg_camera.cpp when running 'make' exactly like those listed in his second post.
Steps taken so far:
- *Followed CentOS Tutorial with v1.25.0 (except fixing a couple of the lib names in the sym link section required to get ffmpeg running). No Change
*Tried ffmpeg from yum (rpmforge) and update ffmpeg path in configure command. No Change
*Tried ffmpeg compile again from git this time to /opt like Christianh suggested. No Change
*Verified running 'yum update -y' No Change
*Tried compiling SVN Trunk release instead of 1.25.0, same issue. No Change
*Rebooted the system (what the hell...never know right?) No Change
Code: Select all
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --prefix=/opt/zm --with-extralibs="-L/usr/lib64 -L/usr/lib64/mysql" --with-ffmpeg=/opt/ffmpeg/share/ffmpeg --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zoneminder ZM_DB_USER=zm ZM_DB_PASS=mypassword ZM_SSL_LIB=openssl CXXFLAGS="-D__STDC_CONSTANT_MACROS"
Code: Select all
ffmpeg version N-38707-g8fbf825 Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 10 2012 15:56:16 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
configuration: --enable-gpl --enable-shared --enable-pthreads --prefix=/opt/ffmpeg
libavutil 51. 42.100 / 51. 42.100
libavcodec 54. 10.100 / 54. 10.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 64.101 / 2. 64.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100
Hyper fast Audio and Video encoder
Working configure command used on 32-bit:
Code: Select all
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --prefix=/opt/zm --with-ffmpeg=/opt/ffmpeg/share/ffmpeg --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zoneminder ZM_DB_USER=zm ZM_DB_PASS=mypass ZM_SSL_LIB=openssl CXXFLAGS="-D__STDC_CONSTANT_MACROS"
I'm going to move forward with testing it on 32-bit for now, and may try CentOS 6 64-bit tomorrow to see if I can get that to work. We've had some vandalism recently in our neighborhood so we are looking to get a security solution up and running ASAP to try catch the bastards!
Re: Trouble Installing ZoneMinder on CentOS5.
After installing ffmpeg as described by christian I receive the following when I try to run ffmpeg:
ffmpeg: error while loading shared libraries: libavformat.so.54: cannot open shared object file: No such file or directory
I am running 32bit
ffmpeg: error while loading shared libraries: libavformat.so.54: cannot open shared object file: No such file or directory
I am running 32bit
Re: Trouble Installing ZoneMinder on CentOS5.
My guess is you missed a step with the lib setup somewhere in the ffmpeg setup...nvandal wrote:After installing ffmpeg as described by christian I receive the following when I try to run ffmpeg:
ffmpeg: error while loading shared libraries: libavformat.so.54: cannot open shared object file: No such file or directory
I am running 32bit
*Make sure you ran 'make install-libs'
*Create the file /etc/ld.so.conf.d/ffmpeg.conf that contains just "/opt/ffmpeg/lib" without quotes.
*Run ldconfig
Then try run ffmpeg again and see if it works.
-
- Posts: 5
- Joined: Wed Dec 07, 2011 10:45 pm
Re: Trouble Installing ZoneMinder on CentOS5.
I downloaded version 1.24.4 today and successfully built and installed. Tried to make 1.25 and it still fails. Is there a significant reason to try and use the 1.25?
Thanks
Thanks
Re: Trouble Installing ZoneMinder on CentOS5.
I ended up having to add /usr/local/lib to the /etc/ld.so.conf.d/ffmpeg.conf file.nate86 wrote:My guess is you missed a step with the lib setup somewhere in the ffmpeg setup...nvandal wrote:After installing ffmpeg as described by christian I receive the following when I try to run ffmpeg:
ffmpeg: error while loading shared libraries: libavformat.so.54: cannot open shared object file: No such file or directory
I am running 32bit
*Make sure you ran 'make install-libs'
*Create the file /etc/ld.so.conf.d/ffmpeg.conf that contains just "/opt/ffmpeg/lib" without quotes.
*Run ldconfig
Then try run ffmpeg again and see if it works.
Thanks for pointing me in the right direction.
Now to try the actual ZM install!
Re: Trouble Installing ZoneMinder on CentOS5.
Same problem, I get a bunch of:
zm_ffmpeg_camera.cpp:182: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âsws_scaleâ was not declared in this scope
zm_ffmpeg_camera.cpp:188: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:188: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:193: error: âav_free_packetâ was not declared in this scope
Stuff when I try to run make for ZM.
:-/
zm_ffmpeg_camera.cpp:182: error: âmRawFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:182: error: âsws_scaleâ was not declared in this scope
zm_ffmpeg_camera.cpp:188: error: âmCodecContextâ was not declared in this scope
zm_ffmpeg_camera.cpp:188: error: âmFrameâ was not declared in this scope
zm_ffmpeg_camera.cpp:193: error: âav_free_packetâ was not declared in this scope
Stuff when I try to run make for ZM.
:-/