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

How to work on 64bit OS #29

Open
Son-kun opened this issue May 17, 2023 · 2 comments
Open

How to work on 64bit OS #29

Son-kun opened this issue May 17, 2023 · 2 comments

Comments

@Son-kun
Copy link

Son-kun commented May 17, 2023

Hi, I'm trying to get picture using picam on RPi CM (64 bit OS) and I still fail.
Is any option to use picam on CM4?
MMAL it's not working (UnsatisfiedLinkError: no mmal in java.library.path), I read about using libcamera instead of picamera, but I'm not sure how use it on java.

@caprica
Copy link
Owner

caprica commented May 17, 2023

MMAL is a library provided by the OS on Pi.

If Java can't load it, it most likely means that you are mismatching your CPU architectures somewhere.

So if your OS is 64-bit, then presumably MMAL is 64-bit, but is your JVM also 64-bit?

@caprica
Copy link
Owner

caprica commented May 17, 2023

It's been a while since I have worked on this project, but depending on which version of this library you're using you may also need to rebuild the picam native library, because I only ever developed this against a 32-bit OS.

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

2 participants