MPC-HC VS2015编译

本文详细介绍了如何在Windows 10 64位系统上使用Visual Studio 2015编译MPC-HC。首先需要安装Git、Visual Studio 2015及相应SDK,接着配置MSYS2环境,包括安装必要的软件和设置环境变量。然后通过Git克隆MPC-HC的源码,并在Visual Studio中编译解决方案生成mpc-hc.exe。最后,可以使用Inno Setup创建安装程序。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

MPC-HC编译环境win10 64位,之前费了牛劲编译了射手影音源码splayer,愣是没有编译通过。看MPC-HC编译源码要下载配置N多库,也没有动手编译,射手影音实在编译不过,才过来编译MPC-HC,通过。编译参考的博客地址为:

https://blog.csdn.net/xiaoyafang123/article/details/82221195

先摘录一下我编译看的部分:

Compilation instructions

General Tools

First of all, install Git for Windows from https://git-for-windows.github.io/. Choose Use Git from the Windows command prompt. This isn't mandatory, so if you choose Use Git from Git Bash only make sure you set the MPCHC_GIT variable in build.user.bat.

Part A: Preparing the Visual Studio environment

Visual Studio 2017 or 2015

1.Install Visual C++, part of Visual Studio (any edition will work fine). Make sure to select Windows 8.1 SDK and MFC and ATL support during installation.
 2. Make sure you have installed all available updates from Microsoft Update
 3. Install the DirectX SDK (June 2010) → https://go.microsoft.com/fwlink/?LinkID=71193


Part B: Preparing the GCC environment

    1.Download MSYS2 from http://www.msys2.org/. If you are on a 64-bit Operating System, which you should be, get the 64-bit version.   注&

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值