Ask Your Question

Revision history [back]

Running opencv application on ARM

Hi,

I have cross compile the opencv for ARM as per the given procedure in link. I have copied the libraries .so and header files from build/install/ to ARM file system /usr/lib and /usr/include Now i want to write a application to simply read a image and display it. \ I have build that application with below command from my ubuntu machine

arm-linux-gnueabihf-g++-4.6 Image_read.cpp -I ../opencv_make/install/include/ ../opencv_make/lib/libopencv_calib3d.so ../opencv_make/lib/libopencv_contrib.so ../opencv_make/lib/libopencv_core.so ../opencv_make/lib/libopencv_features2d.so ../opencv_make/lib/libopencv_flann.so ../opencv_make/lib/libopencv_gpu.so ../opencv_make/lib/libopencv_highgui.so ../opencv_make/lib/libopencv_imgproc.so ../opencv_make/lib/libopencv_legacy.so ../opencv_make/lib/libopencv_ml.so ../opencv_make/lib/libopencv_objdetect.so ../opencv_make/lib/libopencv_ocl.so ../opencv_make/lib/libopencv_photo.so ../opencv_make/lib/libopencv_stitching.so ../opencv_make/lib/libopencv_superres.so

When i tried to run this application on ARM i got following error. root@dm814x-evm:~/sample_app_arm# ./a.out -sh: ./a.out: not found root@dm814x-evm:~/sample_app_arm#

as a.out is in the local folder and it is having executable permissions also..?

Please help me in this scenario, i am perfectly stuck here. Thanks in advance.

Regards Tushar