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. Support Request Format for Best Results
  4. voxl-mpa-tools build probelms

voxl-mpa-tools build probelms

Scheduled Pinned Locked Moved Support Request Format for Best Results
2 Posts 2 Posters 303 Views 1 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.
  • S Offline
    S Offline
    SKA
    Contributor
    wrote last edited by
    #1

    Hardware — voxl2 mini
    Software version — voxl-mpa-tools 1.5.6, commit b2667310161fe0e2d63741f63f5b70334cc25657
    voxl2 mini sdk 1.6.3, voxl-cross:V4.4
    I'm trying to use voxl-cross to build voxl-mpa-tools, and I am facing the following build error, after running ./install_build_deps.sh qrb5165 dev

    Found voxl-cross version: 4.4
    -- ---------------------------------------------------------
    -- Using voxl-cross 32-bit toolchain for QRB5165
    -- C Compiler     : /usr/bin/arm-linux-gnueabi-gcc-7
    -- C++ Compiler   : /usr/bin/arm-linux-gnueabi-g++-7
    -- Sysroot        : /opt/sysroots/qrb5165_1
    -- C flags        : -isystem=/usr/arm-linux-gnueabi/include -isystem=/usr/include -idirafter /usr/include -fno-stack-protector -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv4
    -- CXX flags      : -isystem=/usr/arm-linux-gnueabi/include -isystem=/usr/include -idirafter /usr/include -fno-stack-protector -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv4
    -- EXE Link Flags : -L/opt/sysroots/qrb5165_1/usr/lib32 -L/opt/sysroots/qrb5165_1/lib -L/opt/sysroots/qrb5165_1/usr/lib -L/opt/sysroots/qrb5165_1/usr/arm-linux-gnueabi -L/opt/sysroots/qrb5165_1/usr/lib/gcc-cross/arm-linux-gnueabi/7 -L/usr/lib
    -- SO Link Flags  : -L/opt/sysroots/qrb5165_1/usr/lib32 -L/opt/sysroots/qrb5165_1/lib -L/opt/sysroots/qrb5165_1/usr/lib -L/opt/sysroots/qrb5165_1/usr/arm-linux-gnueabi -L/opt/sysroots/qrb5165_1/usr/lib/gcc-cross/arm-linux-gnueabi/7 /opt/sysroots/qrb5165_1/usr/lib/gcc-cross/arm-linux-gnueabi/7/libgcc.a /opt/sysroots/qrb5165_1/usr/lib/gcc-cross/arm-linux-gnueabi/7/libgcc_eh.a /opt/sysroots/qrb5165_1/usr/lib/gcc-cross/arm-linux-gnueabi/7/libssp_nonshared.a /opt/sysroots/qrb5165_1/usr/arm-linux-gnueabi/lib/libc_nonshared.a -L/usr/lib
    -- INFO: Skipping tools
    -- Configuring done (0.0s)
    -- Generating done (0.0s)
    -- Build files have been written to: /home/root/build32
    [ 50%] Building C object lib/CMakeFiles/voxl_common_config.dir/voxl_common_config.c.o
    [100%] Linking C shared library libvoxl_common_config.so
    [100%] Built target voxl_common_config
    -- ---------------------------------------------------------
    -- 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
    -- EN_ION_BUF enabled
    -- INFO: Building tools
    -- Configuring done (0.0s)
    -- Generating done (0.1s)
    -- Build files have been written to: /home/root/build64
    [  2%] Building C object tools/CMakeFiles/voxl-inspect-cam.dir/voxl-inspect-cam.c.o
    [  4%] Building C object lib/CMakeFiles/voxl_common_config.dir/voxl_common_config.c.o
    [  6%] Building C object tools/CMakeFiles/voxl-inspect-battery.dir/voxl-inspect-battery.c.o
    [  8%] Building CXX object tools/CMakeFiles/voxl-check-camera-repetition.dir/voxl-check-camera-repetition.cpp.o
    [ 10%] Building C object tools/CMakeFiles/voxl-inspect-gps.dir/voxl-inspect-gps.c.o
    [ 12%] Building C object tools/CMakeFiles/voxl-inspect-vio.dir/voxl-inspect-vio.c.o
    [ 14%] Building CXX object tools/CMakeFiles/voxl-inspect-cam-ascii.dir/voxl-inspect-cam-ascii.cpp.o
    [ 17%] Building C object tools/CMakeFiles/voxl-inspect-vibration.dir/voxl-inspect-vibration.c.o
    [ 19%] Building C object tools/CMakeFiles/voxl-inspect-imu.dir/voxl-inspect-imu.c.o
    [ 21%] Building C object tools/CMakeFiles/voxl-inspect-points.dir/voxl-inspect-points.c.o
    [ 23%] Building C object tools/CMakeFiles/voxl-inspect-tof.dir/voxl-inspect-tof.c.o
    [ 25%] Building CXX object tools/CMakeFiles/voxl-record-video.dir/voxl-record-video.cpp.o
    [ 27%] Building C object tools/CMakeFiles/voxl-inspect-ion-stream.dir/voxl-inspect-ion-stream.c.o
    [ 29%] Building C object tools/CMakeFiles/voxl-inspect-detections.dir/voxl-inspect-detections.c.o
    [ 31%] Building C object tools/CMakeFiles/voxl-integrate-gyro-3d.dir/voxl-integrate-gyro-3d.c.o
    [ 34%] Building C object tools/CMakeFiles/voxl-record-raw-image.dir/voxl-record-raw-image.c.o
    [ 36%] Building C object tools/CMakeFiles/voxl-inspect-baro.dir/voxl-inspect-baro.c.o
    [ 38%] Building C object tools/CMakeFiles/voxl-inspect-mavlink.dir/voxl-inspect-mavlink.c.o
    [ 40%] Building C object tools/CMakeFiles/voxl-kill-pipe.dir/voxl-kill-pipe.c.o
    [ 42%] Building C object tools/CMakeFiles/voxl-inspect-osd.dir/voxl-inspect-osd.c.o
    [ 46%] Building C object tools/CMakeFiles/voxl-inspect-mavlink.dir/mavlink_id_to_string.c.o
    [ 46%] Building C object tools/CMakeFiles/voxl-inspect-pose.dir/voxl-inspect-pose.c.o
    [ 48%] Linking C executable voxl-record-raw-image
    [ 53%] Linking C executable voxl-kill-pipe
    [ 53%] Linking C executable voxl-inspect-osd
    [ 55%] Linking C executable voxl-inspect-vio
    [ 57%] Linking C executable voxl-inspect-points
    [ 59%] Linking C executable voxl-inspect-tof
    [ 61%] Linking C executable voxl-integrate-gyro-3d
    [ 63%] Linking C executable voxl-inspect-vibration
    [ 65%] Linking C executable voxl-inspect-baro
    [ 70%] Linking C executable voxl-inspect-ion-stream
    [ 70%] Linking C executable voxl-inspect-detections
    [ 72%] Linking C executable voxl-inspect-cam
    [ 74%] Linking C executable voxl-inspect-pose
    [ 76%] Linking C executable voxl-inspect-imu
    [ 76%] Built target voxl-record-raw-image
    [ 76%] Built target voxl-inspect-tof
    [ 76%] Built target voxl-inspect-points
    [ 76%] Built target voxl-inspect-vibration
    [ 76%] Built target voxl-inspect-vio
    [ 76%] Built target voxl-inspect-imu
    [ 76%] Built target voxl-inspect-detections
    [ 76%] Built target voxl-inspect-cam
    [ 76%] Built target voxl-integrate-gyro-3d
    [ 76%] Built target voxl-inspect-baro
    [ 76%] Built target voxl-kill-pipe
    [ 76%] Built target voxl-inspect-ion-stream
    [ 76%] Built target voxl-inspect-osd
    [ 76%] Built target voxl-inspect-pose
    [ 78%] Linking C shared library libvoxl_common_config.so
    [ 78%] Built target voxl_common_config
    [ 80%] Building C object tools/CMakeFiles/voxl-inspect-extrinsics.dir/voxl-inspect-extrinsics.c.o
    [ 82%] Building C object tools/CMakeFiles/voxl-inspect-vio-cams.dir/voxl-inspect-vio-cams.c.o
    [ 85%] Linking C executable voxl-inspect-vio-cams
    [ 87%] Linking C executable voxl-inspect-extrinsics
    [ 89%] Linking CXX executable voxl-check-camera-repetition
    [ 89%] Built target voxl-inspect-vio-cams
    [ 89%] Built target voxl-inspect-extrinsics
    [ 91%] Linking C executable voxl-inspect-battery
    [ 93%] Linking C executable voxl-inspect-gps
    [ 93%] Built target voxl-inspect-battery
    [ 93%] Built target voxl-check-camera-repetition
    [ 93%] Built target voxl-inspect-gps
    [ 95%] Linking C executable voxl-inspect-mavlink
    /home/root/tools/voxl-record-video.cpp:114:1: error: could not convert '{1280, 800, HAL_PIXEL_FORMAT_YCBCR_420_888, 30, 4, 38, 15, 50, 29, 2.0e+0, 0, H265, VENC_CONTROL_CBR}' from '<brace-enclosed initializer list>' to 'VideoEncoderConfig'
     };
     ^
    [ 95%] Built target voxl-inspect-mavlink
    make[2]: *** [tools/CMakeFiles/voxl-record-video.dir/build.make:79: tools/CMakeFiles/voxl-record-video.dir/voxl-record-video.cpp.o] Error 1
    make[1]: *** [CMakeFiles/Makefile2:750: tools/CMakeFiles/voxl-record-video.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    [ 97%] Linking CXX executable voxl-inspect-cam-ascii
    [ 97%] Built target voxl-inspect-cam-ascii
    make: *** [Makefile:136: all] Error 2
    
    1 Reply Last reply
    0
    • Eric KatzfeyE Offline
      Eric KatzfeyE Offline
      Eric Katzfey
      ModalAI Team
      wrote last edited by
      #2

      Yes, unfortunately some of the dependencies have changed. Can you checkout tag sdk-1.6.4-1 of voxl-mpa-tools and then in the docker ./install_build_deps.sh qrb5165 sdk-1.6. That should work.

      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