VEYE IMAGING Forum
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    • Register
    • Login

    Load libdmipicam fail.

    Scheduled Pinned Locked Moved VEYE MIPI camera
    3 Posts 2 Posters 1.5k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      barbanevosa
      last edited by

      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.

      B 1 Reply Last reply Reply Quote 0
      • B Offline
        barbanevosa @barbanevosa
        last edited by barbanevosa

        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

        veye_xummV 1 Reply Last reply Reply Quote 0
        • veye_xummV Offline
          veye_xumm @barbanevosa
          last edited by

          @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.

          Questions will be answered as soon as possible, please be patient.
          如果你使用中文,请直接用中文提问。
          May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post