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. 注&

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

被折叠的 条评论
为什么被折叠?



