Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when building example on Jessie #3

Open
avilleret opened this issue Oct 2, 2015 · 6 comments
Open

error when building example on Jessie #3

avilleret opened this issue Oct 2, 2015 · 6 comments

Comments

@avilleret
Copy link
Contributor

I got this error when building on Raspbian Jessie against of nightly build of 20150917 :

In file included from ../../../addons/ofxCvPiCam/libs/mmal/src/interface/mmal/core/mmal_component.c:30:0:
/home/pi/of_v20150917_linuxarmv7l_release/addons/ofxCvPiCam/libs/mmal/src/interface/mmal/core/mmal_port_private.h: At top level:
/home/pi/of_v20150917_linuxarmv7l_release/addons/ofxCvPiCam/libs/mmal/src/interface/mmal/core/mmal_port_private.h:93:67: error: unknown type name 'MMAL_CLOCK_PAYLOAD_T'
 typedef void (*MMAL_PORT_CLOCK_EVENT_CB)(MMAL_PORT_T *port, const MMAL_CLOCK_PAYLOAD_T *event);
@avilleret
Copy link
Contributor Author

This is due to collision between mmal libs shipped with ofxCvPiCam and the one shipped with the pi.
I have to remove the libs folder (and thus force to use the Jessie mmal lib) to fix this issue.

@robin-price
Copy link

I have the same error in Jessie, renaming / deleting libs fixed it.

@pippopippo69
Copy link

same error in Jessie - OF 9.

Could You please give explain deeper the fix you are using (remove the libs folder - renaming / deleting libs) ?

SImple step-by-step instruction would help me..

thanks a lot

@robin-price
Copy link

cd ~/openframeworks/addons/ofxCvPiCam/
mv libs libs-old

This forces the compiler to use the version of mmal that ships with Jessie. The examples then compiled as normal and I was able to use ofxCvPiCam in my project.

@pippopippo69
Copy link

Ok thanks a Lot.

Inviato da Libero Mail per Android Sabato, 21 Novembre 2015, 10:58AM +01:00 da crx091081gb < notifications@github.com> :

cd ~/openframeworks/addons/ofxCvPiCam/
mv libs libs-old
This forces the compiler to use the version of mmal that ships with Jessie. The examples then compiled as normal and I was able to use ofxCvPiCam in my project.

Reply to this email directly or view it on GitHub .

@ImanolGo
Copy link

ImanolGo commented Jun 7, 2016

Hi community!

Unfortunately, that didn't resolve it for me. Still getting this error:

80:12: error: ‘MMAL_PARAMETER_CLOCK_TIME_OFFSET’ undeclared (first use in this function)

I'm using Jessie and Rpi3

Any further ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants