Cross-compiling to banana-pi

asked 2018-09-26 04:58:15 -0600

tysie gravatar image

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/tutor...

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

edit retag flag offensive close merge delete

Comments

1
  • 3.2.0 -- why bother trying with an outdated version ?
  • please userecent docs , not 2.4
  • "Cmake Error: CMake was unable to find a build program corresponding" -- try to type make on the cmdline. if that does not work, your gcc is not setup correctly.
berak gravatar imageberak ( 2018-09-26 05:25:38 -0600 )edit

I had problems with java and the newest version so I still use the older one without problems

tysie gravatar imagetysie ( 2018-09-26 06:10:00 -0600 )edit

the recent docs are the same as the one i attached

tysie gravatar imagetysie ( 2018-09-26 06:10:15 -0600 )edit
1

make tells me no targets specified and no makefile found

tysie gravatar imagetysie ( 2018-09-26 06:10:32 -0600 )edit