MPC 编译
来源:互联网 发布:幻城网络剧原声带 编辑:程序博客网 时间:2024/05/26 08:41
For up to date instructions on how to compile mpc-hc visit the wiki page:https://trac.mpc-hc.org/wiki/How_to_compile_the_MPCPart A: Preparing the Visual Studio environmentVisual Studio 20131. Install Visual C++ 2013, part of Visual Studio 2013 Professional (Express won't work, other editions work fine)2. Make sure you install all available updates from Microsoft Update3. Install the DirectX SDK (June 2010) -> http://go.microsoft.com/fwlink/?LinkID=71193Part B: Preparing the GCC environmentNOTES:* If you installed the MSYS/MinGW package in an other directory you will have to use that path in the following steps.* If you don't have Git installed then the revision number will be a hard-coded one, like 1.6.3.0.1. Download and extract MSYS_MinGW-w64_GCC_482_x86-x64.7z to "C:\MSYS" -> http://xhmikosr.1f0.de/tools/MSYS_MinGW-w64_GCC_482_x86-x64.7zFor the components and their version see: http://xhmikosr.1f0.de/tools/MSYS_MinGW-w64_GCC_482_x86-x64_components.txt2. Edit the "fstab" file in "C:\MSYS\etc" to specify your MinGW path. This is optional.Add this to it: C:\MSYS\mingw\mingwNote the tab-space between "mingw" and "\mingw"3. Create a file named "build.user.bat" in "C:\mpc-hc" containing the following entries, adapted for your system:@ECHO OFFSET "MPCHC_MSYS=C:\MSYS"SET "MPCHC_MINGW32=%MPCHC_MSYS%\mingw"SET "MPCHC_MINGW64=%MPCHC_MINGW32%"REM Git is optional to set if you chose to add it in PATH when installing itSET "MPCHC_GIT=C:\Program Files (x86)\Git"REM Optional, if you plan to modify the translations, install Python 2.7 or set the variable to its pathSET "MPCHC_PYTHON=C:\Python27"Part C: Downloading and compiling the MPC-HC source1. Use Git to clone MPC-HC's repository to "C:\mpc-hc" (or anywhere else you like)Download Git from https://github.com/msysgit/msysgit/releases/download/Git-1.9.2-preview20140411/Git-1.9.2-preview20140411.exeRun:git clone --recursive https://github.com/mpc-hc/mpc-hc.gitorgit clone https://github.com/mpc-hc/mpc-hc.gitgit submodule update --init --recursiveIf a submodule update fails, try running:git submodule foreach --recursive git fetch --tagsthen run the update againgit submodule update --init --recursive2. Open the solution file "C:\mpc-hc\mpc-hc.sln"Change the solution's configuration to "Release" (in the toolbar).3. Press F7 to build the solution.4. You now have "mpc-hc.exe" under "C:\mpc-hc\bin\mpc-hc_x86"5. Open the solution file "C:\mpc-hc\mpciconlib.sln"6. Press F7 to build the solution.7. You now have "mpciconlib.dll" under "C:\mpc-hc\bin\mpc-hc_x86"8. Open the solution file "C:\mpc-hc\mpcresources.sln"In Visual Studio go to Build->Batch Build->Press Select All->Press Build9. You now have "mpcresources.XX.dll" under "C:\mpc-hc\bin\mpc-hc_x86\Lang"Alternatively, you can use "build.bat" which can build everything for you(run: build.bat help for more info)Part D: Building the installerDownload Inno Setup Unicode v5.5.4 or newer from: http://www.jrsoftware.org/isdl.phpInstall everything and then go to "C:\mpc-hc\distrib", open "mpc-hc_setup.iss" with Inno Setup,read the first comments in the script and compile it.Notes:* "build.bat" can build the installer by using the "installer" or the "packages" switch.* Use Inno Setup's built-in IDE if you want to edit the iss file.
0 0
- MPC 编译
- mpc 编译
- MPC 编译成功
- MPC编译过程
- 编译MPC-HC
- mpc-hc 编译
- 编译Meida Player Classic(MPC)
- mpc-hc的编译说明
- 用VS2015编译MPC-HC
- 用VS2015编译MPC-BE
- MPC
- 如何编译Meida Player Classic(MPC)
- 自编译MPC-HC简易教程
- mpc-hc win10x64编译x86版本
- MPC-HC在windows10上VS2013编译
- 自己动手编译播放器MPC-HC的源码
- 用最新的Windows SDK + DirectX SDK 编译MPC-HC
- VC2010 编译 Media Player Classic - Home Cinema (mpc-hc)
- Queue的一般用法
- java服务器搭建(二)数据库连接
- 程序员面试智力题 (5)
- (java)利用BASE64编码和解码图片文件
- crm2011的字段类型
- MPC 编译
- OSPF数据包类型
- 回溯法-01背包问题之一:递归模式
- Mysql 查看、创建、更改 数据库和表
- Boyer-Moore算法的一个C++版本
- 第二十八题 在O(1)时间内删除指定节点
- 数据库完整性和约束
- unit Test HttpContext.单元测试,模拟HttpContext
- 分布式服务框架 Zookeeper -- 管理分布式环境中的数据