Ask Your Question

Revision history [back]

Cross-compiling to banana-pi

Hi,

I want to cross-compile opencv3.2.0 to a bananapi. I tried it as well on the bananapi itself but it complains that there is not enough space.

So I am trying it from a virtualmachine which runs ubuntu. I follow this page: https://docs.opencv.org/2.4/doc/tutorials/introduction/crosscompilation/arm_crosscompile_with_cmake.html

So i have the folder from sourceforge. I made a build folder in the sourcefolder so my path looks like this: ~/Documents/opencv-3.2.0/build

Then I enter the following command: cmake -DCMAKE_TOOLCHAIN_FILE=../platforms/linux/arm-gnueabi.toolchain.cmake ../

And the error is: Cmake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.

What can I do to solve this problem. I need the .so file so that I can transfer that to the bananaPi.

Thanks