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

Allow raspi camera plugin to build under Ubuntu #337

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

schwabe
Copy link

@schwabe schwabe commented Dec 30, 2021

Ubuntu ships the libraspberrypi-dev packages that places the raspberry header files under /usr/include instead
under /opt. Extend the cmake logic to pick up also header files there.

Ubuntu ships the libraspberrypi-dev packages that places the raspberry
header files under /usr/include instead under /opt. Extend the cmake
logic to pick up also header files there.

Also the --no-as-needed flag seems to be required since otherwise the
compiled binary will end up with mmal errors (compare also gstreamer,
which ran into a similar issue:
thaytan/gst-rpicamsrc@79860a0)

Signed-off-by: Arne Schwabe <[email protected]>
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

Successfully merging this pull request may close these issues.

1 participant