I'm stuck. Not sure what's going on here. Any help would be appreciated.
Hans
See the results of make:
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:25:0:
zm_local_camera.h:101:5: error: ‘PixelFormat’ does not name a type
zm_local_camera.h:102:5: error: ‘PixelFormat’ does not name a type
zm_local_camera.h:103:12: error: ‘AVFrame’ does not name a type
zm_local_camera.cpp:45:8: error: ‘PixelFormat’ does not name a type
zm_local_camera.cpp:260:1: error: ‘AVFrame’ does not name a type
zm_local_camera.cpp: In constructor ‘LocalCamera::LocalCamera(int, const string&, int, int, const string&, int, int, int, int, int, int, int, bool)’:
zm_local_camera.cpp:325:9: error: ‘imagePixFormat’ was not declared in this scope
zm_local_camera.cpp:325:39: error: ‘PIX_FMT_GRAY8’ was not declared in this scope
zm_local_camera.cpp:325:53: error: ‘PIX_FMT_RGB24’ was not declared in this scope
zm_local_camera.cpp:326:9: error: ‘capturePixFormat’ was not declared in this scope
zm_local_camera.cpp:326:79: error: ‘getFfPixFormatFromV4lPalette’ was not declared in this scope
zm_local_camera.cpp: In member function ‘void LocalCamera::Initialise()’:
zm_local_camera.cpp:342:27: error: ‘AV_LOG_DEBUG’ was not declared in this scope
zm_local_camera.cpp:342:40: error: ‘av_log_set_level’ was not declared in this scope
zm_local_camera.cpp:344:27: error: ‘AV_LOG_QUIET’ was not declared in this scope
zm_local_camera.cpp:344:40: error: ‘av_log_set_level’ was not declared in this scope
zm_local_camera.cpp:465:9: error: ‘capturePictures’ was not declared in this scope
zm_local_camera.cpp:465:31: error: expected type-specifier before ‘AVFrame’
zm_local_camera.cpp:465:31: error: expected ‘;’ before ‘AVFrame’
zm_local_camera.cpp:489:18: error: ‘imagePixFormat’ was not declared in this scope
zm_local_camera.cpp:489:36: error: ‘capturePixFormat’ was not declared in this scope
zm_local_camera.cpp:491:58: error: ‘avcodec_alloc_frame’ was not declared in this scope
zm_local_camera.cpp:494:34: error: ‘AVPicture’ was not declared in this scope
zm_local_camera.cpp:494:45: error: expected primary-expression before ‘)’ token
zm_local_camera.cpp:494:187: error: ‘avpicture_fill’ was not declared in this scope
zm_local_camera.cpp: In member function ‘void LocalCamera::Terminate()’:
zm_local_camera.cpp:743:49: error: invalid conversion from ‘__u32 {aka unsigned int}’ to ‘v4l2_buf_type’ [-fpermissive]
zm_local_camera.cpp: In static member function ‘static bool LocalCamera::GetCurrentSettings(const char*, char*, int, bool)’:
zm_local_camera.cpp:775:22: error: ‘PATH_MAX’ was not declared in this scope
zm_local_camera.cpp:780:21: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:782:22: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:783:29: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:800:67: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:802:54: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:812:92: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:937:91: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:962:82: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp: In member function ‘virtual int LocalCamera::PrimeCapture()’:
zm_local_camera.cpp:1523:49: error: invalid conversion from ‘__u32 {aka unsigned int}’ to ‘v4l2_buf_type’ [-fpermissive]
zm_local_camera.cpp: In member function ‘virtual int LocalCamera::Capture(Image&)’:
zm_local_camera.cpp:1644:16: error: ‘AVFrame’ does not name a type
zm_local_camera.cpp:1646:14: error: ‘imagePixFormat’ was not declared in this scope
zm_local_camera.cpp:1646:32: error: ‘capturePixFormat’ was not declared in this scope
zm_local_camera.cpp:1650:146: error: ‘SWS_BICUBIC’ was not declared in this scope
zm_local_camera.cpp:1650:176: error: ‘sws_getCachedContext’ was not declared in this scope
zm_local_camera.cpp:1654:17: error: ‘tmpPicture’ was not declared in this scope
zm_local_camera.cpp:1654:50: error: ‘avcodec_alloc_frame’ was not declared in this scope
zm_local_camera.cpp:1657:85: error: ‘avpicture_get_size’ was not declared in this scope
zm_local_camera.cpp:1658:74: error: ‘av_malloc’ was not declared in this scope
zm_local_camera.cpp:1661:34: error: ‘AVPicture’ was not declared in this scope
zm_local_camera.cpp:1661:45: error: expected primary-expression before ‘)’ token
zm_local_camera.cpp:1661:103: error: ‘avpicture_fill’ was not declared in this scope
zm_local_camera.cpp:1663:46: error: ‘capturePictures’ was not declared in this scope
zm_local_camera.cpp:1663:137: error: ‘tmpPicture’ was not declared in this scope
zm_local_camera.cpp:1663:176: error: ‘sws_scale’ was not declared in this scope
make[2]: *** [zm_local_camera.o] Error 1
make[2]: Leaving directory `/home/ZoneMinder-1.25.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ZoneMinder-1.25.0'
make: *** [all] Error 2