I’m running a clean install of Raspberry pi OS 64bit. When I run make clean && make I get the following error:
I have run sudo rpi-update and added the libraries to the linker path. I have libmmal_core.so, libmmal_util.so, libmmal_vc_client.so, libvcsm.so all linked. Running ldd /usr/lib/libarducam_mipicamera.so shows:
From what I understand, the .0 refers to a specific version of the library? I am a bit out of my depth and don’t know how to get the specific libraries and how to link them. Thanks
I’m still getting the same problem with the libraries not linking. It’s asking for libmmal_core.so.0, libmmal_util.so.0, libmmal_vc_client.so.0, libvcsm.so.0. I don’t know how to get these libraries. I have libmmal_core.so, libmmal_util.so, libmmal_vc_client.so, libvcsm.so installed and linked, but not the .so.0 versions.
I’m running version 5.4.73-v8+ and previously ran sudo rpi-update in an attempt to fix the above; not sure if these affect this. I would like to avoid starting with a fresh installation as installing all the other things I need took a couple of days.
The steps I took to install were
clone the github repository
install the library with sudo install -m 644 lib/aarch64/libarducam_mipicamera.so /usr/lib
enable i2c
run make clean && install (this is where I get the message that the libraries were not found)
the library like the libmmal_core.so is the library the rpi provided, there is nothing to do with our mipi_camera lib. I think it is due the the rpi’s issue when update. Have you test the old version firmware without update?
I’ve tried downgrading the firmware, but it didn’t work. I can’t find a firmware version with .so.0 extensions for the libraries listed above. On your installation, do you have them under /opt/vc/lib ? If so I might have to try a fresh installation.
Just ignore the warnings. segmentation fault means maybe the power en is no power. Please try to use the camera_i2c script which is under MIPI_Camera/RPI/utils/ path to check if you can see the i2c address.
i2c is enabled, but doesn’t come up with camera_i2c script:
The HAT has a light on so it must be receiving some power? The RPI definitely has enough - I am using the official power supply and nothing is plugged into the pi except the HAT.
If your image is working, do you think it would be possible to share it?
For Pi4, I have the same issue with you.When I run camera_i2c, I also can’t see the address. I think it is due to the i2cset tool has compatible issue on Pi4 platform. It does not influence the camera work. after you have run camera_i2c script, do you still can’t run the arducamstill command?
I’ve tried using the board with 32bit Raspbian. I get “init camera status = 4100” when running “arducamstill -?”. I tried looking at the other forum posts with the same issue, but could not get it working.