Setup for Cross platform

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

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 "https://docs.opencv.org/2.4.13.7/doc/..." 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 ?

Thanks

edit retag flag offensive close merge delete

Comments

You may try to follow this guide: https://github.com/opencv/opencv/wiki.... Note that you need to replace armhf to aarch64.

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