Problems with make

Forum for questions and support relating to the 1.24.x releases only.
Locked
fredy
Posts: 3
Joined: Mon Jan 10, 2011 7:52 pm

Problems with make

Post by fredy »

Hi, I have problems with the compilation of ZoneMinder for any version, the 1.24 and 1.25. Always, when i do make the compilation have this error:
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_local_camera.o -MD -MP -MF .deps/zm_local_camera.Tpo -c -o zm_local_camera.o zm_local_camera.cpp
In file included from zm_local_camera.cpp:24:
zm_local_camera.h:102: error: ‘PixelFormat’ does not name a type
zm_local_camera.h:103: error: ‘PixelFormat’ does not name a type
zm_local_camera.h:104: error: ISO C++ forbids declaration of ‘AVFrame’ with no type
zm_local_camera.h:104: error: expected ‘;’ before ‘*’ token
zm_local_camera.cpp:45: error: ‘PixelFormat’ does not name a type
zm_local_camera.cpp:260: error: expected constructor, destructor, or type conversion before ‘*’ token
zm_local_camera.cpp: In constructor ‘LocalCamera::LocalCamera(int, const std::string&, int, int, const std::string&, int, int, int, int, int, int, int, bool)’:
zm_local_camera.cpp:325: error: ‘imagePixFormat’ was not declared in this scope
zm_local_camera.cpp:325: error: ‘PIX_FMT_GRAY8’ was not declared in this scope
zm_local_camera.cpp:325: error: ‘PIX_FMT_RGB24’ was not declared in this scope
zm_local_camera.cpp:326: error: ‘capturePixFormat’ was not declared in this scope
zm_local_camera.cpp:326: error: ‘getFfPixFormatFromV4lPalette’ was not declared in this scope
zm_local_camera.cpp: In member function ‘void LocalCamera::Initialise()’:
zm_local_camera.cpp:342: error: ‘AV_LOG_DEBUG’ was not declared in this scope
zm_local_camera.cpp:342: error: ‘av_log_set_level’ was not declared in this scope
zm_local_camera.cpp:344: error: ‘AV_LOG_QUIET’ was not declared in this scope
zm_local_camera.cpp:344: error: ‘av_log_set_level’ was not declared in this scope
zm_local_camera.cpp:465: error: ‘capturePictures’ was not declared in this scope
zm_local_camera.cpp:465: error: expected type-specifier before ‘AVFrame’
zm_local_camera.cpp:465: error: expected ‘;’ before ‘AVFrame’
zm_local_camera.cpp:489: error: ‘imagePixFormat’ was not declared in this scope
zm_local_camera.cpp:489: error: ‘capturePixFormat’ was not declared in this scope
zm_local_camera.cpp:491: error: ‘avcodec_alloc_frame’ was not declared in this scope
zm_local_camera.cpp:494: error: ‘AVPicture’ was not declared in this scope
zm_local_camera.cpp:494: error: expected primary-expression before ‘)’ token
zm_local_camera.cpp:494: error: ‘avpicture_fill’ was not declared in this scope
zm_local_camera.cpp:632: error: ‘capturePictures’ was not declared in this scope
zm_local_camera.cpp:632: error: expected type-specifier before ‘AVFrame’
zm_local_camera.cpp:632: error: expected ‘;’ before ‘AVFrame’
zm_local_camera.cpp:640: error: ‘imagePixFormat’ was not declared in this scope
zm_local_camera.cpp:640: error: ‘capturePixFormat’ was not declared in this scope
zm_local_camera.cpp:642: error: ‘avcodec_alloc_frame’ was not declared in this scope
zm_local_camera.cpp:645: error: ‘AVPicture’ was not declared in this scope
zm_local_camera.cpp:645: error: expected primary-expression before ‘)’ token
zm_local_camera.cpp:645: error: ‘avpicture_fill’ was not declared in this scope
zm_local_camera.cpp: In member function ‘virtual int LocalCamera::Capture(Image&)’:
zm_local_camera.cpp:1644: error: expected initializer before ‘*’ token
zm_local_camera.cpp:1646: error: ‘imagePixFormat’ was not declared in this scope
zm_local_camera.cpp:1646: error: ‘capturePixFormat’ was not declared in this scope
zm_local_camera.cpp:1650: error: ‘SWS_BICUBIC’ was not declared in this scope
zm_local_camera.cpp:1650: error: ‘sws_getCachedContext’ was not declared in this scope
zm_local_camera.cpp:1654: error: ‘tmpPicture’ was not declared in this scope
zm_local_camera.cpp:1654: error: ‘avcodec_alloc_frame’ was not declared in this scope
zm_local_camera.cpp:1657: error: ‘avpicture_get_size’ was not declared in this scope
zm_local_camera.cpp:1658: error: ‘av_malloc’ was not declared in this scope
zm_local_camera.cpp:1661: error: ‘AVPicture’ was not declared in this scope
zm_local_camera.cpp:1661: error: expected primary-expression before ‘)’ token
zm_local_camera.cpp:1661: error: ‘avpicture_fill’ was not declared in this scope
zm_local_camera.cpp:1663: error: ‘capturePictures’ was not declared in this scope
zm_local_camera.cpp:1663: error: ‘tmpPicture’ was not declared in this scope
zm_local_camera.cpp:1663: error: ‘sws_scale’ was not declared in this scope
make[2]: *** [zm_local_camera.o] Error 1
make[2]: se sale del directorio `/var/www/ZoneMinder-1.24.4/src'
make[1]: *** [all-recursive] Error 1
Locked