cross compiling opencv - /usr/local/lib/libopencv_core.so: file not recognized: File format not recognized
I am trying to get cross compiling to work on ubuntu. error: **make all Building target: aaaaa Invoking: Cross G++ Linker arm-linux-gnueabihf-g++ -L/usr/local/lib -L/usr/lib -o "aaaaa" ./aaaaa.o -lopencv_core /usr/local/lib/libopencv_core.so: file not recognized: File format not recognized collect2: error: ld returned 1 exit status
make: * [aaaaa] Error 1
blabla@ubuntu:/usr/local/lib$ file libopencv_core.so libopencv_core.so: symbolic link to `/usr/local/lib/libopencv_core.so.2.4'
Have no idea why it is not working :(
someone???