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

indi-rpicam and aarch64 #863

Closed
aaronwmorris opened this issue Dec 4, 2023 · 2 comments
Closed

indi-rpicam and aarch64 #863

aaronwmorris opened this issue Dec 4, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@aaronwmorris
Copy link

aaronwmorris commented Dec 4, 2023

I was attempting to compile 2.0.5 on a Raspberry Pi OS 12 (bookworm) 64-bit aarch64 system and it was failing to compile the indi-rpicam server due to libmmal being an incorrect binary format.

It is my understanding that the libmmal library is 32-bit only on the armv6l and armv7l platforms.

From CMakeLists.txt

# MMAL Required for Raspberry PI camera driver
if (CMAKE_SYSTEM_PROCESSOR MATCHES "armv+" OR CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64")
find_package(MMAL)
endif()

IF (MMAL_FOUND)
option(WITH_RPICAM "Install Raspberry Pi High Quality Camera Driver" On)
ELSE ()
option(WITH_RPICAM "Install Raspberry Pi High Quality Camera Driver" Off)
ENDIF(MMAL_FOUND)

Should the MMAL library detection be removed for the aarch64 platform?

As a side note, I have libcamera compiled from source on this system. MMAL might not be installed otherwise.

@aaronwmorris aaronwmorris added the bug Something isn't working label Dec 4, 2023
@knro
Copy link
Collaborator

knro commented Dec 5, 2023

indi-rpicam is deprecated and is partially replaced by indi-libcamera. I think we should remove indi-rpicam from the repo.

@aaronwmorris
Copy link
Author

No argument here. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants