# Error when running voxl-cross image on Voxl2

Source: https://forum.modalai.com/topic/2729/error-when-running-voxl-cross-image-on-voxl2
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2023-10-06 15:01:23 UTC by martongonczy
Replies: 4 · Views: 1023

## martongonczy · 2023-10-06 15:01:23 UTC

Hi,
I am trying to run the voxl-cross image on the Voxl2 but after I push the image to the drone and try to run it I get this message.

![3e79c9c9-ca98-401c-a7f1-88c43829672c-image.png](https://forum.modalai.com/assets/uploads/files/1696604164417-3e79c9c9-ca98-401c-a7f1-88c43829672c-image.png) 

I only added a few lines to the Dockerfile (to have opencv and numpy) and changed the build command to be compatible with the target environment (linux/arm64/v8) as I had that error originally.

Does someone know what the problem could be? I cannot find any information about this on the internet.

## Reply by Eric Katzfey (ModalAI staff) · 2023-10-06 15:03:21 UTC

@martongonczy voxl-cross is a docker image you run on your host machine. It has a cross compiler to build applications to run on voxl. On voxl2 you have native compilers installed and don't need a docker.

## Reply by martongonczy · 2023-10-10 15:07:09 UTC (in reply to Eric Katzfey)

@Eric-Katzfey  Thank you for your reply.

So if I want to have OpenCV and Numpy installed on the drone I have to download it directly onto the drone without using Docker?

## Reply by Moderator (ModalAI staff) · 2023-10-10 15:29:51 UTC (in reply to martongonczy)

@martongonczy OpenCV is already installed on VOXL 2. numpy would require you to install it

## Reply by martongonczy · 2023-10-29 14:36:22 UTC (in reply to Moderator)

@Moderator thank you for your help. When I run cmake it throws an error saying that it cannot locate OpenCV, I am using 

# Find the OpenCV package
find_package(OpenCV REQUIRED)
include_directories( ${OpenCV_INCLUDE_DIRS} )

This is from the OpenCV documentation but it does not work for me. What could be the solution?
