ARM cross compiler version of OpenCV

  • Dependent libraries
apt -y install gcc-aarch64-linux-gnu
apt -y install g++-aarch64-linux-gnu

apt -y install cmake-qt-gui
  • Download OpenCV

slightly.

  • Run cmake-gui
cmake-gui &
  • Directory Settings

One is the source directory, a directory is output. Note catalog build_arm, after compiling use.

Hook BUILD_JPEG and BUILD_JNP.

If you want to clear the previous settings, you can click: Menu, File, Delete Cache.

  • Configure

Click the Configure button

Next:

 Target Root is said to include, you can easily set up.

OK, it will run for a while.

  • Generate

Click the Generate button.

  • Compile
cd build_arm

make

make install

 

Released 2631 original articles · won praise 342 · Views 2.06 million +

Guess you like

Origin blog.csdn.net/quantum7/article/details/105091507