- 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