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

    ubuntu OS on RPi,need a libveyecam.a

    Scheduled Pinned Locked Moved Raspberry Pi App Software
    9 Posts 2 Posters 3.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.
    • veye_xummV Offline
      veye_xumm
      last edited by

      由于需要使用ROS,因此尝试在树莓派4b的硬件上安装ubuntu系统并使用cs-mipi-imx307模组。
      但实际使用过程中发现该模组提供的两种使用方式(V4L2驱动模式、veye开头的软件包)都仅支持树莓派os。

      尝试重新编译过程中出现以下问题,想问下有没有什么解决办法

      1. cannot find -lbrcmGLESv2 -lbrcmEGL;
        ubuntu下缺少这两个博通的库,通过修改编译文件直接指定使用MESA的库-lGLESv2 -lEGL虽然可以编译通过,但不知是否还是需要在软件源码中做其他修改?
      2. libveyecam.a:error adding symbols: File in wrong format;
        这个文件未开源,实在树莓派os下编译的,因此无法直接参与ubuntu下的代码重编译,想问下有什么解决办法吗?
        我的编译环境:
        系统ubuntu 18.04,镜像链接为https://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.5-preinstalled-server-arm64+raspi4.img.xz
        使用默认编译器gcc

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

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

        @veye_xumm
        请尝试一下这个,是在64bit的ubuntu下编译的。
        [0_1621857976407_libveyecam.a](Uploading 100%)
        至于 -lbrcmGLESv2 -lbrcmEGL 这两个库,应该是博通芯片的显示库,是需要硬件支持的。 piOS下有的,是否移植到了ubuntu下建议您上网搜索一下。

        此外,可以尝试v4l2模式进行你的应用。
        http://forum.veye.cc/topic/73/install-camera-to-rpi4
        可以参考@Viktor 的成功尝试。Thanks him again.

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

        F 1 Reply Last reply Reply Quote 0
        • F Offline
          fire @veye_xumm
          last edited by

          @veye_xumm
          非常感谢,但哪里可以下载这个新的文件呢? 帖子里没有链接

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

            libveyecam.a

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

            F 2 Replies Last reply Reply Quote 0
            • F Offline
              fire @veye_xumm
              last edited by

              @veye_xumm hi 你好 非常感谢提供该文件,不过还得麻烦你下帮忙重新编译一个 需要加上-fPIC参数 不然我这边重新编译的时候会报错recomplile with -fPIC

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

                @veye_xumm 另外可否提供下32bit ubuntu的版本呢(armhf),64bit ubuntu下似乎i2c端口设置的脚本也无法正常工作

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

                  @fire libveyecam.a
                  这个是带fPIC的版本,不过我个人感觉是静态库本身不需要这个选项才对。

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

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

                    @fire libveyecam-32bit.a

                    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
                    • F Offline
                      fire @veye_xumm
                      last edited by

                      @veye_xumm 好的非常感谢,这个是编译动态库 用于python代码调用时使用的。就是那个SDK使用方法

                      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