From 0016a966944648c353b2fb35e5a88e43e2422342 Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang <1237906+wasphin@users.noreply.github.com> Date: Tue, 21 Sep 2021 21:23:39 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20Windows=20=E7=89=88=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E8=AF=B4=E6=98=8E=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Windows 版编译说明.md => Windows-版编译说明.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename Windows 版编译说明.md => Windows-版编译说明.md (95%) diff --git a/Windows 版编译说明.md b/Windows-版编译说明.md similarity index 95% rename from Windows 版编译说明.md rename to Windows-版编译说明.md index 877ac38..5d15d68 100644 --- a/Windows 版编译说明.md +++ b/Windows-版编译说明.md @@ -5,7 +5,7 @@ * `scoop`: Windows 命令行下使用的软件包安装管理工具; * `vcpkg`: 微软发起的 C++ 库管理器, 其中有大量常用开源库; -由于可以在命令行下使用, 可以非常方便的进行自动化场景. 推荐大家试用. +由于可以在命令行下使用, 可以非常方便的进行自动化集成. 推荐大家试用. **以下步骤仅在 Windows 10 下测试, 未使用其他 Windows 版本进行测试, 不保证其他 Windows 版本的可用性.** @@ -31,11 +31,11 @@ ``` iwr -useb get.scoop.sh | iex ``` -1. 为 `scoop` 添加 `extra` 软件仓库: +1. 为 `scoop` 添加 `extras` 软件仓库: ``` scoop bucket add extras ``` -1. 安装 `cmake`: +1. 安装 `cmake` 及 `ninja`: ``` scoop install cmake ninja ``` @@ -58,7 +58,7 @@ ``` 1. 编译 `openssl`: ``` - .\vcpkg\vcpkg.exe install --triplet=x64-windows-static libsrtp + .\vcpkg\vcpkg.exe install --triplet=x64-windows-static openssl ``` 1. 编译 `libsrtp`, 需要 `ENABLE_OPENSSL`, 可编辑 `C:\work\develop\vcpkg\ports\libsrtp\portfile.cmake`, 修改 `vcpkg_configure_cmake` 为如下: ```