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

    Voxl-Cross Issue

    Ask your questions right here!
    2
    9
    55
    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
      bendraper
      last edited by

      Trying to build latest voxl-vision-hub master with voxl-cross 4.4 and get the following error.

      voxl-cross(4.4):~(master)(1.9.20)$ ./build.sh qrb5165
      Found voxl-cross version: 4.4
      -- ---------------------------------------------------------
      -- Using voxl-cross 64-bit toolchain for QRB5165 ubun1 18.04
      -- C Compiler  : /usr/bin/aarch64-linux-gnu-gcc-7
      -- C++ Compiler: /usr/bin/aarch64-linux-gnu-g++-7
      -- Sysroot     : /opt/sysroots/qrb5165_1
      -- C flags     : -isystem=/usr/lib/gcc/aarch64-linux-gnu/7/include -isystem=/usr/local/include -isystem=/usr/lib/gcc/aarch64-linux-gnu/7/include-fixed -isystem=/usr/include/aarch64-linux-gnu -isystem=/usr/include -idirafter /usr/include -march=armv8.2-a
      -- CXX flags   : -isystem=/usr/include/c++/7 -isystem=/usr/include/aarch64-linux-gnu/c++/7 -isystem=/usr/include/c++/7/backward -isystem=/usr/lib/gcc/aarch64-linux-gnu/7/include -isystem=/usr/local/include -isystem=/usr/lib/gcc/aarch64-linux-gnu/7/include-fixed -isystem=/usr/include/aarch64-linux-gnu -isystem=/usr/include -idirafter /usr/include -march=armv8.2-a
      -- Link Flags  :  -B/opt/sysroots/qrb5165_1/usr/lib/ -L/opt/sysroots/qrb5165_1/usr/lib/gcc/aarch64-linux-gnu/7 -L/opt/sysroots/qrb5165_1/usr/lib/aarch64-linux-gnu -L/opt/sysroots/qrb5165_1/usr/lib -L/opt/sysroots/qrb5165_1/lib/aarch64-linux-gnu -L/opt/sysroots/qrb5165_1/usr/lib/aarch64-linux-gnu -L/opt/sysroots/qrb5165_1/lib -L/usr/lib64 -L/usr/lib
      -- Configuring done (0.0s)
      -- Generating done (0.0s)
      -- Build files have been written to: /home/root/build
      [ 12%] Built target voxl-calibrate-px4-horizon
      [  9%] Built target voxl-inspect-vfc
      [ 18%] Building C object src/CMakeFiles/voxl-vision-hub.dir/main.c.o
      [ 18%] Building C object src/CMakeFiles/voxl-vision-hub.dir/offboard_backtrack.c.o
      [ 21%] Building C object src/CMakeFiles/voxl-vision-hub.dir/offboard_vfc.c.o
      [ 25%] Building C object src/CMakeFiles/voxl-vision-hub.dir/offboard_wps.c.o
      /home/root/src/offboard_vfc.c:43:10: fatal error: voxl_vfc_config.h: No such file or directory
       #include <voxl_vfc_config.h>
                ^~~~~~~~~~~~~~~~~~~
      compilation terminated.
      /home/root/src/offboard_backtrack.c:41:10: fatal error: voxl_vfc_config.h: No such file or directory
       #include <voxl_vfc_config.h>
                ^~~~~~~~~~~~~~~~~~~
      compilation terminated.
      make[2]: *** [src/CMakeFiles/voxl-vision-hub.dir/build.make:331: src/CMakeFiles/voxl-vision-hub.dir/offboard_vfc.c.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      make[2]: *** [src/CMakeFiles/voxl-vision-hub.dir/build.make:261: src/CMakeFiles/voxl-vision-hub.dir/offboard_backtrack.c.o] Error 1
      /home/root/src/main.c:42:10: fatal error: voxl_vfc_config.h: No such file or directory
       #include "voxl_vfc_config.h"
                ^~~~~~~~~~~~~~~~~~~
      compilation terminated.
      make[2]: *** [src/CMakeFiles/voxl-vision-hub.dir/build.make:191: src/CMakeFiles/voxl-vision-hub.dir/main.c.o] Error 1
      /home/root/src/offboard_wps.c:44:10: fatal error: voxl_vfc_config.h: No such file or directory
       #include "voxl_vfc_config.h"
                ^~~~~~~~~~~~~~~~~~~
      compilation terminated.
      make[2]: *** [src/CMakeFiles/voxl-vision-hub.dir/build.make:345: src/CMakeFiles/voxl-vision-hub.dir/offboard_wps.c.o] Error 1
      make[1]: *** [CMakeFiles/Makefile2:155: src/CMakeFiles/voxl-vision-hub.dir/all] Error 2
      make: *** [Makefile:136: all] Error 2
      voxl-cross(4.4):~(master)(1.9.20)$
      
      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team @bendraper
        last edited by

        @bendraper Which repo are you using for the dependencies? For example: voxl-cross(4.4):~(master)(1.9.20)$ ./install_build_deps.sh qrb5165 staging

        B 1 Reply Last reply Reply Quote 0
        • B
          bendraper @Eric Katzfey
          last edited by

          @Eric-Katzfey I did not provide an argument

          Eric KatzfeyE 1 Reply Last reply Reply Quote 0
          • Eric KatzfeyE
            Eric Katzfey ModalAI Team @bendraper
            last edited by

            @bendraper If you don't provide any arguments then the command will not work and you won't get any dependencies installed.

            B 1 Reply Last reply Reply Quote 0
            • B
              bendraper @Eric Katzfey
              last edited by

              @Eric-Katzfey sorry, I was thinking of the build script. I’m using dev in accordance with the README in vision hub

              Eric KatzfeyE 1 Reply Last reply Reply Quote 0
              • Eric KatzfeyE
                Eric Katzfey ModalAI Team @bendraper
                last edited by

                @bendraper You cannot always match dev and master. Since you want to build master I would suggest using staging for you dependencies instead. Why don't you want the dev branch?

                B 1 Reply Last reply Reply Quote 0
                • B
                  bendraper @Eric Katzfey
                  last edited by

                  @Eric-Katzfey I tried staging and that ended up working. I was trying dev because voxl-vision-hub repo says to ce8dbcc9-c7a9-4767-80f1-bea728b7e875-image.png

                  Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                  • Eric KatzfeyE
                    Eric Katzfey ModalAI Team @bendraper
                    last edited by

                    @bendraper I would recommend using dev instead of master. dev is latest, master is an occasional snapshot of dev. However, dev can sometimes be broken so that's always a risk.

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      bendraper @Eric Katzfey
                      last edited by bendraper

                      @Eric-Katzfey dev seems to be broken in that case as I was getting the error

                      /home/root/src/main.c:42:10: fatal error: voxl_vfc_config.h: No such file or directory
                      
                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB | Contributors