AnsweredAssumed Answered

Cross Compile Opencv

Question asked by Trend Antenna on Nov 25, 2013
Latest reply on Mar 1, 2014 by Andre Silva

Hello everyone,


I'm trying to cross-compile an example of OpenCV 2.4.3 executing this:

     arm-linux-gnueabi-g++ main.cpp -o test1 `pkg-config opencv --libs` `pkg-config opencv --cflags`.

It returns the following error:

     /usr/local/lib/ could not read symbols: File in wrong format

     collect2: ld returned 1 exit status


I already got the OpenCV libs compiled for ARM, and I'm using a wandoboard.