更新目录 删除错误命令

This commit is contained in:
游由 2021-10-21 13:47:38 +08:00
parent 1101e6397f
commit 61d1256d41
2 changed files with 10 additions and 5 deletions

View File

@ -100,11 +100,12 @@ PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./conf
make -j6 && make install
```
# 编译opencv
# 编译opencv[^1]
```shell
# wget -DCMAKE_INSTALL_PREFIX=/usr/local/
mkdir build && cd build
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DWITH_FFMPEG=ON -DBUILD_opencv_world=ON ../
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DWITH_FFMPEG=ON ../
make -j6 && make install
```
```
[^1]: Installation in Linux https://docs.opencv.org/master/d7/d9f/tutorial_linux_install.html

View File

@ -4,4 +4,8 @@
+ [Clion配置Docker工具链](ClionDockerCentosGccToolchain.md)
+ [编译GDAL](build_gdal.md)
+ [Windows 10 基于wsl2的Docker更改Image存放位置](MoveDockerImageWindows.md)
+ [vscode 正则表达式使用技巧](VSCodeRegularExpression.md)
+ [vscode 正则表达式使用技巧](VSCodeRegularExpression.md)
+ [Android安装xapk](install_xapk.md)
+ [Windows移动Docker镜像](MoveDockerImageWindows.md)
+ [CentOS7编译FFmpeg和OpenCV](CentOS7CompileOpencvFFmpeg.md)
+ [编译C++ Boost库](CompileBoost.md)