Cross compiling opencv for BBB

Hi everybody,

I am trying to cross compile opencv for Beagle Bone Black in Ubuntu 16.04 Host machine(x86_64).

I am referring
http://docs.opencv.org/2.4/doc/tutorials/introduction/crosscompilation/arm_crosscompile_with_cmake.html and
https://indranilsinharoy.com/2012/11/01/installing-opencv-on-linux/ for this
The cmake options are as shown below.

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_ZLIB=ON -D BUILD_PYTHON_SUPPORT=ON -D CMAKE_TOOLCHAIN_FILE=/home/sajeevank/opencv-3.2.0/platforms/linux/arm-gnueabi.toolchain.cmake /home/sajeevank/opencv-3.2.0

The configuration output is as given below.

– GUI:
– QT: NO
– GTK+: NO
– GThread : NO
– GtkGlExt: NO
– OpenGL support: NO
– VTK support: NO