Update _index.zh-cn.md

Updated the VCPKG installation mode
This commit is contained in:
wwjabc 2022-05-18 15:47:50 +08:00 committed by GitHub
parent a7d31cacbe
commit e1d57ccbf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,16 +57,14 @@ g++ has <ext/stdio_filebuf.h>
### 安装依赖项 ### 安装依赖项
```sh ```sh
sudo apt install -y g++ gcc git curl wget nasm yasm libgtk-3-dev clang libxcb-randr0-dev libxdo-dev libxfixes-dev libxcb-shape0-dev libxcb-xfixes0-dev libasound2-dev libpulse-dev sudo apt install -y g++ gcc git curl wget nasm yasm libgtk-3-dev clang libxcb-randr0-dev libxdo-dev libxfixes-dev libxcb-shape0-dev libxcb-xfixes0-dev libasound2-dev libpulse-dev ninja-build
``` ```
### 安装 vcpkg ### 安装 vcpkg
```sh ```sh
git clone https://github.com/microsoft/vcpkg tar zxmf vcpkg-2020.11.tar.gz
cd vcpkg mv vcpkg-2020.11 vcpkg
git checkout 2024.12.01
cd ..
vcpkg/bootstrap-vcpkg.sh vcpkg/bootstrap-vcpkg.sh
export VCPKG_ROOT=$HOME/vcpkg export VCPKG_ROOT=$HOME/vcpkg
vcpkg/vcpkg install libyuv vcpkg/vcpkg install libyuv