orgicus / ofxCvPiCam

ofxCvPiCam is a minimal grabber for the Raspberry Pi Camera module. It uses the MMAL interface to grab frames and convert them the cv::Mat type which can be processed using the typical opencv calls.
Other
49 stars 10 forks source link

error: ‘MMAL_PARAMETER_CLOCK_REQUEST_THRESHOLD_T’ has no member named ‘threshold_enable’ #8

Closed mhellar closed 7 years ago

mhellar commented 7 years ago

Got this on the latest build of Rasbian and OF 9.2 and 9.3 am i missing something? Thanks!

More specifically this:

../../../addons/ofxCvPiCam/libs/mmal/src/interface/mmal/core/mmal_clock.c:836:4: note: in expansion of macro ‘LOG_TRACE’ LOG_TRACE("new clock request values: threshold %"PRIi64, ^ ../../../addons/ofxCvPiCam/libs/mmal/src/interface/mmal/core/mmal_clock.c:840:36: error: ‘MMAL_PARAMETER_CLOCK_REQUEST_THRESHOLD_T’ has no member named ‘threshold’ private->request_threshold = req->threshold; ^ ../../../addons/ofxCvPiCam/libs/mmal/src/interface/mmal/core/mmal_clock.c:841:43: error: ‘MMAL_PARAMETER_CLOCK_REQUEST_THRESHOLD_T’ has no member named ‘threshold_enable’

mhellar commented 7 years ago

This seemed to fix mv libs libs-old