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

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. voxl_vision_hub.h missing

voxl_vision_hub.h missing

Scheduled Pinned Locked Moved Software Development
2 Posts 2 Posters 515 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

      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