Skip to content

Commit

Permalink
增加make
Browse files Browse the repository at this point in the history
  • Loading branch information
asmcos committed Aug 24, 2024
1 parent f5182ed commit de3206f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ch3-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,13 @@ set(CMAKE_FIND_ROOT_PATH "${CMAKE_SYSROOT}")
starry/python-lab/build/opencv$ mkdir build install
```

编译
生成编译环境
```
starry/python-lab/build/opencv/build$ cmake -DCMAKE_TOOLCHAIN_FILE=../aarch64_musl.cmake -DBUILD_SHARED_LIBS=OFF -DINSTALL_TESTS=ON -DOPENCV_ENABLE_NONFREE=ON ..
```

编译
```
make -j16
```

0 comments on commit de3206f

Please sign in to comment.