# Create VOXL package that requires both MAVSDK and libmodal_pipe

Source: https://forum.modalai.com/topic/2650/create-voxl-package-that-requires-both-mavsdk-and-libmodal_pipe
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2023-09-13 08:28:18 UTC by kerct
Replies: 0 · Views: 452

## kerct · 2023-09-13 08:28:18 UTC

I am able to separately 
1. Setup MAVSDK on VOXL2 by following the MAVSDK examples https://mavsdk.mavlink.io/main/en/cpp/examples/ (by building and running the code on VOXL2)
2. Create a VOXL package by trying the voxl-cross-template and libmodal_pipe examples (making a deb package in voxl-cross docker before deploying it to VOXL2)

How can combine these to create a VOXL package that uses both MAVSDK and libmodal_pipe? I tried to follow the same steps when creating a VOXL package but am unable to build the project after installing build dependencies. How should I import MAVSDK for a VOXL package?

This is what I wrote in my CMakeList
![4159bf77-636b-4a25-a96e-91349efc89e5-image.png](https://forum.modalai.com/assets/uploads/files/1694592955186-4159bf77-636b-4a25-a96e-91349efc89e5-image.png) 

and this is the error I'm getting
![197b0da0-cb5a-4f45-a829-9da0e7b8abab-image.png](https://forum.modalai.com/assets/uploads/files/1694593036787-197b0da0-cb5a-4f45-a829-9da0e7b8abab-image.png) 

I also tried to follow the instructions here https://gitlab.com/voxl-public/voxl-docker-images/voxl-docker-mavsdk but I'm unable to build the image 
![b3157332-a2ae-432d-b7ac-d09ae62948fc-image.png](https://forum.modalai.com/assets/uploads/files/1694593149244-b3157332-a2ae-432d-b7ac-d09ae62948fc-image.png)
