UNSOLVED Load libdmipicam fail.
-
I try to use VEYE-MIPI-IMX462 with RPI 3B+ (bullsye, x32). Unfortunately v4l2 rendering was too laggy (I hope to resume experiments with it later), so I use the legacy library. veye_raspipreview works pretty good.
I followed the instruction and build libdmipicam (no errors, only warnings), install it with 644 into /usr/lib. But when I tried python_demo/preview.py I get Load libdmipicam fail. I tried different versions of libdmipicam.so - bundled and compiled - the same result.
Please, help me with that problem. -
From Python:
from ctypes import *
cdll.LoadLibrary("libdmipicam.so")=============================
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.9/ctypes/init.py", line 452, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python3.9/ctypes/init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: /lib/libdmipicam.so: undefined symbol: mmal_log_category -
@barbanevosa
We are very sorry that due to COVID-19, we have not been in regular office for some time recently.
A long time has passed, have you made any new progress?
According to your description, I think you should enable the lagency camera function on the bullseye system.
But it seems that the system is missing the mmal library for logging.
But strangely enough, libdmipicam.so is actually just a part of veye_raspipreview wrapped into a dynamic library, and the runtime environment requirements for both should be the same.