I'm trying to cross-compile a simple OpenCV 4.1.2 code found in https://jeanvitor.com/installing-cpp-opencv-3-2/ 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
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