• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

    Toolchain problem ? VOXL-Vision-Hub fails to build

    Starling & Starling 2
    3
    11
    206
    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.
    • H
      Hector Gutierrez
      last edited by 17 Jun 2025, 14:22

      Good morning,

      There seems to be an overall problem with the tool chain to build VOXL Vision Hub.
      First, I installed voxl-docker and voxl-cross(4.0) as described on the bootcamp.
      I cloned voxl-vision-hub: git clone https://gitlab.com/voxl-public/voxl-sdk/services/voxl-vision-hub/
      Then followed the instructions to build the target:
      $ cd voxl-vision-hub
      $ voxl-docker -i voxl-cross
      Inside voxl-cross docker: install build dependencies:
      voxl-cross(4.0)$ ./install_build_deps.sh qrb5165-2 dev
      Then build:
      voxl-cross(4.0)$ ./build.sh qrb5165-2

      and then it fails to build ! After giving a long list of warnings, the error message is:
      [100%] Linking CXX executable voxl-vision-hub
      /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: CMakeFiles/voxl-vision-hub.dir/offboard_vfc.c.o:(.bss+0x48): multiple definition of `offboard_log'; CMakeFiles/voxl-vision-hub.dir/offboard_mode.c.o:(.bss+0x0): first defined here
      collect2: error: ld returned 1 exit status
      make[2]: *** [src/CMakeFiles/voxl-vision-hub.dir/build.make:521: src/voxl-vision-hub] Error 1
      make[1]: *** [CMakeFiles/Makefile2:155: src/CMakeFiles/voxl-vision-hub.dir/all] Error 2
      make: *** [Makefile:136: all] Error 2

      This is a major modalai package and it fails to build just following the instructions.
      Please advise on how to proceed - This is somewhat urgent since the entire project is on hold if the tools for building don't work.
      Thanks.

      T 2 Replies Last reply 17 Jun 2025, 17:06 Reply Quote 0
      • T
        tom admin @Hector Gutierrez
        last edited by 17 Jun 2025, 17:06

        @Hector-Gutierrez You don't want to be building for qrb5165-2, you want qrb5165

        1 Reply Last reply Reply Quote 0
        • T
          tom admin @Hector Gutierrez
          last edited by 17 Jun 2025, 17:08

          @Hector-Gutierrez All of our packages get built on master and dev each night so if you're wondering whether the package is able to be built you can always check the status of the CI pipelines: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-vision-hub/-/pipelines

          1 Reply Last reply Reply Quote 0
          • H
            Hector Gutierrez
            last edited by 17 Jun 2025, 18:47

            Tom - thanks for the prompt response. I used qrb5165-2 since I'm running on Ubuntu 20.04 and the build instructions mention to use that option.
            I re-did the procedure (after deleting all files from the previous attempt) , this time I used qrb5165 for both dependencies and built. Build fails, several warning, build error very similar as before:
            [100%] Linking CXX executable voxl-vision-hub
            /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: CMakeFiles/voxl-vision-hub.dir/offboard_vfc.c.o:(.bss+0x48): multiple definition of `offboard_log'; CMakeFiles/voxl-vision-hub.dir/offboard_mode.c.o:(.bss+0x0): first defined here
            collect2: error: ld returned 1 exit status
            make[2]: *** [src/CMakeFiles/voxl-vision-hub.dir/build.make:521: src/voxl-vision-hub] Error 1
            make[1]: *** [CMakeFiles/Makefile2:155: src/CMakeFiles/voxl-vision-hub.dir/all] Error 2
            make: *** [Makefile:136: all] Error 2

            I'm able to build other applications, so it seems my voxl-docker and voxl-cross are working properly. Please advise on what else could I try.
            Thanks, Hector

            E T 2 Replies Last reply 17 Jun 2025, 19:11 Reply Quote 0
            • E
              Eric Katzfey ModalAI Team @Hector Gutierrez
              last edited by 17 Jun 2025, 19:11

              @Hector-Gutierrez What branch are you trying to build? If you install dependencies from the dev repo then you should also be building the dev branch of voxl-vision-hub

              H 1 Reply Last reply 17 Jun 2025, 19:18 Reply Quote 0
              • T
                tom admin @Hector Gutierrez
                last edited by 17 Jun 2025, 19:15

                @Hector-Gutierrez Your VOXL2 is running Ubuntu 20 or your host machine is Ubuntu 20?

                We don't build voxl-vision-hub for ubuntu 20 so that isn't correct

                T 1 Reply Last reply 17 Jun 2025, 19:17 Reply Quote 0
                • T
                  tom admin @tom
                  last edited by 17 Jun 2025, 19:17

                  @tom I believe we're also still building voxl-vision-hub with voxl-cross:V2.7, we're in a bit of a transition period of moving packages to the newer voxl-cross and I don't think voxl-vision-hub has been moved over yet

                  H 1 Reply Last reply 17 Jun 2025, 19:21 Reply Quote 0
                  • H
                    Hector Gutierrez @Eric Katzfey
                    last edited by 17 Jun 2025, 19:18

                    @Eric-Katzfey
                    Hi Eric - the exact sequence I'm following is:

                    $ git clone https://gitlab.com/voxl-public/voxl-sdk/services/voxl-vision-hub/
                    $ cd voxl-vision-hub
                    $ voxl-docker -i voxl-cross
                    voxl-cross(4.0)$ ./install_build_deps.sh qrb5165 dev
                    voxl-cross(4.0)$ ./build.sh qrb5165

                    I've tried both options qrb5165 and qrb5165-2 and both fail at build.

                    Thanks, Hector

                    1 Reply Last reply Reply Quote 0
                    • H
                      Hector Gutierrez @tom
                      last edited by 17 Jun 2025, 19:21

                      @tom , can I install and use voxl-cross(2.7) concurrently with V4.0 ? Or do I have to delete my V4.0 installation ?

                      T 1 Reply Last reply 17 Jun 2025, 19:24 Reply Quote 0
                      • T
                        tom admin @Hector Gutierrez
                        last edited by 17 Jun 2025, 19:24

                        @Hector-Gutierrez You can use them concurrently, just specify which to run like so voxl-docker -i voxl-cross:V2.7

                        If you don't specify which version to use it'll default to whichever is tagged with latest

                        H 1 Reply Last reply 17 Jun 2025, 19:43 Reply Quote 0
                        • H
                          Hector Gutierrez @tom
                          last edited by 17 Jun 2025, 19:43

                          @tom - that solved the problem . The solution was to download and build using voxl-cross:V2.7
                          Thanks for the very prompt response ! regards, Hector

                          1 Reply Last reply Reply Quote 0
                          1 out of 11
                          • First post
                            1/11
                            Last post
                          Powered by NodeBB | Contributors