Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Different package version from voxl-cross and Voxl2

Different package version from voxl-cross and Voxl2

Scheduled Pinned Locked Moved Ask your questions right here!
5 Posts 2 Posters 371 Views 2 Watching
  • 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.
  • R Offline
    R Offline
    remill
    wrote on last edited by
    #1

    Hi,

    I am having an issue with compiling a library with voxl-cross and runing it on the Voxl2 board. I did compile on voxl-cross but when I try to run a programme that use the library. I got an error with libusb :

    voxl-tcp-neuro: symbol lookup error: /usr/local/lib/libcaer.so.3: undefined symbol: libusb_set_log_cb

    After a researching on google and asking AI chat bot. I found that the version of libusb on the Voxl2 board is 1.0.21 in contrast to 1.0.27 on voxl-cross. The result is that libusb missing libusb_set_log_cb.

    I tried to update the version on Voxl2 but I did not succed because 1.0.21 is the latest version availible on ubuntu 18, but voxl-cross seem to run ubuntu 24.

    Is there a way to make it work ?

    Eric KatzfeyE 1 Reply Last reply
    0
    • R remill

      Hi,

      I am having an issue with compiling a library with voxl-cross and runing it on the Voxl2 board. I did compile on voxl-cross but when I try to run a programme that use the library. I got an error with libusb :

      voxl-tcp-neuro: symbol lookup error: /usr/local/lib/libcaer.so.3: undefined symbol: libusb_set_log_cb

      After a researching on google and asking AI chat bot. I found that the version of libusb on the Voxl2 board is 1.0.21 in contrast to 1.0.27 on voxl-cross. The result is that libusb missing libusb_set_log_cb.

      I tried to update the version on Voxl2 but I did not succed because 1.0.21 is the latest version availible on ubuntu 18, but voxl-cross seem to run ubuntu 24.

      Is there a way to make it work ?

      Eric KatzfeyE Offline
      Eric KatzfeyE Offline
      Eric Katzfey
      ModalAI Team
      wrote on last edited by
      #2

      @remill said in Different package version from voxl-cross and Voxl2:

      1.0.27

      Perhaps you can build the desired version of libusb from source and install it? We have used this approach for a variety of other "third party" libraries. Examples are here: https://gitlab.com/voxl-public/voxl-sdk/third-party?page=1

      R 1 Reply Last reply
      0
      • Eric KatzfeyE Eric Katzfey

        @remill said in Different package version from voxl-cross and Voxl2:

        1.0.27

        Perhaps you can build the desired version of libusb from source and install it? We have used this approach for a variety of other "third party" libraries. Examples are here: https://gitlab.com/voxl-public/voxl-sdk/third-party?page=1

        R Offline
        R Offline
        remill
        wrote on last edited by
        #3

        @Eric-Katzfey

        I tried it based on this project

        but it need a CMakeList.txt for it to compile. I did build other third party library succesfully, but building libusb from source file does not provide a CMakeList.txt, at least from their github. The only way they sugesst to install is with apt.

        Is their a way to build from source without a Cmakelist.txt file ?

        Eric KatzfeyE 1 Reply Last reply
        0
        • R remill

          @Eric-Katzfey

          I tried it based on this project

          but it need a CMakeList.txt for it to compile. I did build other third party library succesfully, but building libusb from source file does not provide a CMakeList.txt, at least from their github. The only way they sugesst to install is with apt.

          Is their a way to build from source without a Cmakelist.txt file ?

          Eric KatzfeyE Offline
          Eric KatzfeyE Offline
          Eric Katzfey
          ModalAI Team
          wrote on last edited by
          #4

          @remill libusb doesn't use cmake. It uses autogen.sh, configure, make, etc. These are standard Linux build tools. If you enter a query such as "How do I build libusb on Linux?" into Google and check AI mode it will provide you with all the steps.

          R 1 Reply Last reply
          0
          • Eric KatzfeyE Eric Katzfey

            @remill libusb doesn't use cmake. It uses autogen.sh, configure, make, etc. These are standard Linux build tools. If you enter a query such as "How do I build libusb on Linux?" into Google and check AI mode it will provide you with all the steps.

            R Offline
            R Offline
            remill
            wrote on last edited by
            #5

            @Eric-Katzfey
            Thanks Eric, building directly on the Voxl2 platform works.

            1 Reply Last reply
            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
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            ModalAI
            Categories Recent Tags ModalAI.com Docs
            © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups