How to compile an opencv c++ code using linaro arm-gcc cross-compiler

asked 2019-12-09 14:22:54 -0500

TakiEddine gravatar image

I'm trying to cross-compile a simple OpenCV 4.1.2 code found in https://jeanvitor.com/installing-cpp-... from windows to embedded ARM Linux. For this purpose, I built the OpenCV libraries with CMAKE using "arm-gnueabi.toolchain.cmake" as cross-compilation toolchain file. In my Windows pc I'm using "arm-linux-gnueabihf " toolchain with Eclipse. browsing the lib folder I have the following content image description

I have three version of each library and I'm not sure which one to include in my project. After building the project I had the following error

 fatal error: no input files

My question is am I right in building the libraries for Linux while I'm trying to cross-compile them from windows, and what are the possible reasons for the reported error ? Here is an image of the project tree image description

edit retag flag offensive close merge delete