Setup for Cross platform

asked 2019-04-02 18:01:25 -0500

I have question/issue setting up OpenCV for cross platform build. My Host is a VirtualBox running Debian, target is Snapdragon 410c board with Debian. Setup is using "aarch64-linux-gnu-g++" to build project and run on target.

Recently, I want to start the OpenCV project, so I follow "" to test on Host Linux first. For quick start (did not rebuild latest OpenCV), I installed from Debian repository $ sudo apt-get install libopencv-dev python-opencv It is working as described by tutorials.

Now, when I tried to setup Cross-Linux project with OpenCV, I having error. 1. In Eclipse, it could not find the "opencv2" /usr/include/opencv/cv.h:63:10: fatal error: opencv2/core/core_c.h: No such file or directory

  1. Where I could find the pre-build opencv library for ARM-Linux ? or procedure to install ?


edit retag flag offensive close merge delete


You may try to follow this guide: Note that you need to replace armhf to aarch64.

dkurt gravatar imagedkurt ( 2019-04-02 22:46:43 -0500 )edit