Part A: 准备Visual Studio开发环境
-------Visual Studio 2019 (or 2017)
1.安装 Visual Studio. 至少包括以下组件:
- C++ core features
- IntelliCode
- Windows Universal C Runtime
- Windows Universal CRT SDK
- C++ build tools (x86 & x64)
- C++ ATL
- C++ MFC
- Windows 10 SDK (10.0.17763.0 or 其他任何版本)
2.安装Windows 8.1 SDK → https://go.microsoft.com/fwlink/p/?LinkId=323507
- 在选择要安装哪些功能时,只需要选择"Windows Software Development Kit".
- 或者,可以使用Windows10SDK,但是生成的二进制文件至少需要Windows7SP1,因此将失去与Vista和7RTM的兼容性。
Part B: 安装 Python 3 (可选择性)
这是创建 translation DLL (翻译)文件所必需的
1.安装 Python 3.8.7 版本从https://www.python.org/downloads/release/python-387/
(可以使用 Python 3.6 或 更新版本)
2. 运行以下指令安装所需库
C:\Program Files\Python38\Scripts\pip install --upgrade polib
(个人Python环境下安装)
Part C: 准备MSYS 和 GCC 环境(可选择)
这是构建 LAV Filters(LAV滤波器)所必需的,它被MPC-HC用作内部编解码器。
通过选择“ReleaseLite”/“DebugLite”构建配置,可以跳过LAV过滤器的编译。在MPC-HC项目文件中。这对在开发过程中进行快速构建非常有用。 生成的二进制文件将缺少内部过滤器功能。