Error when running voxl-cross image on Voxl2
-
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.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.
-
@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.
-
@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?
-
@martongonczy OpenCV is already installed on VOXL 2. numpy would require you to install it
-
@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?