1 | initial version |
Hi All,
I got some solution for this,
Working environment is Linux Ubuntu 14.04
Export the cross toolchain paths . export PATH=$PATH:../toolchain/bin/
Now run cmake to generate the make file cmake -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake ../opencv-2.4.10
2 | No.2 Revision |
Hi All,
I got some solution for this,
Working environment is Linux Ubuntu 14.04
Export the cross toolchain paths . export PATH=$PATH:../toolchain/bin/
Now run cmake to generate the make file
cmake -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake ../opencv-2.4.10../opencv_folder_path
9.Do following steps to configure the components . ccmake . disable ffmpeg here if it is not installed in your system.
Now build the libraries for ARM using make make
Do make install make install.
Done we have build the libraries for ARM. Newly build libraries will be now in build/install/include & build/install/lib
Now copy the cross build libraries to your arm file system to /usr/lib and header files to /usr/include
Write a simple code using opencv like rgb_to_grey conversion. build it and now you can run it on ARM.
just before running cross build binary on ARM export library path as follows LD_LIBRARY_PATH = $LD_LIBRARY_PATH:/usr/lib
Done you have done