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