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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL SDK and Software
  3. voxl_vision_hub.h missing

voxl_vision_hub.h missing

Scheduled Pinned Locked Moved Unsolved VOXL SDK and Software
2 Posts 2 Posters 557 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.
  • TjarkT Offline
    TjarkT Offline
    Tjark
    Contributor
    wrote on last edited by
    #1

    I installed SDK 1.0.0 on a VOXL2 and during compiling of our own code I get the following error:

    fatal error: voxl_vision_hub.h: No such file or directory
     #include <voxl_vision_hub.h>
              ^~~~~~~~~~~~~~~~~~~
    compilation terminated.
    

    I checked the folder /usr/include/ and the file is missing over there:

    voxl2:~$ ls /usr/include/voxl_*
    /usr/include/voxl_common_config.h  /usr/include/voxl_imu_server.h  /usr/include/voxl_qvio_server.h                 /usr/include/voxl_vision_px4.h
    /usr/include/voxl_cutils.h         /usr/include/voxl_io.h          /usr/include/voxl_slpi_uart_bridge_interface.h
    
    /usr/include/voxl_io:
    i2c.h  other.h  spi.h
    
    /usr/include/voxl_trajectory:
    setpoint_position.h  trajectory_evaluation.h  trajectory_interface.h  trajectory_protocol.h  trajectory_utils.h  voxl_trajectory.h
    

    I believe this is caused because the new header file is not set as public header in this file: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-vision-hub/-/blob/master/src/CMakeLists.txt#L32

    I would expect that when that is changed to

    set_target_properties(voxl-vision-hub PROPERTIES PUBLIC_HEADER "../include/voxl_vision_px4.h;../include/voxl_vision_hub.h")
    

    it will work.

    Is that correct?

    James StrawsonJ 1 Reply Last reply
    0
    • TjarkT Tjark

      I installed SDK 1.0.0 on a VOXL2 and during compiling of our own code I get the following error:

      fatal error: voxl_vision_hub.h: No such file or directory
       #include <voxl_vision_hub.h>
                ^~~~~~~~~~~~~~~~~~~
      compilation terminated.
      

      I checked the folder /usr/include/ and the file is missing over there:

      voxl2:~$ ls /usr/include/voxl_*
      /usr/include/voxl_common_config.h  /usr/include/voxl_imu_server.h  /usr/include/voxl_qvio_server.h                 /usr/include/voxl_vision_px4.h
      /usr/include/voxl_cutils.h         /usr/include/voxl_io.h          /usr/include/voxl_slpi_uart_bridge_interface.h
      
      /usr/include/voxl_io:
      i2c.h  other.h  spi.h
      
      /usr/include/voxl_trajectory:
      setpoint_position.h  trajectory_evaluation.h  trajectory_interface.h  trajectory_protocol.h  trajectory_utils.h  voxl_trajectory.h
      

      I believe this is caused because the new header file is not set as public header in this file: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-vision-hub/-/blob/master/src/CMakeLists.txt#L32

      I would expect that when that is changed to

      set_target_properties(voxl-vision-hub PROPERTIES PUBLIC_HEADER "../include/voxl_vision_px4.h;../include/voxl_vision_hub.h")
      

      it will work.

      Is that correct?

      James StrawsonJ Offline
      James StrawsonJ Offline
      James Strawson
      ModalAI Team
      wrote on last edited by James Strawson
      #2

      @Tjark

      Thanks for pointing this out! I applied your fix in voxl-vision-hub v1.6.7 which is now up on the staging repository and will be included in SDK 1.0.1

      Best Regards,
      James

      1 Reply Last reply
      0

      Reading along? Create a free ModalAI Forum account to join in.

      With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

      Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

      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

      • Don't have an account? Register

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